Oh, boy ... another member of our club ...

As of the current moment in time ... sadly, the answer is "no, there are no
glue accessors provided".

It appears that those of us who braved the new world of Palm OS in the early
days and figured out ways to provide UI functionality that wasn't there in
the provided API by accessing internal data structures are now being
presented a wonderful opportunity to rework our code.

You're not the first to ask for some of those ... in particular #1 & #2.

For number 1 (Get the listID for a given popupTrigger), I had to build an
external list correlating the popupTrigger to the listID.  My new list
duplicates that data that already exists in frmPopupObj.  Unfortunately, the
library routine I built has to support apps that use either hard-coded
(Constructor-built) forms, or dynamic forms (created on the fly).  So, I had
to build TWO mechanisms ... and, of course, there's always the adventuresome
soul who uses BOTH techniques in one app.  If you're like the rest of us
die-hards, we detest duplicating data.  Boo, hiss ....

For number 2 (Changing a controls frame type), my specific need was to
create a series of frameless buttons, then draw my own frame around the
entire group/rectangle/whatever.  I played around with various tricks of the
trade until I discovered that if you create a RepeatingButton control, it is
automatically created as non-framed.  So, then, I changed all my Buttons to
RepeatingButtons, and treated all "ctlRepeatEvent"s as a single tap, and
Presto!  I was able to get my frameless button (s).  Note that I can't
dynamically determine which group those buttons are associated with because
there's no accessor for that either, but that's a different (but similar)
issue.

For other controls with different frames, and the remaining two issues on
your list, I can't help you.  Sorry.

Regards,

Terry



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to