Maxgui : put some help
BlitzMax Forums/BlitzMax Beginners Area/Maxgui : put some help| 
 | ||
| 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 ! | 
| 
 | ||
| WaitEvent() Select EventSource() Case Yourtextareaname Select EventID() Case EVENT_GADGETACTION SetStatusText MyWindow, text$ (,,,) This might work... | 
| 
 | ||
| This works only if you type text into the textfield. Not if the mouse move on it. | 
| 
 | ||
| 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. | 
| 
 | ||
| hope this will be added to the next update ;-) | 
| 
 | ||
| Have you tried creating a panel "behind" the textarea and checkking it for the mouse instead of the textarea? | 
| 
 | ||
| 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 ! | 
| 
 | ||
| I know it is not elegant, but it might work. Better than nothing... :/ |