Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG on BUG: Label Caption syntax error is not trappable.
Message
From
20/06/2003 12:07:46
 
 
To
18/06/2003 11:15:23
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00801179
Message ID:
00802260
Views:
12
Thanks for bringing this to our attention! I sent it up the line on your behalf.


>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
Jim Saunders
Microsoft
This posting is provided “AS IS”, with no warranties, and confers no rights.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform