Maxgui : put some help

BlitzMax Forums/BlitzMax Beginners Area/Maxgui : put some help

hub(Posted 2006) [#1]
Hi !
Is there a way to update the window statusbar (to display some help infos) when the mouse move on a textfield or a label ?
Thanks !


Grisu(Posted 2006) [#2]
WaitEvent()
Select EventSource()

Case Yourtextareaname
Select EventID()
Case EVENT_GADGETACTION
SetStatusText MyWindow, text$
(,,,)

This might work...


hub(Posted 2006) [#3]
This works only if you type text into the textfield. Not if the mouse move on it.


N(Posted 2006) [#4]
No way to do it without checking the position and such manually.

I'd have thought that the EVENT_MOUSE{ENTER|LEAVE} events would be queued when the mouse enters a gadget's area, but apparently not.


hub(Posted 2006) [#5]
hope this will be added to the next update ;-)


Grisu(Posted 2006) [#6]
Have you tried creating a panel "behind" the textarea and checkking it for the mouse instead of the textarea?


hub(Posted 2006) [#7]
i've not tested this, i've a lot of textfields (not textarea). so creating panels is a good idea, but not very elegant ;-( i 'm searching to produce clean code !


Grisu(Posted 2006) [#8]
I know it is not elegant, but it might work.

Better than nothing... :/