I create buttons dynamicly in a program I'm writing, and it works ok. Make
sure you give them an ID and then refer to this ID when trying to catch
their ctlselect events.
On a side note, does anyone know how to hide a dynamicly created bitmap in
OS3.01 ? I found documentation saying that you had to set the usable
attribute by hand, but when I do so, I get a crash.
Thanks
Steve
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mark
Hamann
Sent: Tuesday, February 13, 2001 4:28 PM
To: Palm Developer Forum
Subject: Dynamic UI
I am trying to create forms at run-time from a very large set of data that
will change fairly often. I want to keep all of my information in large
tables, and then create screens from the data in the tables.
I am using FrmNewForm and CtlNewControl to make a form and put buttons on
it, but I can't seem to generate ctlSelectEvent events. It's like the
buttons aren't even there. I'm doing CtlSetEnabled and CtlSetUsable.
Any idea what I'm doing wrong.
Also, any idea what this cryptic line in the Dynamic UI section of the
Companion Guide means? "You cannot create buttons (or repeating buttons)
having frames or non-bold frames."
Thanks
Mark Hamann
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/