[Gambas-user] How to make a treeview un-clickeable

M0E Lnx m0e.lnx at ...626...
Tue Nov 4 19:41:50 CET 2008


THanks

On Tue, Nov 4, 2008 at 10:58 AM, Benoit Minisini
<gambas at ...1...> wrote:
> On mardi 4 novembre 2008, M0E Lnx wrote:
>> Can anyone suggest a way to do this?
>>
>> I have a treeview which I intend to use as a simple list of tasks to
>> perform. The treeview selection and pictures and stuff are controlled and
>> affected by other objects in the form.
>>
>> What I need is a way to keep the user from clicking on different items
>> on the treeview, because the seleced = true proerty changes when the
>> user clicks on it.
>>
>> I really dont want to use the treeview.enabled = false method. This
>> grays out the entire trieeview.
>> I need it to look alive, but yet be locked for any clicking
>>
>
> TreeView.Mode = TreeView.None ?
>
> --
> Benoit Minisini
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list