SetTextAreaText not resetting gadget...

BlitzMax Forums/BlitzMax Beginners Area/SetTextAreaText not resetting gadget...

Grisu(Posted 2006) [#1]
Hi!

In my app I used "SetTextAreaText" to display new text inside my textarea.

The problem is that the textgadget itself is not resetting the side slider to zero position when update the text inside the textarea as it should by default. This means if you scroll down in a long text and want to display new text. The slider still stays in the position you left it (so you see the bottom part of the new text instead if the first line)!

Test app.
http://grisu.roxr.com/dfa.zip (2,4 MB - no installer needed)

(Instructions: Select icon 2, scroll down, select icon 3)

P.S.: Another issue not related to textarea is that the white parts of the windows window icon I included (one of the ?) is showing up transparent? Any workaround for this?


Grisu(Posted 2006) [#2]
Found an ungly workaround.

Posted here:
http://www.blitzbasic.com/Community/posts.php?topic=58131