Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TextBox

Status
Not open for further replies.

WWinter

MIS
Apr 23, 2000
38
US
I put ThisForm.Refresh() in the textbox lost focus event to refresh the screen when you tab out of the text box but notthing seems to happen. what am I doing wrong.

Thanks Bill
 
What did you expect it to do that maybe it is doing already. Is the field supposed to trigger something?

Frank
 
Hi BIll,
YOu arent doing anything wrong by putting a code.. ThisForm.Refresh in the LOSTFOCUS of the text box. It still fires. You can check that .. y inclusing in your Forms.Refresh() event..
WAIT WINDOW "I am refreshing "+ThisForm.Text1.Value NOWAIT
assuming TExt1 is of character type.

But what you may be missing is that.. you could have coded something in the valis event of TextBox.. which will fire only if you change something in the textbox. Simple TABing out of Textbox will not fire valid event. However.. LOSTFOCUS will fire surely.

If you need more specific help, you can ask for that. :) ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
Merry Christmas & Happy New Year [bigears] [party] [2thumbsup]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top