Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setfocus to the first control
Message
 
To
11/07/1999 15:12:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00239958
Message ID:
00240000
Views:
8
Antonio,

Just drill into the pageframe, you will have to figure some of this out for yourself.
FOR EACH oCont IN Thisform.Controls
   IF oCont.Baseclass = "Pageframe"
      FOR EACH Ctrl IN oCont.Page1.Controls
         IF Ctrl.TabIndex = 1
            Ctrl.SetFocus()
            EXIT
         ENDIF
      ENDFOR 
      EXIT
   ENDIF
ENDFOR
Previous
Reply
Map
View

Click here to load this message in the networking platform