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 05:39:26
 
 
To
28/01/2008 05:20:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01286005
Message ID:
01286008
Views:
16
This message has been marked as the solution to the initial question of the thread.
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
Next
Reply
Map
View

Click here to load this message in the networking platform