+ 1
how Set focus next object if maxlength of last object is 3?
if qlineedit.maxlength==3: nextqlineedit.setfocus() if we insert 3digits numbers in a qlineedit without press any key, the next object get focus how can write that?
2 odpowiedzi
+ 7
If it's a loop you refer to, check the condition and if it's true, save the next index by incrementing the counter by 1 then break.
+ 1
can you make an example please