> Le 27 déc. 2017 à 14:41, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> a
> écrit :
>
> if you, like me, are intrigues by object notation and the new "Form" command,
> I've posted an example UI on GitHub, a custom form for backup settings.
>
>
> Le 27 déc. 2017 à 17:41, John Baughman via 4D_Tech <4d_tech@lists.4d.com> a
> écrit :
>
> [...] needing to create a background file when each time I find the need for
> a different color that I don’t already have.
You can draw with svg on the fly and set it as background using a variable
> On Dec 27, 2017, at 2:11 AM, Arnaud de Montard via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
>
> Having a set of # background rectangles of # colors in Resources folder, in
> properties list, choose:
That is a good way to do it and you can change the background color by
switching files with
if you, like me, are intrigues by object notation and the new "Form" command,
I've posted an example UI on GitHub, a custom form for backup settings.
https://github.com/miyako/4d-utility-backup-dialog
there is almost no code written for the form,
yet it provides access to all configurable
> Le 26 déc. 2017 à 18:19, John Baughman via 4D_Tech <4d_tech@lists.4d.com> a
> écrit :
>
> [...]
> I have always hated the inability to change the background color of a button.
> For form buttons that need a colored background, I use a rounded rectangle or
> image with a Highlight button on
> Le 26 déc. 2017 à 18:19, John Baughman via 4D_Tech <4d_tech@lists.4d.com> a
> écrit :
>
> [...]
> I have always hated the inability to change the background color of a button.
> For form buttons that need a colored background, I use a rounded rectangle or
> image with a Highlight button on
> On Dec 26, 2017, at 6:24 AM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> I did just discover I can set the help tip for each header object!
Very timely Kirk, thanks. I just found a need to implement help tips in a list
box’s header and remembered your comment. A bit of a
Thanks everyone!
Ah but yes. In this exercise I forgot that the header is in fact a button.
I have always hated the inability to change the background color of a button.
For form buttons that need a colored background, I use a rounded rectangle or
image with a Highlight button on top.
John
Hi all,
On Tue, Dec 26, 2017 at 7:51 AM, Kirk Brooks wrote:
> I wonder if you can call OBJECT SET FORMAT on them too? Probably can't
> change the button type (which looks like 3D-bevel) but that does open up
> the formatting options a bit. Simply changing the button from
er 2017 03:48
An: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: John Baughman <john...@hawaii.rr.com>
Betreff: List Box Header background color programatically.
I have tried…
OBJECT SET RGB COLORS(*;"Day"+String($k)+”Header”;Foreground
color;$weekEndColor)
OBJECT
John,
Listbox headers are essentially buttons so I think you've got the same
options as buttons and setting the background color isn't one of them. You
could make a graphic and load it as the icon but that would involve
re-drawing it if the column changed size.
I wonder if you can call OBJECT SET
I have tried…
OBJECT SET RGB COLORS(*;"Day"+String($k)+”Header”;Foreground
color;$weekEndColor)
OBJECT SET COLOR OBJECT SET
COLOR(*;"Day"+String($k)+"Header";-(Foreground color +(256* weekEndColor)))
I can get the foreground color to work, but not the background.
Or is it
12 matches
Mail list logo