e:setInputMask(Repl('x',40))Hi Jonce, reading Qt docs about QLineEdit:setInputMask() you can find «The blank character are always removed from the text after editing»
--
You received this message because you are subscribed to the Google Groups "QtContribs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qtcontribs+...@googlegroups.com.
To post to this group, send email to qtcon...@googlegroups.com.
Visit this group at https://groups.google.com/group/qtcontribs.
For more options, visit https://groups.google.com/d/optout.
I want to change the inputmask or maxLength when Edit Change etc...It's not very clear to me your problem and I don't have a great knowledge about codepage problems: I'm sorry.
I don't know how to make QlineEidt without inputmask to
set cursor positon at first and no selection while gotfocus
I try e:connect(QEvent_FocusIn , {|Event| myFocusIn ( Event,e ) } )
to
e:setCursorPosition(1)
...
not work at all.
All only the first QLinedts cursorposition is 0 when widow show
then all QLineEdit cursorposition at tail and select all.
And thanks again about QT PRINTER
Here is my first report porting to mysql hbqt utf8ex,preview and print both work fine
--
myFocusin() is no work.so myFocusin() is not need.If obj:setInputMask(...),the cursor position is 0 and no selection while gofocus
If not setInputMask(...) ,
cusor position always at end of line
with select all
while gotfocus.
Thanks all,
Actually it is now working fine. Some other component was setting the
@
selectAll()
@Because of that the behavior was not correct.
Now all is OK
Cheers!
--