MaxGUI: Place blinking Cursor inside textfield?

BlitzMax Forums/BlitzMax Beginners Area/MaxGUI: Place blinking Cursor inside textfield?

Grisu(Posted 2006) [#1]
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


tonyg(Posted 2006) [#2]
ActivateGadget(mytextfield)?


Grisu(Posted 2006) [#3]
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... :(


Chris C(Posted 2006) [#4]
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...


Smurftra(Posted 2006) [#5]
windows does not highlight automatically on setfocus.