Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can i set Caption =
Message
 
À
12/09/2005 06:22:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01048637
Message ID:
01048670
Vues:
17
>>is it possible to capture this syntax error in an error event?
>
>sure:
>
>ON ERROR MESSAGEBOX(MESSAGE())
>
This didn't works:
PUBLIC oform1

oform1=NEWOBJECT("form1")
oform1.Show
RETURN


	**************************************************
*-- Form:         form1 (d:\all_zapl\test.scx)
*-- ParentClass:  form
*-- BaseClass:    form
*-- Time Stamp:   09/12/05 01:28:09 PM
*
DEFINE CLASS form1 AS form


	DoCreate = .T.
	Caption = ([=])
	Name = "Form1"


	ADD OBJECT label1 AS label WITH ;
		Caption = ([ =]), ;
		Height = 17, ;
		Left = 39, ;
		Top = 6, ;
		Width = 40, ;
		Name = "Label1"


	PROCEDURE Init
		ON ERROR MESSAGEBOX(MESSAGE(),0,"TEST")
		thisform.Label1.Caption = [=]
	ENDPROC



ENDDEFINE
*
*-- EndDefine: form1
**************************************************
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform