Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to define to code of object_b in object_a
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00130519
Message ID:
00130582
Views:
26
>>>>Hello All
>>>>
>>>>I have in a form any 2 objects 1 texbox and 1 gridControl
>>>>
>>>>I would like to define the code of GotFocus Event of GridControl directly from TextBox.
>>>>
>>>>This Is possible?
>>>
>>>If you mean to dynamically change the code in Grid methods at the runtime you cannot do this, because the methods code is compiled.
>>
>>I don't have any experience using the writemethod and writeproperty methods. but isn't that what they are supposed to do? If not the help topics are misleading (which wouldn't surprise me).
>
>You can use them in Builders which work at design time.

You probably meant WriteExpression instead of "writeproperty". About this one the Help says "Available at design time and run time." Never tried it though.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform