To Antonio: re MGet

To Antonio: re MGet

Postby Colin Wisbey » Fri Feb 23, 2007 3:46 am

Within MGET.prg, for a large amount of text, there seems to be no purpose in setting cCaption based on bSetGet. eg with a 20K string, cCaption will take up 20K of string space but serve
no real purpose and that 20K will get used to calculate the size of the window.

Setting cCaption to "" and changing the calculation for ::nRight seems to works fine instead of relating it to the bSetGet. Is such a change beneficial, or have I misunderstood?

TIA
Colin
Colin Wisbey
 
Posts: 56
Joined: Mon Jul 03, 2006 2:34 am

Postby Antonio Linares » Fri Feb 23, 2007 9:24 am

Colin,

Yes, that change may be ok, though cCaption is also used from METHOD Create() when MGetCreate() is called
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Colin Wisbey » Fri Feb 23, 2007 10:54 am

Thanks for prompt reply, Antonio.
Colin
Colin Wisbey
 
Posts: 56
Joined: Mon Jul 03, 2006 2:34 am


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 3 guests