Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom Class
Message
From
10/12/2008 11:30:57
 
 
To
09/12/2008 11:11:09
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
01366200
Message ID:
01366461
Views:
10
>I'm creating a Custom class that will reference a sibling grid. In the INIT of the form I'm using to create the methods, etc of the Custom class, I have this line:
>
>THIS.ADDPROPERTY('DynamicRow', 0)
>
>I also will have a property on the custom class for the grid name. For example "MyGrid" might be the value. How can I rewrite that line of code to work? This does not work:
>
>THIS.Parent.(THIS.GridName).ADDPROPERTY('DynamicRow', 0)
>
>I'm sure it's simple to many of you, but I have not used many Custom classes before in this way.
ADDPROPERTY(GETPEM(THIS.Parent,THIS.GridName),'DynamicRow', 0)
Previous
Reply
Map
View

Click here to load this message in the networking platform