Hi,

I have noticed that on the Palm IIIc that field lines (the dotted underline)
is gray.  I find that when I change a field so that it is not editable, that
the line becomes black.  This is a nice indication of whether a field is
editable or not. Here is the code that I use to do this: 

static void SetTimeFldEditable(Int32 iTikTok, Boolean bEdit)
{
   FieldPtr ptrTime = Id2Ptr(ID_SecFirst + iTikTok);
   FieldAttrType attr;

   FldGetAttributes(ptrTime, &attr);
   attr.editable = bEdit;
   FldSetAttributes(ptrTime, &attr);
   FldReleaseFocus(ptrTime);
}

However, when I set the field to editable, the underline is still black.
How do I change this underline back to gray?

Thanks,

Mike McCollister

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

Reply via email to