CDK_App.GetFirstSelection and TD3.0

forum.cdk (1998-2005) & (2005-2010)

CDK_App.GetFirstSelection and TD3.0

Post by IPConfig » 21 Nov 2006, 00:55

 Posted by:  IPConfig 

Hello NG.

I have the following Code under TD 3.0

If CDK_App.InitApp ( SalStrToNumber ( strArgArray[1] ) )
Set bItemSelect = CDK_App.GetFirstSelection( aItem )
If bItemSelect
Call CDK_App.GetFirstSelection(aStartItem)

Unfortunatly aItem is always empty and bItemSelect is always FALSE

I guess its a known error, but what would be a workaround?

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 2366
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Re: CDK_App.GetFirstSelection and TD3.0

Post by Jeff Luther » 21 Nov 2006, 02:21

 Posted by:  Jeff Luther 

Not sure exactly what you want... Is it GetTopItem() ?? That "Gets
the first item in the application". If this is what you, try that
function. Also see my CDKTutorial code sample on my link below
for an overview of getting to different parts of the appl. and
finding out what's there using the CDK.

If you are still stuck, it is always a good idea to submit a test
appl. which compiles and shows your problem. That's often lots
easier than trying to decipher a code fragment.

Best Regards,
Jeff Luther/PC Design

Return to “td.cdk”

Who is online

Users browsing this forum: [Ccbot] and 0 guests