Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Tab order, z-order, and the picture control
I am asking for help in two areas.
1. I want to be able to put controls on top of an SRP Picture Control. Much like using it as a Group Box, and have the Picture Control never get focus. This is my main goal.
What are the basic steps for doing this?
In the process of trying to figure out how to do that I got all confused with OI and Z-Order or what is on top of what.
2. Understand how OI establishes Z-Order.
Can someone explain how Tab order in the form designer affects Z-Order if at all?
Does the order in which you set properties of Controls effect Z-Order?
I am aware of SET_ZORDER but it seems that no matter what I do something is giving the Picture Control focus or puts it on top of everything else.
Thanks
1. I want to be able to put controls on top of an SRP Picture Control. Much like using it as a Group Box, and have the Picture Control never get focus. This is my main goal.
What are the basic steps for doing this?
In the process of trying to figure out how to do that I got all confused with OI and Z-Order or what is on top of what.
2. Understand how OI establishes Z-Order.
Can someone explain how Tab order in the form designer affects Z-Order if at all?
Does the order in which you set properties of Controls effect Z-Order?
I am aware of SET_ZORDER but it seems that no matter what I do something is giving the Picture Control focus or puts it on top of everything else.
Thanks
Comments
2. I don't believe there is any official information about this, but I believe tab order and z-order are related.
2. I guess this becomes irrelevant if you can't layer OLE controls. Might be why I couldn't really find any info on it or get to work.
As always thanks for taking the time Don
For example, have one as a background and then a smaller one in the foreground.
Are there plans to support SVG image formats?
The only vector file format we support is WMF or EMF. Supporting SVG isn't as simple as just loading it into memory since it is actually a set of drawing instructions.
After 10 years in an industry that mocked you for your ignorance you tend to be more cautious. But that is a conversation for elsewhere.
Sorta Back on topic
This is more or less where I am headed, I know it will change as I get closer.
I was trying to avoid making larger multi frame images if I didn't need to. I know it can't be done the way I was trying.
What I was trying to do was put the Blue Glow in the background with a PictureControl and then a ButtonControl on top of that. The Button had a small image in it and then a CaptionList . Then I was going to do the rest of the effects with the button control. In the picture "Work Orders" would be the one with focus.
Is there another way to do this or is my best bet multi frame images?
Don your point has been made :) for now on I will make sure to give more detail of my end goal.
I have tried this and I just get a black box.
Background = "" Background<1> = "D:\Brian\Revsoft\OInsight\BMPS\RW\WelcomButtonStates\BT_Rest.png" Set_Property(CtrlEntId, "OLE.Background", Background)
Buttons do allow you to use an image, but you have to set the Style to "Custom" and then the Icon property image will be used for ALL states of the button. So, it's not ideal.