text button and a toggle button

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

3 posts / 0 new
Last post
text button and a toggle button

Submitted by Anonymous (not verified) on Fri, 06/15/2012 - 12:07

Hello
Please help!!!
I have a text button and a toggle button with a simple option menu.
A text button has a XmNlosingFocusCallback and toggle button has XmNvalueChangedCallback.
I am updating a text field and after clicking on toggle button. This calls XmNvalueChangedCallback, but not XmNlosingFocusCallback .
I want it to call XmNlosingFocusCallback first.
Is there a reason that its doing it?
Thank you
‹ lines connecting other boxes that change colors XmText and iso10646-1 ›

Anonymous

Mon, 04/26/2004 - 15:24#1

text button and a toggle button

Can I use XmProcessTraversal to set a focus to a toggle button to make text field lose keyboard focus?

Anonymous

Fri, 04/30/2004 - 11:09#2

text button and a toggle button

AnnaP wrote:

Can I use XmProcessTraversal to set a focus to a toggle button to make text field lose keyboard focus?
Yes, but it value of the text field has been changed, then XmNvalueChangedCallback will be called first.