Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to refer to parent object within a WITH clause
Message
From
28/01/2008 06:49:15
 
 
To
28/01/2008 06:07:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01286005
Message ID:
01286015
Views:
14
You're welcome.

>Thanks Tore - simple when you know how....
>
>Barry
>
>>
With this as textbox && or another class
>>Endwith
>>
>>>A couple of years ago I seem to remember someone at a seminar showing how to reference a parent object within a WITH..ENDWITH clause and still retain the intellisense dropdown. For example
>>>
>>>WITH THIS
>>> .property1.method1
>>> .property2.method2
>>>ENDWITH
>>>
>>>When typing this in code the dropdown does not reveal the methods of the properties unless it is immediately prefixed with THIS as in -
>>>
>>>THIS.property1.method1
>>>THIS.property2.method2
>>>
>>>When the dropdown appears after typing the property. clause.
>>>
>>>Am I imagining that this is possible or is there some way to achieve this?
>>>
>>>Thanks
>>>Barry Sutton
Previous
Reply
Map
View

Click here to load this message in the networking platform