On Jan 9, 2006, at 12:50 PM, Jonathon Bevar wrote:
Thanks as now I do understand what is going on, but that leaves me
with yet another question. How do I change their control order
number?
The Main Tab Control is CON(Control Order Number) 1
The 1st GroupBox is CON18 in Tab1, but the the rest of the edit
fields are between CON34 - CON136. This one will work fine.
The 2nd GroupBox is CON58 in Tab2, but the the rest of the edit
fields are between CON59 - CON108. This one will NOT work.
The 3rd GroupBox is CON109 in Tab3, but the the rest of the edit
fields are between CON110 - CON120. This one will NOT work..
Ok, with this info, it looks like the CON's are all over the place.
Do I need to change the CON numbers to make all of the GroupBox the
lowest numbers?
I think that it is hidden by default, but there is an option to "Show/
Hide Control Order" in the same toolbar with the "Backward" and
"Forward" buttons. Go to customize if you do not see it. Once you
enable the control order display, you adjust the control order by
clicking the "Backward" and "Forward" buttons. If you want to move a
group of controls, then you can select them all and click one of the
buttons.
The general rule about control order is that it goes from Top-Left to
Bottom-Right. The only real reason this is true is because when you
Tab between the controls, the app will follow the order defined by
the control order. Try putting a bunch of Editfields on the Window
with "random" control order and run the project... tabbing between
the controls will be all messed up.
When dealing with TabPanel or PagePanels... you generally want to
make each panel start with the next available index. For example, if
you have 5 controls on each panel and 3 panels, the PagePanel would
be control 0, the first control at the top-left of page 0 would be
control 1 ending with control 5, the second panel would start with
control 6 and end with control 10, and the last panel would have
control 11 to 15.
These are just general rules that are good to follow. The only "must-
follow" rule is that a parent must have a lower control value than
the children. As you can see in the example above the PagePanel had
a control value of 0; but if one of the other controls was sent to
the back, it would be lower than the PagePanel and would no longer be
visible on any page.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>