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 of the world's most e

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

2017-04-17 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 cl_none.

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

2017-04-17 Thread Krzysztof
2017-04-16 7:17 GMT+02:00 Martin Schreiber : > > Or > " > imagenr:= -bigint Right, I just wanted be sure if negative values are not reserved for something -- Check out the vibrant tech community on one of the world's mos

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 arrow :D . It > > > >

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

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 Martin Schreiber
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 arrow :D . It it > > > > also > > > > > possible change image when node is selected? At

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

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

2017-04-14 Thread 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 colorglyphactiv

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

2017-04-13 Thread Martin Schreiber
On Thursday 13 April 2017 21:00:10 Krzysztof wrote: > Noticed that I had unsaved project before zipping it. Please download again > from attachment A copy-paste error more than 10 years ago, sorry. Please try again with git master f003fd1c37fb5a1ff787798d99286249b8a98177. Martin ---

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

2017-04-13 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

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 empty. > > Assume an empt

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

2017-04-13 Thread Krzysztof
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 empty. > Assume an empty ImageLookup property, ItemList.imnr_selected = 1, -> the >

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 TImageL

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! http://sdm.link

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

2017-04-11 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 select

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 init > with > > brighte

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? T*G