Posted: Wed Aug 03, 2011 2:36 am Post subject: control_getCaption help
Occasionally when I use control_getCaption() function to get text from a TCEEdit, or TCEComboBox control there are a few characters of junk at the end of the returned string. For example if I place a TCEEdit and TCEButton control on the form and execute this:
I get a string with random characters added to the end . At the same time It does not appear to be completely random because in each stuation the character is the same (for example if '99' was in the box TempText would be '99o' consistently unless I changed something in the code). Since it is a number and there is only one bad character at the end I managed to solve this by removing the last character if there is an error but the problem i now face is with comparing strings and more added characters. I am not sure if this is a bug or if i am doing something wrong because I don't have much experience with this program and Lua.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum