FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper TGet questions
Posts: 74
Joined: Thu Oct 20, 2005 04:30 PM
TGet questions
Posted: Tue Feb 20, 2007 05:33 PM

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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
TGet questions
Posted: Tue Feb 20, 2007 06:38 PM

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
Posts: 74
Joined: Thu Oct 20, 2005 04:30 PM
TGet questions
Posted: Tue Feb 20, 2007 07:04 PM

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

Continue the discussion