TGet questions

Post Reply
Gilbert
Posts: 74
Joined: Thu Oct 20, 2005 4:30 pm
Location: Canada

TGet questions

Post by Gilbert »

Hi All,

Why in TGET method cText() is not VarPut() and Value() is not VarGet()

What does SETGET does in method cText(). Syntax look like this
METHOD cText(cText) SETGET

Why is SETGET assigned of :_SETGET_ in Object.ch

Regards,

GIlbert
Gilbert Vaillancourt
turbolog@videotron.ca
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Gilbert,

A FW TGet object is a Windows GUI control that contains a Clipper Get object. Method cText() retrieves the text that the Windows GUI control has, which it can be different from what the Clipper Get object contains.

Methods SetGet automatically creates two methods:

Method cText() and Method _cText(), so cText() can be managed as a DATA (retreived and assigned) though they are methods and not a real DATA.

Objects.ch is quite complex and difficult to follow.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Gilbert
Posts: 74
Joined: Thu Oct 20, 2005 4:30 pm
Location: Canada

Post by Gilbert »

Hi Antonio,

Thanks for the information.

But could I change cText() METHOD to VarGet() and Value() METHOD to VarPut().

Regards,

Gilbert
Gilbert Vaillancourt
turbolog@videotron.ca
Post Reply