Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equivalent of Nothing in VB
Message
De
09/06/2005 10:38:15
 
 
À
09/06/2005 09:39:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01021162
Message ID:
01021792
Vues:
15
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform