Rectangle - Option Button Z/Order seem reversed

Started by Jim Short, March 20, 2009, 06:46:15 AM

Previous topic - Next topic

Jim Short

Place a Tab Strip on a Control Bar
Place a red rectangle on a Tab page
Place an Option Button in the center of rectangle
Note that option button will be behind the rectangle in studio when it is on top.
Its visible when rectangle is on top.

Show the control bar in AutoCAD.
Button respects Z/Order as expected.
5RC3
Jim Short

owenwengerd

This is the same problem that is at the root of most of the reported repainting bugs: there is no way in Windows to control the window painting order of overlapping controls.
Owen Wengerd (Outside The Box) / ManuSoft

Jim Short

Does that mean a difference may occur between Studio and runtime, or that sometimes runtime will display one way or the other?
In the first case overlapping controls can work reliably though inconvenient at design time, and in the second case not work period.
Jim Short

Fred Tomke

Hi Jim,
From my experiences I can say that the display order of the runtime will always be that what you've arranged in the studio before. The OpenDCL Studio sometimes does not reflect the right display order you've arranged in the z/tab order pane.

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

owenwengerd

The runtime should be reliably correct, but in studio the controls have to be displayed "nested" inside a disabled window so they are not interactive, which is what causes the problem.
Owen Wengerd (Outside The Box) / ManuSoft

Jim Short

I am happy!

Hey Fred , did you look at the get descendants routine?

Jim
Jim Short