On Mon, 26 Nov 2001, Paul Groschen wrote:

> I'm trying to draw a box around a field on a form. Eventually I would like
> to make my data look like a spreadsheet. The following code does not work.
> Any ideas?
> 
> //testing drawing of rectangle
>  FrmGetObjectBounds(frmP,
>     FrmGetObjectIndex(frmP,BillingInputHoursField),&rect);
>  WinDrawRectangle(&rect,0); /* square corners */
> 
> Thanks
> Paul
> 
> 
> 


Use WinDrawRectangleFrame():

WinDrawReectangleFrame(simpleFrame, &rect);


Si.


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