>
> How do I set the focus to the first object in a form since I don't know
> it's name?
> (I need to find the item with the tabindex properti = 1).
> Some days before, a solution for this problem was showed in this forum, but
> I actually
> don't remember the name of the programmer; I downloaded the program but it
> didn't work
> properly.
> Any help Would be appreciated.
In form's init add a property .firstobj
in the .load (or .guienable) of the objects (best on class level) just
do
if this.tabindex=1
thisform.firstobj=this
endif
Further on, the first object may be referenced as thisform.firstobj