GeeZ my mail always gets trashed anymore!
this is passed a FIELDID called fieldID

void SetRectFromField(Word
dID){  
 FieldPtr fld = FrmGetObjectPtr(FrmGetActiveForm(),
FrmGetObjectIndex(FrmGetActiveForm(),fieldID));
displayRect.topLeft.x = fld->rect.topLeft.x;
displayRect.topLeft.y = fld->rect.topLeft.y;
displayRect.extent.x = fld->rect.extent.x;
 displayRect.extent.y = fld->rect.extent.y;
 }







-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to