>Learned in VFP6 to avoid using "Bring to Front" and "Send to Back" on forms as it plays havoc with the TabOrder of controls on a form. The ZOrder property values implicitly cause some "shuffling" of the controls on the form, which then could affect the TabOrder (and the "shuffling" could occur each time you load and save the form). The "fix" was to open the SCX/SCT as a table and remove all the ZOrder directives in the Properties column, then edit the form and cut/paste the controls to proper z-order.
Toolbar does not use TabOrder - no item on a Toolbar could be Activated or follow TAB. Wizzard is disabled.
ZORDER on design time defines:
- order of creating the PEM's (lowest ZORDER first) and destroying in reverse order.
- this is important for Dataenvironment, they will be opend in that order too
- by that, lowest ZORDER will be painted first.
- the order of records in VCS / SCX or PEMS added to the class / form.
At least on VFP 9, I see no problem. In case of, one must set TABORDER again.
It is odd while changing TABORDER with the property sheet and create holes in the order - but somehow the poor prog must decide.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]