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

2017-04-19 Thread Krzysztof
2017-04-18 8:17 GMT+02:00 Martin Schreiber : > > > There is a new property ttreeitemedit.itemlist.colorlineactive. Please > set it > to cl_none. Thanks! -- Check out the vibrant tech community on one

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

2017-04-18 Thread Martin Schreiber
On Monday 17 April 2017 20:02:55 Krzysztof wrote: > > Many thanks! Noticed something strange after this update. See attached > screens. Root lines appears on selected nodes, I don't think they were > earlier There is a new property ttreeitemedit.itemlist.colorlineactive. Please set it to

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

2017-04-16 Thread Martin Schreiber
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 : > > > On Friday 14 April 2017 12:43:01 Krzysztof wrote: > > > > Thanks a lot! Only one thing left, the expand box aka

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

2017-04-15 Thread Martin Schreiber
On Sunday 16 April 2017 02:21:23 Krzysztof wrote: > Ah and another question. What if some node doesn't have image and should > not have any selected image neither? Is it safe to set: > > constructor TDataNode.create(const aowner: tcustomitemlist; > const aparent: ttreelistitem); > begin >

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

2017-04-15 Thread Krzysztof
Ah and another question. What if some node doesn't have image and should not have any selected image neither? Is it safe to set: constructor TDataNode.create(const aowner: tcustomitemlist; const aparent: ttreelistitem); begin inherited create(aowner, aparent); imagenr := imagelist.count *

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

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

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

2017-04-13 Thread Martin Schreiber
On Thursday 13 April 2017 13:14:06 Krzysztof wrote: > 2017-04-13 6:35 GMT+02:00 Martin Schreiber : > > 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

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

2017-04-12 Thread Martin Schreiber
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

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

2017-04-12 Thread Krzysztof
Great, seems doable but can't understand ttreeitemedit1.itemlist.imnr_X policy. Can you explain that too? -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

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

2017-04-12 Thread Martin Schreiber
On Tuesday 11 April 2017 21:45:03 Krzysztof wrote: > Can you explain this? Lets say that I have timagelist1 which contain images > for normal grid state, initialized with timagelist1.bitmap.init(cl_black) > or any other color and second timagelist2 which contain exactly same images > but for

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

2017-04-11 Thread Krzysztof
2017-04-10 13:36 GMT+02:00 Martin Schreiber : > > > 2. Is it possible to set different image for selected row in > ttreeitemedit? > > My icons are dark and I would like to set them as "negative" color when > > selected. So it should be also from different timagelist (which I

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

2017-04-10 Thread Martin Schreiber
On Sunday 09 April 2017 20:46:10 Krzysztof wrote: > Hi Martin, > > Two questions: > 1. How to change font color for selected row in twidgetgrid > (ttreeitemedit)? From tscincontroller. Is there any definded color which I > can override by setcolormapvalue()? Something like cl_gridselectedtext?