Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select first field on a page
Message
De
03/08/1999 18:59:52
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00249484
Message ID:
00249490
Vues:
28
Try putting the following code in your activate event.
for i = 1 to This.ControlCount
   if This.Controls(i).TabIndex = 1
      This.Controls(i).SetFocus()
      Exit
   endif
endfor
Not sure how to go about it for a single page, but I know that the entire pageframe control can be subclassed.

>I have a form which has about 5 tabbed pages.
>I'd like to be able to start at page on, and when the last field is entered on page 1, go automatically to the forst fiels on page 2 etc...
>
>Anybody got any experience of doing this.
>
>
>One other thing.... I'm finding that I would like to set my own base classes up for Pages within a Page frame.. but I cant seem to be able to sub class the foxpro basec class fro a page.
>
>Any help appreciated.
>
>regards
>
>Gerard
--Todd Sherman
-Wake Up! Smell the Coffee!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform