Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SETALL
Message
De
28/11/2000 01:46:03
 
 
À
28/11/2000 01:37:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: SETALL
Divers
Thread ID:
00446038
Message ID:
00446042
Vues:
11
>Why below setall all statement placed at the form.init event does not work :
>
>THISFORM.pageFrame1.page1.grid1.SETALL("KEYPRESS", "THISFORM.nextLine(nKeyCode)", "TEXTBOX")
>
>
>TIA.

Because you can only use the SetAll method to change properties, not put code into other methods. You can't do that at runtime, you'll need to create a subclass of a textbox and substitute that for the standard textbox in the grid. You can either do this with a builder or you can do this with code in the grid Init method.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform