MaxGUI: Place blinking Cursor inside textfield?
BlitzMax Forums/BlitzMax Beginners Area/MaxGUI: Place blinking Cursor inside textfield?
| ||
Hi! I have a strange glitch: My textfield cursor is disappearing inside a textfield. I can type stuff into the textfield, but there is no blinking cursor visible at all. Is there a way to place it there "by hand"? Grisu |
| ||
ActivateGadget(mytextfield)? |
| ||
This command selects all text currently typed in. It adds no cursor. I think this is a bmx gui bug, though I can't dig out a short example code... :( |
| ||
ActivateGadget sets the keyboard focus, windows will highlight all the text for you automatically, (try using the tab keys on just about any windows app!) You'll have to manually deselect the text if you want to work in a non standard way If you mean that theres no cursor when you have selected a text field then that is probably somthing to do with whatever windows theme you are using, try textfield is a few other applications and see if they are behaving the same... |
| ||
windows does not highlight automatically on setfocus. |