Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No IntelliSense with ThisForm.DataEnvironment ?
Message
From
23/08/2008 04:43:22
 
 
To
22/08/2008 17:06:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01341254
Message ID:
01341300
Views:
14
>Why is there no IntelliSense support when typing Thisform.DataEnvironment in a code window?
>
>I am trying to program against CursorAdapters in the Form's DataEnvironment, but none of the PEM's are being exposed for either the DataEnvironment or the CA's
>
>For instance...
>
>Thisform.DataEnvironment.caCustomers.xxxx
>
>DataEnvironment does not even appear at all for the Form.

In Form Designer, DataEnvironment is not a Form's member, but it is a separate object.
If you change the DataEnvironment's Name, intellisense cannot found it within the member list ...

If you want a reference to it, ASELOB() need a specific parameter = 2.

This is a consequence of drawing contorted class dataenvironment.
His natural position is the father of a form, but this is the VFP design ...

This force various troubles:
1. In the table scx the team was forced to enter the dataenvironment definition
as first record
2. at runtime the construction of objects it is confused ...
Previous
Reply
Map
View

Click here to load this message in the networking platform