Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CRASH: edibox with a memo null expression
Message
From
24/03/2009 12:28:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
CRASH: edibox with a memo null expression
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01391062
Message ID:
01391062
Views:
96
Bind a memo expression with NULL value destroy VFP
PUBLIC oform1

oform1=NEWOBJECT("form1")
oform1.Show

DEFINE CLASS form1 AS form

	egb = (CAST(NULL AS M))	&& CAST TO M

	ADD OBJECT edit1 AS editbox WITH ;
		ControlSource = "(THISFORM.EGB)"	&& FORCE A () EXPRESSION
*		ControlSource = "(CAST(NULL AS M))"  && DIRECT WAY
ENDDEFINE
Next
Reply
Map
View

Click here to load this message in the networking platform