Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error setting Grid Dblclick event at run time
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00543803
Message ID:
00543847
Views:
19
This message has been marked as a message which has helped to the initial question of the thread.
Todd,

You cannot add or overwrite an object method code at runtime.
While you are waiting for an answer, try to search the message area for 'grid runtime method' or something similar. You would be surprised how many times this problem has been discussed already.

>Hello to all,
>
>I get the error "Dblclick is read only" at run time when the statement below is encountered:
>
>thisform.mygrid.column1.text1.dblclick = 'thisform.command3.click()'
>
>Setting the dblclick event at design time works fine but is impractical because my grid columns need to be defined and displayed based on operator input.
>
>Any help would be greatly appreciated.
>
>Best Regards,
>
>Todd Hugus
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform