Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #7437 > unrolled thread
| Started by | dextrasistemas.jorge@gmail.com |
|---|---|
| First post | 2014-11-18 07:51 -0800 |
| Last post | 2014-11-21 17:20 +0100 |
| Articles | 7 — 3 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
SEUIXP WIN 7 dextrasistemas.jorge@gmail.com - 2014-11-18 07:51 -0800
Re: SEUIXP WIN 7 Camille Kater <katercam@pt.lu> - 2014-11-18 17:44 +0100
Re: SEUIXP WIN 7 dextrasistemas.jorge@gmail.com - 2014-11-18 10:42 -0800
Re: SEUIXP WIN 7 Camille Kater <katercam@pt.lu> - 2014-11-18 20:17 +0100
Re: SEUIXP WIN 7 D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2014-11-19 00:39 +0100
Re: SEUIXP WIN 7 dextrasistemas.jorge@gmail.com - 2014-11-21 03:02 -0800
Re: SEUIXP WIN 7 D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2014-11-21 17:20 +0100
| From | dextrasistemas.jorge@gmail.com |
|---|---|
| Date | 2014-11-18 07:51 -0800 |
| Subject | SEUIXP WIN 7 |
| Message-ID | <cc3a98df-366e-4a39-a17f-bda44379431d@googlegroups.com> |
Hello everyone
The following line does not work on win 7 64 bit ...
OTB: SetBandBackground (Color {192,192,192})
(I like the solid colors) But it works well
in windows 2003 server ......
I would like same for the menu ...
Is there any way to make the library work
same in win 7?
TIA
Jorge Accinelli
[toc] | [next] | [standalone]
| From | Camille Kater <katercam@pt.lu> |
|---|---|
| Date | 2014-11-18 17:44 +0100 |
| Message-ID | <1416329974_1@vo.lu> |
| In reply to | #7437 |
Hello,
The correct use is (from the help):
METHOD SetBandBackground(uBand, uBitmap_Color) CLASS SEToolBar
Arguments
<uBand>
The symbolic name of the band or the numeric band index - the index
base is 1.
[<uBitmap_Color>]
A Bitmap or a Color object. Also the color can be specified by a DWORD
RGB value.
If uBitmap_Color is NIL or Null_Object a former assigned background
bitmap is removed.
Camille
On 18/11/2014 16:51, dextrasistemas.jorge@gmail.com wrote:
> Hello everyone
>
> The following line does not work on win 7 64 bit ...
> OTB: SetBandBackground (Color {192,192,192})
>
> (I like the solid colors) But it works well
> in windows 2003 server ......
> I would like same for the menu ...
>
> Is there any way to make the library work
> same in win 7?
>
> TIA
> Jorge Accinelli
>
[toc] | [prev] | [next] | [standalone]
| From | dextrasistemas.jorge@gmail.com |
|---|---|
| Date | 2014-11-18 10:42 -0800 |
| Message-ID | <9c1f3c68-8a8a-4c61-90c3-2e95c978d23b@googlegroups.com> |
| In reply to | #7437 |
El martes, 18 de noviembre de 2014 12:51:20 UTC-3, dextrasist...@gmail.com escribió:
> Hello everyone
>
> The following line does not work on win 7 64 bit ...
> OTB: SetBandBackground (Color {192,192,192})
>
> (I like the solid colors) But it works well
> in windows 2003 server ......
> I would like same for the menu ...
>
> Is there any way to make the library work
> same in win 7?
>
> TIA
> Jorge Accinelli
Thanks for your answer ....
But this use does not function correctly on Win 7 64 ...
or am I wrong?
Please if you can check it ....
tell me the result
Thanks
Jorge
[toc] | [prev] | [next] | [standalone]
| From | Camille Kater <katercam@pt.lu> |
|---|---|
| Date | 2014-11-18 20:17 +0100 |
| Message-ID | <1416339152_3@vo.lu> |
| In reply to | #7439 |
Hi,
I use this on Win 7 and Win 8.1 64 bit
Camille
On 18/11/2014 19:42, dextrasistemas.jorge@gmail.com wrote:
> El martes, 18 de noviembre de 2014 12:51:20 UTC-3, dextrasist...@gmail.com escribió:
>> Hello everyone
>>
>> The following line does not work on win 7 64 bit ...
>> OTB: SetBandBackground (Color {192,192,192})
>>
>> (I like the solid colors) But it works well
>> in windows 2003 server ......
>> I would like same for the menu ...
>>
>> Is there any way to make the library work
>> same in win 7?
>>
>> TIA
>> Jorge Accinelli
>
> Thanks for your answer ....
>
> But this use does not function correctly on Win 7 64 ...
> or am I wrong?
> Please if you can check it ....
> tell me the result
>
> Thanks
> Jorge
>
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2014-11-19 00:39 +0100 |
| Message-ID | <jkln6a1mdhbbs09n9ce51vfl1l3qa504nk@4ax.com> |
| In reply to | #7439 |
On Tue, 18 Nov 2014 10:42:29 -0800 (PST),
dextrasistemas.jorge@gmail.com wrote:
Hello Jorge,
>> The following line does not work on win 7 64 bit ...
>> OTB: SetBandBackground (Color {192,192,192})
I use
SELF:SetBandBackground(,TBBackground{})
CLASS TBBackground INHERIT Bitmap
METHOD INIT() CLASS TBBackground
SUPER:INIT(ResourceID{"TBBackground", _GetInst()})
RETURN SELF
I picked it up from a sample; it gives a blue 'fading' background
from a bitmap defined like this: RESOURCE TBBackground Bitmap
c:\voicons\Coolbg2.bmp. It works everywhere, from Server 2003 to W7 -
and W 8.1 64 bits.
The source of SetBandBackground checks if SetBandBackground is an
instance of #Bitmap, #Color, #Brush - does the above work for you (?
Else you may want to try passing a brush.
Dick
[toc] | [prev] | [next] | [standalone]
| From | dextrasistemas.jorge@gmail.com |
|---|---|
| Date | 2014-11-21 03:02 -0800 |
| Message-ID | <42d16ec7-8484-4050-bdbb-8c8c2c21a8e6@googlegroups.com> |
| In reply to | #7437 |
El martes, 18 de noviembre de 2014 12:51:20 UTC-3, dextrasist...@gmail.com escribió:
> Hello everyone
>
> The following line does not work on win 7 64 bit ...
> OTB: SetBandBackground (Color {192,192,192})
>
> (I like the solid colors) But it works well
> in windows 2003 server ......
> I would like same for the menu ...
>
> Is there any way to make the library work
> same in win 7?
>
> TIA
> Jorge Accinelli
Thanks Dick ! it works fine ....
Now remains just one problem
In a app BasicTopAppWindow
do not work
oSEViewScheme:ColorBarBackground := RGB ( 192,192,192 ) ....
What i want is a solid background color for menu bar ..
Best regards
jorge
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2014-11-21 17:20 +0100 |
| Message-ID | <k5pu6ahnkfppoojp6huuncnlokd9b64s28@4ax.com> |
| In reply to | #7465 |
On Fri, 21 Nov 2014 03:02:09 -0800 (PST),
dextrasistemas.jorge@gmail.com wrote:
Hello Jorge,
>Thanks Dick ! it works fine ....
>Now remains just one problem
>
>In a app BasicTopAppWindow
>do not work
>oSEViewScheme:ColorBarBackground := RGB ( 192,192,192 ) ....
>
>What i want is a solid background color for menu bar ..
>
Good you got the first one working. I don't use this myself. This is
the relevant code within SetColorValue(xColor, xName) so it looks like
you have to provide a colour name as well.
IF IsInstanceOfUsual(xColor, #Color)
dwColor := xColor:ColorRef
ELSEIF IsNumeric(xColor)
dwColor := xColor
ELSE
RETURN SELF
ENDIF
IF (symName := SELF:__GetColorVar(xName)) != NULL_SYMBOL
IVarPut(SELF, symName, dwColor)
ENDIF
Dick
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web