Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code that will work only with a Wait Window
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Code that will work only with a Wait Window
Divers
Thread ID:
00759820
Message ID:
00759820
Vues:
49
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
___________________________________________
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform