General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only