Luigi Ferraris
unread,Jun 9, 2014, 9:15:26 AM6/9/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to qtcon...@googlegroups.com
Hi friends,
I have a problem related to per subject. The scenario is this one:
I have a form with three QLineEdit widgets, all enabled and editable. I
need to disable one of them when I leave it. The problem: the tab order
sequence it's not respected.
This is the form's schema:
+------------+ +------------+ +------------+
| QLine1 | | QLine2 | | QLine3 |
+------------+ +------------+ +------------+
I'm editing QLine1; at the end, focused widget will be ( or maybe it
should be) QLine2
I have connected QEvent_FocusOut on QLine1 and the codeblock is { |o|
o:setEnbaled(.F.) } where o is QLine1.
If I remove setEnabled QLine2 get focus; if I use it ....QLine3 get focus.
Is there someone have some idea how to solve? Disabling QLine1 and
Qline2 get focus.
BR
Luigi Ferraris