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

Re: resizeControl wishes...

2023-11-30 Thread Paul Dupuis via use-livecode
On 11/30/2023 2:20 PM, Brian Milby via use-livecode wrote: Groups get the message when resize happens by script. Other objects only receive the message when resized by hand. Brian Milby br...@milby7.com Except, the "PowerButton" widget actually receives "resizeControl" just as a group does

greying out columns in a dataGrid

2023-11-30 Thread Hershel F via use-livecode
Hi all how is it done to grey out a column or multiple columns in data grid according a calculation? thanks, Hershel ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Your scripts as a flowchart

2023-11-30 Thread Andreas Bergendal via use-livecode
Hi all, Finally I can answer Yes to the question on exporting script flowcharts! New version of WIS_ScriptDependencies available: v1.1.5 (30 Nov 2023) - Enhancement: Flowcharts can now be produced and exported as PNG or SVG. On Windows and Linux the flowchart is now always displayed in-stack,

Re: resizeControl wishes...

2023-11-30 Thread Brian Milby via use-livecode
Groups get the message when resize happens by script. Other objects only receive the message when resized by hand. Brian Milby br...@milby7.com > On Nov 30, 2023, at 1:51 PM, Paul Dupuis via use-livecode > wrote: > > Thank you Richard. > > I see what the issue for me was. Groups do indeed

Re: resizeControl wishes...

2023-11-30 Thread Paul Dupuis via use-livecode
Thank you Richard. I see what the issue for me was. Groups do indeed receive a resizeControl message automatically if the rect is changed by script. However, the message (resizeControl) use seems inconsistent. For example, while a group does received the resizeControl message, a field does

Re: resizeControl wishes...

2023-11-30 Thread ambassador--- via use-livecode
Craig Newman wrote: > “reSizeControl” is a message. What I mean by that is if you are already > running under script control, why do you need to send such a message at > all? Can’t your handler do whatever you needed to if the user did the > actual resize action? He's asking about resizing that

Re: resizeControl wishes...

2023-11-30 Thread Alex Tweedly via use-livecode
On 30/11/2023 16:05, Paul Dupuis via use-livecode wrote: resizeControl is sent "only sent when the user resizes a control by dragging its handles. It is not sent if a handler changes the size of a control by changing its properties (width, height, and so on)." Basically, that dictionary

Re: resizeControl wishes...

2023-11-30 Thread Craig Newman via use-livecode
Paul. “reSizeControl” is a message. What I mean by that is if you are already running under script control, why do you need to send such a message at all? Can’t your handler do whatever you needed to if the user did the actual resize action? Craig > On Nov 30, 2023, at 11:05 AM, Paul Dupuis

resizeControl wishes...

2023-11-30 Thread Paul Dupuis via use-livecode
resizeControl is sent "only sent when the user resizes a control by dragging its handles. It is not sent if a handler changes the size of a control by changing its properties (width, height, and so on)." Does anyone else really really wish that resizeControl was set when the control's size is