Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equivalent of Nothing in VB
Message
 
 
À
08/06/2005 13:43:10
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:
01021522
Vues:
21
Greg,

You may need to get someone more familiar with what the exact binary definition of nothing is in VB to be able to get this to work from VFP.

You might try this:
loNothing = createobject( "CodeMax.TokenSet.4" ) && get this as an ActiveX object
loNothing = .NULL. && now zap it

loText = CREATEOBJECT("CodeMax.TokenSet.4")
WITH loText
	.Name = "Text"
	.Id   = cmTsIdText
	.ValidScopes.Add(loNothing)
ENDWITH
Other than that you'll have to figure out how nothing is defined to be able to find the right argument to pass this Add() method. Have you checked the Wiki http://fox.wikis.com/wc.dll?Wiki~FoxForumWiki and/or Googled to see if anyone else has worked out using the CodeMax controls from VFP?

>You will need to install the CodeMax control (demo available from http://www.winmain.com) in order to be able to execute the code. The above sample is being converted from a VB example that is included with CodeMax. From the developer of the control, the Nothing keyword in the Add method parameter is required to set the scope to global of the loText object.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform