my cut & paste got screwed up.
      switch (event->eType) 
           {
                case popSelectEvent:  // clicked on pop up list
                {
                   // Select an item out of the popup list.
         // use CtlSetLabel (<pointer to the pop up trigger>, <pointer to
text of tapped list entry>) to do the trigger text update yourself, and do
other things before returning.
         // return (true);

         // or you can just return (false) without using CtlSetLabel and let
the pop up list handle the trigger text for you automatically.
      }

                  

> -----Original Message-----
> From: Fawcett, Mitch [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, July 09, 1999 9:22 AM
> To:   '[EMAIL PROTECTED]'
> Subject:      RE: Popup triggers
> 
> Are you handling the popSelectEvent to detect when a user  has tapped on
> an
> item in the pop up list?
> 
>    switch (event->eType) 
>    {
>       case popSelectEvent:  // clicked on pop up list
>       {
>          // Select a list name out of the popup list of lists.
> 
> 
> > -----Original Message-----
> > From:       Michael P. Hutchens, M.D., M.A.
> [SMTP:[EMAIL PROTECTED]]
> > Sent:       Friday, July 09, 1999 9:14 AM
> > To: [EMAIL PROTECTED]
> > Subject:    Popup triggers
> > 
> > I feel sure I've seen this somewhere before but a search of the list
> > archive and the knowledgebase failed to turn it up.
> > 
> > I have a popup that is associated with a list.  THe popup functions
> > properly with the list in that when the trigger is pressed, the list
> pops
> > up and the user can select an item from the list.
> > 
> > However, on pen up, the list goes away and the popup trigger label DOES
> > NOT
> > CHANGE. It remains the "select item" trigger label.  Rhodes and McKeehan
> > say that the default behavior is for the trigger label to change to the
> > selected item automatically.  The only event I am trapping is the
> > popselectevent.  Is there something else I need to do to get that label
> to
> > change to the selected text?
> > ----------------------
> > Michael Hutchens
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]

Reply via email to