Re: TreeView problem

new topic     » goto parent     » topic index » view thread      » older message » newer message

From: Matthew Lewis <matthewwalkerlewis at YAHOO.COM>

> Looks like your demo got mangled.  However, getItem doesn't work for
> TreeView's, although it probably should.  
> 
> To make getItem work with TreeViews, you'll need to change getItem:
> and not find(window_type[ id ], {ComboBoxEx, ListView} )
> 
> to

> and not find(window_type[ id ], {ComboBoxEx, ListView, TreeView} )
> 
> and then add an elsif clause beneath the processing for ListView's:
> 
> elsif window_type[id] = TreeView then
>     if item then
>         return peek_string( tvitem_data[item][3] )
>     else
>         return ""
>     end if
> 

Many Thanks! That works fine.

Regards,
Irv

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu