[Gambas-user] TreeView item focus

Fabien Bodard gambas.fr at ...626...
Sat Aug 22 19:40:11 CEST 2009


you can do that by hand !

no ?

in TreeView_Expand()

Last.Item.Selected=true



On some case we don't want to change the item selected.... so by
default it is better like that




2009/8/22 Jean-Yves F. Barbier <12ukwn at ...626...>:
> Benoît Minisini a écrit :
>>> Hi list,
>>>
>>> Is it normal that expanding a branch in TreeView doesn't give focus to the
>>> root item of this branch (it stays on TreeView root), as this prevents
>>> forbidding an expand under conditions?
>>>
>>> JY
>>
>> Expanding a branch should not change the focused item. Why ?
>
> Yes, this is the question: I don't understand why the developed branch' father
> don't become the Current item.
>
>> And please remind us if you use gb.qt or gb.gtk, as their behaviour may not be
>> the same even if it should.
>
> oops, forgot one more time :(
>
> 2.15.2 regular Debian sid package
> gb.qt
>
> JY
> --
> If they sent one man to the moon, why can't they send them all?
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> 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