> From: George Aslanis
>
> While in constructor, I've created 4 fields with labels.  I wanted to
> graphically group them together via a rectangle.  If you have several
> different groups of data on the same form, is outlining a gadget viable?
> Too much overhead?  Any ideas?
>

I think this is simple to do with a gadget:

1. Put a gadget on your form in Constructor (or just figure out where you
want it to be and remember the coordinates).

2. When your app runs, use this untested code:

  RectangleType rect;
  FrmGetObjectBounds( frmP, FrmGetObjectIndex( frmP, gadgetID ), &rect );
  WinDrawRectangle( &rect, cornerDiameter );

Or, if you hard-code the coordinates, you save some overhead (but that would
be a "bad thing" which you would regret as soon as you moved the fields).


-- 
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