Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help:Forms and Pageframes
Message
From
28/07/1999 10:25:38
 
 
To
28/07/1999 10:21:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00247124
Message ID:
00247132
Views:
19
And here is some cool code from Mark Mccasland:
for i = 1 to This.ControlCount
   if This.Controls(i).TabIndex = 1
      This.Controls(i).SetFocus()
      Exit
   endif
endfor
Although you might want to do some playing around to make sure there's only one tabindex = 1 on your form, or change it so it sets focus to the lowest tabindex instead of the one with 1.

>.activate()
>I routinely put
>thisform.lockscreen = .t.
>thisform.refresh
>thisform.lockscreen = .f.
>in it
>
>
>>I am trying to find the event/method within the Pages of a Pageframe that fires each time the tab/Page of the pageframe. Any suggestions
>>
>>Thanks in advance.
>>Brian
--Todd Sherman
-Wake Up! Smell the Coffee!
Previous
Reply
Map
View

Click here to load this message in the networking platform