1. [Win32Lib] programmatically select TreeView item?
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Jun 26, 2003
- 472 views
Is there some way to programmatically select a TreeView item? Dan Moyer
2. Re: [Win32Lib] programmatically select TreeView item?
- Posted by Derek Parnell <ddparnell at bigpond.com> Jun 26, 2003
- 462 views
On Wed, 25 Jun 2003 18:26:24 -0700 (06/26/03 11:26:24) , Dan Moyer <DANIELMOYER at prodigy.net> wrote: > > > Is there some way to programmatically select a TreeView item? Yes. setIndex( myTV, theItem) where the value in theItem is whatever was returned during addTVItem(). -- cheers, Derek Parnell
3. Re: [Win32Lib] programmatically select TreeView item?
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Jun 26, 2003
- 460 views
Derek, Tried it, both before & after you suggested it, doesn't work for me, running 57.9 As an example, I put "setIndex(TV, folders[2])" into Euman's tvedit.exw demo, first in Activate_MainWin after "expandItem( folders[1] )" (the expand does work), and when that didn't select the second folder, I put the setIndex directly after the creation of the folders, down in "function AppInit", which also didn't work to select the 2nd folder. Am I doing something wrong? Dan Moyer ----- Original Message ----- From: "Derek Parnell" <ddparnell at bigpond.com> To: "EUforum" <EUforum at topica.com> Sent: Wednesday, June 25, 2003 11:00 PM Subject: Re: [Win32Lib] programmatically select TreeView item? > > > On Wed, 25 Jun 2003 18:26:24 -0700 (06/26/03 11:26:24) > , Dan Moyer <DANIELMOYER at prodigy.net> wrote: > > > > > Is there some way to programmatically select a TreeView item? > > Yes. > > setIndex( myTV, theItem) > > where the value in theItem is whatever was returned during addTVItem(). > > -- > > cheers, > Derek Parnell > > > > TOPICA - Start your own email discussion group. FREE! >
4. Re: [Win32Lib] programmatically select TreeView item?
- Posted by Derek Parnell <ddparnell at bigpond.com> Jun 26, 2003
- 461 views
----- Original Message ----- From: "Dan Moyer" <DANIELMOYER at prodigy.net> To: "EUforum" <EUforum at topica.com> Subject: Re: [Win32Lib] programmatically select TreeView item? > > > Derek, > > Tried it, both before & after you suggested it, doesn't work for me, running > 57.9 > > As an example, I put "setIndex(TV, folders[2])" into Euman's tvedit.exw > demo, first in Activate_MainWin after "expandItem( folders[1] )" (the expand > does work), and when that didn't select the second folder, I put the > setIndex directly after the creation of the folders, down in "function > AppInit", which also didn't work to select the 2nd folder. Am I doing > something wrong? > Try the latest version instead. It works in v0.59+ -- Derek