I have a dialog box (with multiple editable text fields and buttons) and want to activate one of buttons when any one of text field boxes is clicked in. Like following is with default value of 0.56and once user click in that box, a separate button should be enabled. Any suggestions? Thanks
What have you tried? Have you gone through the documentation and
the examples? This is a fairly basic request.
If you really just want to trigger this on a click, you can
certainly capture left click events. It would be more common to
enable an “Apply” button if the value of the control actually
changes, which you can capture through EVT_TEXT.
···
Ibraheem Khan wrote:
I have a dialog box (with multiple editable
text fields and buttons) and want to activate one of buttons
when any one of text field boxes is clicked in. Like following
is with default value of 0.56 and once user click in that box, a separate button
should be enabled. Any suggestions? Thanks
On Wed, Jan 3, 2018 at 9:56 AM, Tim Roberts timr@probo.com wrote:
Ibraheem Khan wrote:
I have a dialog box (with multiple editable
text fields and buttons) and want to activate one of buttons
when any one of text field boxes is clicked in. Like following
is with default value of 0.56 and once user click in that box, a separate button
should be enabled. Any suggestions? Thanks
-- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
What have you tried? Have you gone through the documentation and
the examples? This is a fairly basic request.
If you really just want to trigger this on a click, you can
certainly capture left click events. It would be more common to
enable an “Apply” button if the value of the control actually
changes, which you can capture through EVT_TEXT.
–
You received this message because you are subscribed to the Google Groups “wxPython-users” group.
Is there any example to capture if control changes – I have to activate Apply button when text in TextCtrl changes. Thanks
···
On Wednesday, January 3, 2018 at 12:56:44 PM UTC-5, Tim Roberts wrote:
Ibraheem Khan wrote:
I have a dialog box (with multiple editable
text fields and buttons) and want to activate one of buttons
when any one of text field boxes is clicked in. Like following
is with default value of 0.56 and once user click in that box, a separate button
should be enabled. Any suggestions? Thanks
What have you tried? Have you gone through the documentation and
the examples? This is a fairly basic request.
If you really just want to trigger this on a click, you can
certainly capture left click events. It would be more common to
enable an “Apply” button if the value of the control actually
changes, which you can capture through EVT_TEXT.
-- Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.
Yes, there are many, many examples, including in the wx demo itself,
and I told you in my message what to look for. Have you looked at
all? I have a reputation for being helpful on technical forums, but
it really gets my goat when people aren’t doing at least a minimum
of research on their own, and I’m getting that feeling here. You’re
asking a very basic question, which you should have been able to
answer on your own.
···
Ibraheem Khan wrote:
Is there any example to capture if control changes
– I have to activate Apply button when text in TextCtrl
changes.
-- Tim Roberts, Providenza & Boekelheide, Inc.
On Wednesday, January 3, 2018 at 12:56:44 PM UTC-5, Tim Roberts
wrote:
Ibraheem Khan wrote:
I have
a dialog box (with multiple editable text fields and
buttons) and want to activate one of buttons when any
one of text field boxes is clicked in. Like following
is with default value of 0.56 and
once user click in that box, a separate button should
be enabled. Any suggestions? Thanks
documentation and the examples? This is a fairly basic
request.
If you really just want to trigger this on a click, you can
certainly capture left click events. It would be more
common to enable an “Apply” button if the value of the
control actually changes, which you can capture through
EVT_TEXT.
You are right. I put little effort in it at start – now have worked out a solution. Thank you for push!
···
On Wednesday, January 3, 2018 at 3:38:11 PM UTC-5, Tim Roberts wrote:
Ibraheem Khan wrote:
Is there any example to capture if control changes
– I have to activate Apply button when text in TextCtrl
changes.
Yes, there are many, many examples, including in the wx demo itself,
and I told you in my message what to look for. Have you looked at
all? I have a reputation for being helpful on technical forums, but
it really gets my goat when people aren’t doing at least a minimum
of research on their own, and I’m getting that feeling here. You’re
asking a very basic question, which you should have been able to
answer on your own.
-- Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.
On Wednesday, January 3, 2018 at 12:56:44 PM UTC-5, Tim Roberts > > wrote:
Ibraheem Khan wrote:
I have
a dialog box (with multiple editable text fields and
buttons) and want to activate one of buttons when any
one of text field boxes is clicked in. Like following
is with default value of 0.56 and
once user click in that box, a separate button should
be enabled. Any suggestions? Thanks
documentation and the examples? This is a fairly basic
request.
If you really just want to trigger this on a click, you can
certainly capture left click events. It would be more
common to enable an “Apply” button if the value of the
control actually changes, which you can capture through
EVT_TEXT.
You are right. I put little effort in it at start – now have worked out a solution. Thank you for push!
On Wednesday, January 3, 2018 at 3:38:11 PM UTC-5, Tim Roberts wrote:
Ibraheem Khan wrote:
Is there any example to capture if control changes
– I have to activate Apply button when text in TextCtrl
changes.
Yes, there are many, many examples, including in the wx demo itself,
and I told you in my message what to look for. Have you looked at
all? I have a reputation for being helpful on technical forums, but
it really gets my goat when people aren’t doing at least a minimum
of research on their own, and I’m getting that feeling here. You’re
asking a very basic question, which you should have been able to
answer on your own.
-- Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.
On Wednesday, January 3, 2018 at 12:56:44 PM UTC-5, Tim Roberts > > > wrote:
Ibraheem Khan wrote:
I have
a dialog box (with multiple editable text fields and
buttons) and want to activate one of buttons when any
one of text field boxes is clicked in. Like following
is with default value of 0.56 and
once user click in that box, a separate button should
be enabled. Any suggestions? Thanks
documentation and the examples? This is a fairly basic
request.
If you really just want to trigger this on a click, you can
certainly capture left click events. It would be more
common to enable an “Apply” button if the value of the
control actually changes, which you can capture through
EVT_TEXT.
–
You received this message because you are subscribed to the Google Groups “wxPython-users” group.
You are right. I put little effort in it at start – now have worked out a solution. Thank you for push!
On Wednesday, January 3, 2018 at 3:38:11 PM UTC-5, Tim Roberts wrote:
Ibraheem Khan wrote:
Is there any example to capture if control changes
– I have to activate Apply button when text in TextCtrl
changes.
Yes, there are many, many examples, including in the wx demo itself,
and I told you in my message what to look for. Have you looked at
all? I have a reputation for being helpful on technical forums, but
it really gets my goat when people aren’t doing at least a minimum
of research on their own, and I’m getting that feeling here. You’re
asking a very basic question, which you should have been able to
answer on your own.
-- Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.
On Wednesday, January 3, 2018 at 12:56:44 PM UTC-5, Tim Roberts > > > > wrote:
Ibraheem Khan wrote:
I have
a dialog box (with multiple editable text fields and
buttons) and want to activate one of buttons when any
one of text field boxes is clicked in. Like following
is with default value of 0.56 and
once user click in that box, a separate button should
be enabled. Any suggestions? Thanks
documentation and the examples? This is a fairly basic
request.
If you really just want to trigger this on a click, you can
certainly capture left click events. It would be more
common to enable an “Apply” button if the value of the
control actually changes, which you can capture through
EVT_TEXT.
–
You received this message because you are subscribed to the Google Groups “wxPython-users” group.