the FldSetSelection is required, and is the correct way to set, change, or
remove the selection.
----- Original Message -----
From: Mike Davis <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 30, 1999 8:27 PM
Subject: Clearing Field Background
> I display text in a non-editable field with:
> FldSetTextPtr(fldp, s);
> FldDrawField(fldp);
>
> Upon 'selecting' this text the field is highlighted. Then when I
> subsequently display text to this field, with FldSetTextPtr,
> everything is rewritten except that the bottom couple of lines is
> still highlighted.
>
> If I place FldSetSelection(fldp,0,0) prior to these two
> function calls, the problem is fixed. But I'm not sure this is
> the best way to make sure _all_ of the highlight is removed,
> in a non-editable field.
>
> What is the best way to fix this problem?