Hi,
I've been trying to work out how I can write a value from a text box (numerical) into a file.
Say I have a text box that contains "859", I want to be able to write that value to a file.
I have tried both:
WriteWord(GetGadgetText(1))
and:
WriteWord(Int(GetGadgetText(1)))
Neither of which produce the correct value, the first, always seems to produce a value of 0x4800 or 0x4900, and the second, always produces 0x0000.
If I write the number directly, for example:
WriteWord(859)
That produces the correct value...
So, is there any way to write the number in the text gadget to a file?
Also... is there any way to write it as an unsigned number, instead of signed?
Many thanks,
Toris