>>>If i've got some code like
>>>
>>> THIS.Value = abbrev.DESCRIPT
>>>or
>>> USE abbrev
>>>
>>>in a class based on a textbox where the field or table may vary depending upon which form i place this class is there a way to set or pass these on the inherited class so that the ancestor class can use them?
>>>
>>>I thought I passed Inheritance 101 <s>
>>>
>>>Thanks, Kim
>>
>>Hope I am in the ballpark -- Scope resolution operator?
>>
>>Class::method()
>>
>>HTH,
>>Tom
>
>I don't think so, isn't scope resolution just a means to call ancestor script?, sorry my message wasn't too clear.
>
>Let's say the class is lookup_textbox:
>
>Where some method contains
> ...
> USE x
> ...
>
>Place the object lookup_textbox on two different forms:
>
> lookup_textbox on FORM A we want x to be table A
> lookup_textbox on FORM B we want x to be table B
>
>Can I set a variable or property somewhere that identifies what lookup_textbox is to use for table x.
>
>Hope this clarifies.
May be you can try add other property to textboxclas TableActive
method will contain something like:
USE (This.Parent.TableActive)
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only