Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to validate input in a grid control
Message
From
19/10/2001 04:08:13
 
 
To
19/10/2001 04:03:07
Devrishi Bhogra
Escorts Claas Limited
Faridabad, India
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00556331
Message ID:
00570665
Views:
18
Hi!

Is your grid an independent object or it is put on the form? Grid should be a part of the form. When it is not, you require to call a function, not a form method. You can, of course, make a grid class and new method in that grid class, so you will call it using "this.parent.parent.MyMethod" from the RightClick event of the control inside of the grid column. Then base your grin on that class.

HTH.

>thanx vlad!!
>
>but the real problem is ...when i right click on grid..the right click event is getting fired but vfp says
>
>"thisform " is can only be used within methods.
>
>so the problem is how do i refer to the method define in my form.
>
>Waiting for ur reply
>
>Sunny
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform