PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: C & GBS, Inc on July 08, 2010, 10:12:58 AM

Title: FF_TextBox_Clear
Post by: C & GBS, Inc on July 08, 2010, 10:12:58 AM
I am using the following code to clear the textbox TXTFIRSTNAME, but it does not clear as I think that it should.

FF_TextBox_Clear (HWND_FRMADDRESSBOOKIII_TXTFIRSTNAME)

What I am trying to do is to clear the textbox after I have written the record.

Thank you,

Buck
Title: Re: FF_TextBox_Clear
Post by: Rolf Brandt on July 08, 2010, 10:18:49 AM
Use this instead:

FF_TextBox_SetText (HWND_FRMADDRESSBOOKIII_TXTFIRSTNAME, "")

FF_TextBox_Clear clears only the current selection in a TextBox.

Rolf
Title: Re: FF_TextBox_Clear
Post by: C & GBS, Inc on July 08, 2010, 10:36:10 AM
Rolf,

That works... and thank you for your time.

Buck
Title: Re: FF_TextBox_Clear
Post by: Rolf Brandt on July 08, 2010, 10:38:47 AM
No problem. Without the help I got from this forum I often would have been lost.