Re: greying out columns in a dataGrid

2023-12-04 Thread Hershel F via use-livecode
Good, getting there. thanks. just need that the row dividers should be a different color then the cells. Hershel > On Dec 1, 2023, at 9:10 AM, Klaus major-k via use-livecode > wrote: > > Hi Craig, > > always watch out for LINEBREAKS like here! > >> Am 01.12.2023 um 15:04 schrieb Craig

Re: greying out columns in a dataGrid

2023-12-01 Thread Klaus major-k via use-livecode
Hi Craig, always watch out for LINEBREAKS like here! > Am 01.12.2023 um 15:04 schrieb Craig Newman via use-livecode > : > on mouseUp > ## Needs to be ONE line, see parameters of -> DG_ColorColumn > ... > dispatch "DG_ColorColumn" to grp "datagrid 1" with "col 2", "211,211,211", > "srcCopy" >

Re: greying out columns in a dataGrid

2023-12-01 Thread Craig Newman via use-livecode
Zyrip. Almost, and very good, since I do not understand DG’s at all. I changed your offering to: on mouseUp dispatch "DG_ColorColumn" to grp "datagrid 1" with "col 2", "211,211,211" —srcCopy —no such command end mouseUp on DG_ColorColumn pColName, pColor, yellow set the opaque of grp

Re: greying out columns in a dataGrid

2023-11-30 Thread zryip theSlug via use-livecode
Hi Hershel, A possible solution consists to add this handler in the datagrid group script: *command* DG_ColorColumn pColName, pColor, pInk * set* the opaque of grp pColName of me to (pColor is not empty) set the backcolor of grp pColName of me to pColor set the ink of grp pColName of me to

Re: greying out columns in a dataGrid

2023-11-30 Thread Paul Dupuis via use-livecode
On 11/30/2023 4:41 PM, Hershel F via use-livecode wrote: sorry my mistake. does not have to be greyed out should be a gray color. or to rephrase the question properly, how the change the color to gray? Ah! I am pretty sure it can be done, but I do not know how to do it exactly. By guess is

Re: greying out columns in a dataGrid

2023-11-30 Thread Hershel F via use-livecode
sorry my mistake. does not have to be greyed out should be a gray color. or to rephrase the question properly, how the change the color to gray? thanks , Hershel > On Nov 30, 2023, at 4:36 PM, Paul Dupuis via use-livecode > wrote: > > Usually, you do not disable or grey-out columns in a

Re: greying out columns in a dataGrid

2023-11-30 Thread Paul Dupuis via use-livecode
Usually, you do not disable or grey-out columns in a Datagrid, but make them invisible (hide or show the column) if they are not applicable to some view you want. On 11/30/2023 4:04 PM, Hershel F via use-livecode wrote: Hi all how is it done to grey out a column or multiple columns in data