Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to write Valid Event code in .PRG?
Message
De
10/07/1998 16:30:57
 
 
À
10/07/1998 16:04:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00116287
Message ID:
00116300
Vues:
15
>Hi all,
>
> I wrote a .PRG. I want to write Valid Event code in MyForm.Grid1.Column1.Text1, but I don't know how to write it in My .PRG. Codes are as follow:
>
>oForm = CREATEOBJECT('MyForm')
>oForm.SHOW
>
>DEFINE CLASS MyForm AS form
>
> .
> .
> .
>
> ADD OBJECT Quit AS commandbutton WITH ;
> .
> .
> .
>
> ADD OBJECT Grid1 AS grid WITH ;
> .
> .
> .
>
> PROCEDURE Init
> .
> .
> .
> ENDPROC
>
> PROCEDURE Quit.Click
> .
> .
> .
> ENDPROC
>
>ENDDEFINE

You can create this form/grid with all snippets in form designer, then open the form in Class Browser and see how it's coded. Probably, after this you will love form designer more :).
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform