Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need Help to set the focus to the first item in a form
Message
From
13/06/1997 09:39:09
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
09/06/1997 20:10:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00035734
Message ID:
00036242
Views:
35
> > 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

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform