Textarea detect cursor movement
BlitzMax Forums/MaxGUI Module/Textarea detect cursor movement
| ||
I display the current line when the textarea is the eventsource, but moving the cursor with the mouse or keyboard isnt treated as an event. How do I make it into an event? |
| ||
Look up SetGadgetSensitivity() [edit] An EVENT_GADGETSELECT event occurs whenever the cursor or selected text region is modified by the user. Did you try that one already? |
| ||
no not yet thanks |
| ||
I tried it but it didnt work. |
| ||
It does indeed work, as MaxIDE somehow manages to do just that. Search the source of maxide for UpdateCursor() and you will find out how. |
| ||
they handle events manually in Maxide with pollsystem |
| ||
TextArea with all events on: |
| ||
they handle events manually in Maxide with pollsystem And how else are one to handle events? how exactly are you using maxgui? |
| ||
oh yeah sorry I was doing it wrong, thanks for the help |