Posted by Tom Fulton on June 08, 2005 at 13:17:56:
I'm working on my first Windows program and have made lots of progress but have run into behavior that I need advice in handling. I've selected a record out a List Control and populated three edit boxes and five radio buttons. In my DialogInit section I am issuing the following code which limits the size of input
cosCtlId = IDC.Desc ! Only allow max 40 char input
cosItemSize = 40 ! for P/L Description
gosub COS.EditLimitText
When I select the record from the List Control and set the description from the file and place the text in the edit box, the number of characters for input seems to change with the length of the description. How do I keep the input size of this Edit Box at 40 and
keep it from changing?
Thanks in advance, Tom.