[comp.windows.interviews] IV buttonstate help

mcdowell@grus.cs.nps.navy.mil (john mcdowell) (05/31/91)

	I am having a difficult time understanding the operation
of buttonstates when using ibuild.  When I enter the samples
in the ibuild reference manual I get the actions associated with 
a pushbutton occuring twice.  The first time is for the actual
button push and the second is for when I reset the buttons value.
	Is there a way of reseting the button
state which does not cause the action to occur?  (Currently I
have an if statement to ignore the second time I come into
the action method.  This works but there should be a better way).
	I am also having the same problem with a buttonstate which
is for a stringbrowser.  I want to reset the buttonstate so another
string can be chosen but do not want any action to occur.  In this
case I can't trap the second action because I do not know how
to predict the value of the BS.  (it does not stay as the value
I set it to).  Thanks in advance for any help on these problems.


-- 
----------------------------------------------------------
| John K. McDowell      mcdowell@taurus.cs.nps.navy.mil
| Naval Postgraduate School
| CAPS research group