To Antonio: re MGet

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

To Antonio: re MGet

Post by Colin Wisbey »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
Colin Wisbey
Posts: 56
Joined: Mon Jul 03, 2006 2:34 am

Post by Colin Wisbey »

Thanks for prompt reply, Antonio.
Colin
Post Reply