Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_OBJCUR
Message
De
14/07/1997 17:05:28
Biju Varghese
M.H Alshaya Co W.L.L
Kuwait, Kuwait
 
 
À
12/07/1997 12:07:02
Shihchau Tai
Apic Systems Pte Ltd
Singapore, Singapour
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00039396
Message ID:
00039905
Vues:
28
Hi Shih Chau Tai, What I ended up doing in my class was as follows. Hope it may spark some better ideas for u. The generic Click method of new button contains: */* * ...rest of the code. * In property sheet, fill in FirstField with name of first control in each form. * thisForm.FieldFocus(ThisForm.FirstField) */* FieldFocus method goes like this: */* * A custom method in your form class. * Write code in this method for each instance of ur form. * This method is usefull because u may need to setfocus to other fields * lparam tcFieldName do case case upper(tcFieldName)=='ITEMNO' thisForm.pgeFrm.pgeMain.txtItemNo.setFocus() && in case, if u have page frame! otherwise */* * Set focus to other fields as and when required */* endcase */* HTH, Biju
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform