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) ENDWITHOther 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?