On Friday 14 April 2017 18:11:20 Martin Schreiber wrote:
> On Friday 14 April 2017 17:57:44 Krzysztof wrote:
> > 2017-04-14 13:55 GMT+02:00 Martin Schreiber <mse00...@gmail.com>:
> > > On Friday 14 April 2017 12:43:01 Krzysztof wrote:
> > > > Thanks a lot! Only one thing left, the expand box aka arrow :D . It
> > > > it
> > >
> > > also
> > >
> > > > possible change image when node is selected? Attached updated example
> > > > and screenshot
> > >
> > > It uses itemlist.colorglyph (not published up to now). I can add
> > > colorglyphactive but it does not help because you change
> > > stockobjects.glyphs
> > > from monochrome to rgb where glyph color has no meaning.
> >
> > Yes, I'm overriding stock glyphs with RGB fontawesome. Is there any other
> > trick which don't need messup code on your side?
>
> No, I'll need to add imagelist properties to t*itemlist. Should be doable.
>
git master 266e2400313faabe0a88a3ff41542a0d904cb5b9 has versions in timagelist 
(experimental).
Please do
"
procedure TIconManager.LoadFAIcons;
[...]
    for i24:=Low(ICONS_24) to High(ICONS_24) do
      _Add(ICONS_24[i24].I, cl_default, 0, 0, ICONS_24[i24].S);
    stockobjects.glyphs.versioncount:= 2;
    stockobjects.glyphs.bitmaps[1].init(cl_white);
"
and set frmViewTree1:ttreeitemedit1.itemlist.boxglyph_versionactive to 1.

Martin



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to