TGet questions

TGet questions

Postby Gilbert » Tue Feb 20, 2007 5: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
Gilbert
 
Posts: 74
Joined: Thu Oct 20, 2005 4:30 pm
Location: Canada

Postby Antonio Linares » Tue Feb 20, 2007 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Gilbert » Tue Feb 20, 2007 7: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
Gilbert
 
Posts: 74
Joined: Thu Oct 20, 2005 4:30 pm
Location: Canada


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 18 guests