Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to write Valid Event code in .PRG?
Message
From
10/07/1998 16:30:57
 
 
To
10/07/1998 16:04:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00116287
Message ID:
00116300
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform