🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1408

IV buttonstate help

#1408
From: john mcdowell
Date: Thu, 30 May 1991 18:47
23 lines
1563 bytes
	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
Technical Details
Message-ID: <2320@grus.cs.nps.navy.mil>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!wuarchive!uwm.edu!lll-winken!taurus!grus!mcdowell

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!wuarchive!uwm.edu!lll-winken!taurus!grus!mcdowell
From: mcdowell@grus.cs.nps.navy.mil (john mcdowell)
Newsgroups: comp.windows.interviews
Subject: IV buttonstate help
Message-ID: <2320@grus.cs.nps.navy.mil>
Date: 30 May 91 18:47:58 GMT
Reply-To: mcdowell@taurus.cs.nps.navy.mil ()
Organization: Naval Postgraduate School, Monterey CA
Lines: 23