On Thu, 20 Apr 2000, Stephen Bentley wrote:

> Greetings.
> 
> I switched out one of two static lists on a form.  I made one dynamic and
> set
> a drawing function to draw it.  Both lists display just fine when calling
> LstPopupList.
> However, the dynamic list doesn't allow me to select a choice.  It simply
> closes
> as soon as I click on it.  It doesn't invert the item I'm trying to select.
> This is
> my first dynamic list so I'm sure I've missed something.  Any help is
> greatly
> appreciated.
> 
> Stephen Bentley
> 

Alrighty.  I have an application where I have to create a dynamic form and
populate it with dynamic components (of course).  I am having issues of my
own, but I think I can point you in the propper direction for a slution to
your probelm.  I know that in order to get my dynamic controls to work
properly I have to call:
        handled = CtlHandleEvent (currentControl, eventPtr);

        Where currentControl is a pointer to the dynamic control I want to
behave properly, and eventPtr is a pointer to the current event.  

        I call this for all form objects of type frmControlObj.  I don't
believe that includes lists, but this may help none the less.



        Noah Ternullo



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to