Re: [MSEide-MSEgui-talk] Different font and image color selected row in twidgetgrid

2017-04-14 Thread Krzysztof
2017-04-14 13:55 GMT+02:00 Martin Schreiber :

> 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?
--
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


Re: [MSEide-MSEgui-talk] imagelist's cornermask (again! )

2017-04-14 Thread Martin Schreiber
On Tuesday 11 April 2017 17:21:54 Martin Schreiber wrote:
> On Tuesday 11 April 2017 16:29:08 code dz wrote:
> > 2017-04-11 14:47 UTC+01:00, code dz :
> > > Hi
> > > iam just stuck in finishing tab skin , my tab shape has 2 top round
> > > corners , and 2 bottom squares corners , now the timagelist.cornermask
> > > applies on all corners , you can see the screenshot how the mask
> > > affects the bottom corners .
> > >
> > > so how to avoid this ?
> > > thanks
> >
> > seems hiddenedges is the only way ;)
>
> It is also planned to add individual corner masks to timagelist. Because
> timagelist will be used by many widgets the overhead is acceptable IMO.
>
Done, git master bedb32e46c5eff2f9c5db55bf32d7d2712767e47.

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


Re: [MSEide-MSEgui-talk] Different font and image color selected row in twidgetgrid

2017-04-14 Thread Martin Schreiber
On Thursday 13 April 2017 06:35:04 Martin Schreiber wrote:
> On Wednesday 12 April 2017 19:47:12 Krzysztof wrote:
> > Great, seems doable but can't understand ttreeitemedit1.itemlist.imnr_X
> > policy. Can you explain that too?
>
> The actual image number is the sum of the node image number and the state
> values either direct or the lookup value provided by TImageList.ImageLookup
> if it is not empty.
> Assume an empty ImageLookup property, ItemList.imnr_selected = 1, -> the
> image number of a not selected node is the value in TListItem.imagenr, for
> a selected node it is TListItem.imagenr + 1.
> Maybe there also should be imnr_active and imnr_focused for you.
>
Done, git master bedb32e46c5eff2f9c5db55bf32d7d2712767e47.

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


Re: [MSEide-MSEgui-talk] Rounded-tabs ofe ttabwidget ?

2017-04-14 Thread Martin Schreiber
On Thursday 13 April 2017 21:00:48 Fred van Stappen wrote:
> Martin, I have to say a other big WoW.
>
>
> Open 2 instances of MSEide, with 2 different projects.
>
>
> Copy a widget from one instance (project 1).
>
>
> On the second instance (project 2), paste the widget in a form.
>
>
> The widget is there, with all the properties of project 1.
>
Yup, that's RAD. ;-)

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