
VB4-16bit Can't Make Text Control Text Property Empty
Quote:
>PROBLEM
>I can't assign "" to a text control.text (ie make it empty) that is part
>of an array of text controls.
>It seems to work if I assign " " (ie a sapce).
>Has anyone else encountered this problem???
Yes! It seems to work sometimes and not others, it has caused me no
end of problems, the best solution I have found so far is to
control.text = chr(0)
- especially you seem to need to do this when testing to see if the
control.text is empty. I always thought that "" WAS a null string, but
there you go, perhaps someone else can give a rational explanation of
this?
Dave Austin
+ - Avalon; Legends Never Die. Telnet: Avalon-RPG.com 23 - +