Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6SP5, TextBox builder to ref. to THISFORM.properties
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00757397
Message ID:
00757420
Views:
8
Wow thanks, I coulnd't have been able to think this let alone working towards it. Thanks a lot. Does UT allow 5 stars instead of 2 <g>. Well Wishes.


>Something like
ooo = oTextBox.Parent
>DO WHILE ooo.BaseClass <> "Form"
>  ooo = ooo.Parent
>ENDDO
>oForm = ooo
>
>
>>Sorry for sounding dumb but how? This textbox is on a page in a pageframe on a form. THIS.oObject I guess is the TextBox object how would I refernce this.oobject to its THISFORM, that should be nice forget constant heirarchy.
>>
>>>>Hi All
>>>>
>>>>I have a small textbox builder (based on BuilderB) of my own and works well. Now there is a property of the textbox of which the value is based on a value of the THISFORM.cproperty. How do I refer to the THSIFORM object from a builder for a TextBox. Only the textbox is the selected object.
>>>>
>>>>Please advise.
>>>
>>>I would check if oTextBox.Parent.BaseClass = "Form" and go up until I find a form.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform