Page 1 of 1

To Antonio: re MGet

PostPosted: Fri Feb 23, 2007 3:46 am
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

PostPosted: Fri Feb 23, 2007 9:24 am
by Antonio Linares
Colin,

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

PostPosted: Fri Feb 23, 2007 10:54 am
by Colin Wisbey
Thanks for prompt reply, Antonio.
Colin