Ok. I have two buttons on my form. One is the about
button and the other on a clear button that I would
like to make the palm light go on with. If I click on
the about button the about form popups up. but if I
click on the clear button (which should only turn the
light on or off) the about form
I think you might need a break before
case menuEvent:
Probably what is happening is that the event is falling through your
ctlSelectEvent case statement, and then continues on through the menuEvent
case, where MainFormDoCommand is called. I would guess that
MainFormDoCommand just pops up the
switch (eventP-eType)
{
case ctlSelectEvent:
UInt16 ctrlID = eventP-data.ctlSelect.controlID;
ControlPtr ctrlPtr=
eventP-data.ctlSelect.pControl;
if (ctrlID == MainAboutButton)
{
snip
}
if (ctrlID == MainClearButton)
{
snip
}
case menuEvent:
return
On Thu, 16 Aug 2001, Johnathan Smith wrote:
Ok. I have two buttons on my form. One is the about
button and the other on a clear button that I would
like to make the palm light go on with. If I click on
the about button the about form popups up. but if I
click on the clear button (which
thank for your help if you would like to im me my name
is redhatpusher
--- Avilla, Dane [EMAIL PROTECTED] wrote:
I think you might need a break before
case menuEvent:
Probably what is happening is that the event is
falling through your
ctlSelectEvent case statement, and then continues