Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Add a Cursor to DataEnvironment programatically?
Message
From
06/02/2004 00:36:21
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00874222
Message ID:
00874708
Views:
36
Without playing with the SCX, I'm out of ideas. I was thinking somewhere along the lines of:
Modify Form TestForm NoWait
aselobj(laTestForm,1)
oFormHandle = laTestForm[1]
oFormHandle.DataEnvironment.Objects.Add.....
However it seems the DataEnvironment just isn't available at design time. Can add during Init but that's not what you want. I'll keep scheming though. Just curious why not hack the SCX?

Aloha,

James
>Hmmm maybe, what I want it's to add a cursor programatically at design time, so, the final form should have a cursor added to the DataEnvironment, just like oneself does manually.
>
>>Does it need to be visible during design time?
>
>>>No, it isn't. Any clue?
>>>
>>>>Is the new DataEnvironment class in VFP8 an option?
>>>
>>>>Aloha,
>>>
>>>>James
>>>>I'd like to Add a cursor to a DataEnvironment's form, without hacking the SCX table, is it possible?
>>>>I'm creating a Form, adding controls, writing methods, but i need to add cursor to the dataEnvironment...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform