Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalent of Nothing in VB
Message
From
09/06/2005 10:38:15
 
 
To
09/06/2005 09:39:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01021162
Message ID:
01021792
Views:
14
I did an expanded code sample to try your method for passing a 'Nothing' parameter:

loText = CREATEOBJECT('CodeMax.TokenSet.4')
WITH loText
.Id = cmTsIdText
.Name = "Text"
.ValidScopes.Add(loScopeKeywords)
loInterface = GETINTERFACE(.ValidScopes,'ITokenSets')
loInterface.Add()
ENDWITH

It would execute, but the desired effect did not occur (had additional TokenSet defines and set the scoping of each). The scoping of each TokenSet was not set as needed in the Add method. Additionally, when closing the form in VFP, VFP crashed (possibly something hanging in the ActiveX).

I have solved the basic problem using the other option of defining the layout in XML and then loading that.

Thanks for your help.
Previous
Reply
Map
View

Click here to load this message in the networking platform