General information
Category:
Forms & Form designer
Title:
Setting focus to first object in form.
Hi,
A form class has two properties: cFirstControl and oFirstControl. The first one has the name and the second one a reference to the control that gets focus when we add record to table.
Desired behavior:
1) In Form init, if cFirstControl is name of a valid control, load a reference to it in oFirstControl. Otherwise, load a reference to the first object in tab order that makes sense (no labels, for example).
2) As we navigate in table, if oFirstControl is disabled or otherwise unavailable, focus should go to next object that makes sense in tab order.
TIA,
Alex
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only