Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #13468
| From | JohnMartens <martens@tennishulp.info> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Returning the background color of an SLE |
| Date | 2021-11-17 07:35 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <sn27qs$emt$1@dont-email.me> (permalink) |
| References | <746f6201-4b40-4d04-ad7d-9aa4e1a24177n@googlegroups.com> |
Hi,
Just looked in the help file.
Background of SLE inherits the Background fom the Control class
It is not strong typed but is a brush. Looks like the brush is a class
that designed to be set to a value more that the properties to be read
Look in the help for the brush class and maybe find more info in
https://groups.google.com/g/comp.lang.clipper.visual-objects
John
Op 17-11-2021 om 02:18 schreef jrol...@gmail.com:
> Hi, does anyone know how to return the RBG values for the background of an SLE, please? I've got the TextColor worked out, but cannot for the life of me find out how to do the same thing for the background. I want to retrieve the background colour of the SLE in exactly the same way as I am for the TextColor so I can save it to a DBF, for restoration later "on the fly"
>
> This is how I'm saving the TextColor:
>
> self:oDCP1BTNNAME:TextColor:Blue
> self:oDCP1BTNNAME:TextColor:Red
> self:oDCP1BTNNAME:TextColor:Green
>
> Attempting to do the same with the Background like:
> self:oDCP1BTNNAME:Background:Red
> Returns : {(0x0010)0x05D7F7AC} CLASS COLOR
>
> And a NO Exported Variable message Function iVARGET Arguement: RED
>
> Any ideas please?
>
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Returning the background color of an SLE "jrol...@gmail.com" <jrollo64@gmail.com> - 2021-11-16 17:18 -0800
Re: Returning the background color of an SLE JohnMartens <martens@tennishulp.info> - 2021-11-17 07:35 +0100
Re: Returning the background color of an SLE "jrol...@gmail.com" <jrollo64@gmail.com> - 2021-11-17 14:16 -0800
Re: Returning the background color of an SLE "Karl-Heinz" <invalid@invalid.invalid> - 2021-11-18 11:08 +0100
Re: Returning the background color of an SLE "jrol...@gmail.com" <jrollo64@gmail.com> - 2021-11-18 14:20 -0800
Re: Returning the background color of an SLE "jrol...@gmail.com" <jrollo64@gmail.com> - 2021-11-18 14:44 -0800
Re: Returning the background color of an SLE "jrol...@gmail.com" <jrollo64@gmail.com> - 2021-11-18 15:39 -0800
Re: Returning the background color of an SLE "Karl-Heinz" <invalid@invalid.invalid> - 2021-11-19 07:00 +0100
csiph-web