Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG on BUG: Label Caption syntax error is not trappable.
Message
From
18/06/2003 11:15:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
BUG on BUG: Label Caption syntax error is not trappable.
Miscellaneous
Thread ID:
00801179
Message ID:
00801179
Views:
50
Hi,

on Message #801095 i show because Label Caption have a bug.

Now i found another problem:
public oForm
oForm = CREATEOBJECT("myForm")
oForm.Show()
DEFINE CLASS myForm as FORM
	ADD OBJECT  lab AS label WITH left=50,top=10,Caption='='

	ADD OBJECT cmd as commandbutton WITH top=40

	 PROCEDURE cmd.Click
 	 	ON ERROR MESSAGEBOX("Trap in Error")
 	 	TRY
	 		thisform.lab.Caption='='
	 	CATCH
	 		MESSAGEBOX("Trap in Catch")
	 	ENDTRY
	 	ON ERROR
	 PROCEDURE cmd.Error
		PARAMETERS nError, cMethod, nLine
	 	MESSAGEBOX("Trap in Event")
ENDDEF
Is not possible trap "Syntax Error".

Fabio
Next
Reply
Map
View

Click here to load this message in the networking platform