Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code that will work only with a Wait Window
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Code that will work only with a Wait Window
Miscellaneous
Thread ID:
00759820
Message ID:
00759820
Views:
54
Hi all

The following is the code I have in the LostFocus of a textbox for a textbox builder (using builderb supplied with codebook and VFP6SP5)
DODEFAULT()


IF !EMPTY(THIS.VALUE)
	LOCAL loOO

	loOO = EVALUATE(STRTRAN(ALLTRIM(LOWER(THIS.PARENT.txtcAssociatedLabel.VALUE)), "this.parent", "thisform.oobject.parent"))

*!*		KEYBOARD "{Enter}"
*!*		WAIT WINDOW
	
*!*		WAIT WINDOW TIMEOUT .01
	
*!*		WAIT WINDOW TIMEOUT .10
	
*!*		WAIT WINDOW TIMEOUT .50
	
	WAIT WINDOW "Please wait..." TIMEOUT .55
	
	loOO.TOOLTIPTEXT = THIS.VALUE
ENDIF
what I am trying to do here is that the tooltip for the textbox is also assigned to the tooltip of the label associated with this textbox, fine.

Without the wait window line this code will generate an error for "Expression evaluated to an illegal value". Neither am I allowed to remove this wait window nor automate it, as in the commented examples. Timeout >= .55 or no timeout will make the error goes away.

Any idea what is happening.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Next
Reply
Map
View

Click here to load this message in the networking platform