Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Execute the method in control
Message
From
27/10/2011 04:42:29
 
 
To
26/10/2011 20:30:07
Ed Hizon
Skswood Sdn. Bhd
Kuala Belait, Brunei
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01527444
Message ID:
01527449
Views:
39
>Dear all,
>
>Just like to ask how am I going to execute the method in a form when it is just created at run time.
>
>A form was created and a grid control is on it. The init of the form will initiate the number of columns in the grid. my request is how can i make the method say text.valid in a column to execute when the active row is in that column.
>
>Thank a lot in advance.
>
>Regards,
>Ed
Hi,

What are you trying to accomplish?
the value in the grid.recordsource = a field in a table, cursor or other data. The valid should fire before you enter / update your recordsource, the grid is basicly not for this it only shows the content of your recordsource. Data manipulation should preferably not take place in the grid. But again this is a matter of coding-style which is also debatable.
More important to anwer your question correctly is the answer to my question, what are you trying to accomplish?

Regards,

Koen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform