Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #6513 > unrolled thread
| Started by | Whizzwilly <whizzwilly@hotmail.co.uk> |
|---|---|
| First post | 2014-01-16 12:19 -0800 |
| Last post | 2014-02-04 02:09 -0800 |
| Articles | 20 on this page of 28 — 13 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Push Button background & font color Whizzwilly <whizzwilly@hotmail.co.uk> - 2014-01-16 12:19 -0800
Re: Push Button background & font color JohnMartens <martens@tennishulp.info> - 2014-01-16 21:34 +0100
Re: Push Button background & font color Whizzwilly <whizzwilly@hotmail.co.uk> - 2014-01-16 20:06 -0800
Re: Push Button background & font color Malcolm G <malcolm-news2012delete@delete.jobstream.com> - 2014-01-17 14:38 +0000
Re: Push Button background & font color Whizzwilly <whizzwilly@hotmail.co.uk> - 2014-01-17 16:03 -0800
Re: Push Button background & font color "Craig Dawson" <craig_dawson@hotmail.com> - 2014-01-18 16:49 +1100
Re: Push Button background & font color Whizzwilly <whizzwilly@hotmail.co.uk> - 2014-01-18 11:43 -0800
Re: Push Button background & font color "Craig Dawson" <craig_dawson@hotmail.com> - 2014-01-20 09:51 +1100
Re: Push Button background & font color Whizzwilly <whizzwilly@hotmail.co.uk> - 2014-01-19 17:42 -0800
Re: Push Button background & font color "Craig Dawson" <craig_dawson@hotmail.com> - 2014-01-20 14:46 +1100
Re: Push Button background & font color "Craig Dawson" <craig_dawson@hotmail.com> - 2014-01-20 14:48 +1100
Re: Push Button background & font color Whizzwilly <whizzwilly@hotmail.co.uk> - 2014-01-20 18:29 -0800
Re: Push Button background & font color Paulo Oliveira <paulo@clipinfor.com> - 2014-02-07 04:30 -0800
Re: Push Button background & font color "Craig Dawson" <craig_dawson@hotmail.com> - 2014-02-09 09:25 +1100
Re: Push Button background & font color jmmicmc@gmail.com - 2014-02-11 07:25 -0800
Re: Push Button background & font color "Craig Dawson" <craig_dawson@hotmail.com> - 2014-02-13 22:02 +1100
Re: Push Button background & font color "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2014-02-16 20:54 +0100
Re: Push Button background & font color Kuno Egger <kuno@retailsoftware.com> - 2014-03-06 23:40 -0800
Re: Push Button background & font color Camille Kater <katercam@pt.lu> - 2014-03-07 10:12 +0100
Re: Push Button background & font color Kuno Egger <kuno@retailsoftware.com> - 2014-03-07 16:44 -0800
Re: Push Button background & font color "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2014-01-18 13:32 +0100
Re: Push Button background & font color "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2014-01-16 23:10 +0100
Re: Push Button background & font color Whizzwilly <whizzwilly@hotmail.co.uk> - 2014-01-16 20:11 -0800
Re: Push Button background & font color Whizzwilly <whizzwilly@hotmail.co.uk> - 2014-01-17 04:53 -0800
Re: Push Button background & font color "John S." <jsommer_notthis_@alltel.net> - 2014-01-17 14:53 -0500
Re: Push Button background & font color Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2014-01-17 21:48 +0100
Re: Push Button background & font color "Fred Killet" <killet-nospam@killetsoft.de> - 2014-01-17 08:40 +0100
Re: Push Button background & font color "richard.townsendrose" <richard.townsendrose@gmail.com> - 2014-02-04 02:09 -0800
Page 1 of 2 [1] 2 Next page →
| From | Whizzwilly <whizzwilly@hotmail.co.uk> |
|---|---|
| Date | 2014-01-16 12:19 -0800 |
| Subject | Push Button background & font color |
| Message-ID | <6fb64df1-6e34-49a0-adbc-b363968ef24a@googlegroups.com> |
Hi all Is there any way of changing the background & font color on a push button ? I wish to show a screen of 10 push buttons and each button should be a different color depending on what category it belongs. I have searched the forum but there doesn't seem to be any clear info or solution to this. I am using Visual Objects 2.8 ( SP2 Build 2830 ) Could anyone shed some light or point me in the right direction. Thanks Paul
[toc] | [next] | [standalone]
| From | JohnMartens <martens@tennishulp.info> |
|---|---|
| Date | 2014-01-16 21:34 +0100 |
| Message-ID | <lb9fnv$cjc$1@dont-email.me> |
| In reply to | #6513 |
Does this do the job ?
oMyPb:Background := Brush{Color{COLORRED}}
oMyPb:TextColor := Color{COLORBLACK}
John
Whizzwilly schreef op 16-1-2014 21:19:
> Hi all
>
> Is there any way of changing the background & font color on a push button ?
>
> I wish to show a screen of 10 push buttons and each button should be a different color depending on what category it belongs.
>
> I have searched the forum but there doesn't seem to be any clear info or solution to this.
>
> I am using Visual Objects 2.8 ( SP2 Build 2830 )
>
> Could anyone shed some light or point me in the right direction.
>
> Thanks
>
> Paul
>
[toc] | [prev] | [next] | [standalone]
| From | Whizzwilly <whizzwilly@hotmail.co.uk> |
|---|---|
| Date | 2014-01-16 20:06 -0800 |
| Message-ID | <6072df62-d6ea-4395-821c-fb621f7643fa@googlegroups.com> |
| In reply to | #6514 |
On Thursday, 16 January 2014 20:34:19 UTC, JohnMartens wrote:
> Does this do the job ?
>
>
>
> oMyPb:Background := Brush{Color{COLORRED}}
>
> oMyPb:TextColor := Color{COLORBLACK}
>
>
>
> John
>
>
Hi John thanks for reply.
This is exactly how i would like to do it and the way VO should do it.
I tried using the way you said but unfortunately it does not work - WHY ???
Please can anybody help with this.
Thanks
Paul
[toc] | [prev] | [next] | [standalone]
| From | Malcolm G <malcolm-news2012delete@delete.jobstream.com> |
|---|---|
| Date | 2014-01-17 14:38 +0000 |
| Message-ID | <PfbCu.4271$_Q7.2279@fx14.am4> |
| In reply to | #6516 |
On 17/01/2014 04:06, Whizzwilly wrote:
> On Thursday, 16 January 2014 20:34:19 UTC, JohnMartens wrote:
>> Does this do the job ?
>>
>>
>>
>> oMyPb:Background := Brush{Color{COLORRED}}
>>
>> oMyPb:TextColor := Color{COLORBLACK}
>>
>>
>>
>> John
>>
>>
>
> Hi John thanks for reply.
>
> This is exactly how i would like to do it and the way VO should do it.
At a guess you have chosen to have windows themes enabled on these
controls, and window themes can trump colour requests made by the
control (I don't think that is anything to do with VO specifically
more the definition of what you are asking for when to ask to enable
windows themes). I am a bit rusty on this as we generally use custom
draw buttons, which do choose to use the background brush.
[toc] | [prev] | [next] | [standalone]
| From | Whizzwilly <whizzwilly@hotmail.co.uk> |
|---|---|
| Date | 2014-01-17 16:03 -0800 |
| Message-ID | <1315931e-607f-45c8-a708-85b200e4be81@googlegroups.com> |
| In reply to | #6521 |
On Friday, 17 January 2014 14:38:09 UTC, Malcolm G wrote:
> On 17/01/2014 04:06, Whizzwilly wrote:
>
> > On Thursday, 16 January 2014 20:34:19 UTC, JohnMartens wrote:
>
> >> Does this do the job ?
>
> >>
>
> >>
>
> >>
>
> >> oMyPb:Background := Brush{Color{COLORRED}}
>
> >>
>
> >> oMyPb:TextColor := Color{COLORBLACK}
>
> >>
>
> >>
>
> >>
>
> >> John
>
> >>
>
> >>
>
> >
>
> > Hi John thanks for reply.
>
> >
>
> > This is exactly how i would like to do it and the way VO should do it.
>
>
>
> At a guess you have chosen to have windows themes enabled on these
>
> controls, and window themes can trump colour requests made by the
>
> control (I don't think that is anything to do with VO specifically
>
> more the definition of what you are asking for when to ask to enable
>
> windows themes). I am a bit rusty on this as we generally use custom
>
> draw buttons, which do choose to use the background brush.
I am using Windows XP and I have disabled the control theme and windows theme but still not working !! ??
Surely this is not a new problem and seems so basic that somebody must have a quick & easy solution. I have been sent the hover button class by Urs Eggman (many thanks) but i am getting compiler errors and i cant even open the main dialog screen in the window editor because it says error loading window
NAME: PBOK
CLASS: HOVERBUTTON
SECTION: CONTROL:TEXTCONTROL:BUTTON:PUSHBUTTON:HOVERBUTTON
Check CAVOWED.INF for supplemental files and missing entries.
How would i go about coding a custom draw button myself and how do i place it on my data window from within the window design editor? There will be approx 20 buttons per data window all which need a different color (background & text).
Come on all you boffins - please help !!
And just one more thing can anyone tell me any good support sites for downloading VO utilities & libraries i tried knowvo.com but that seems obsolete.
Thanks
Paul
[toc] | [prev] | [next] | [standalone]
| From | "Craig Dawson" <craig_dawson@hotmail.com> |
|---|---|
| Date | 2014-01-18 16:49 +1100 |
| Message-ID | <lbd4li$red$1@dont-email.me> |
| In reply to | #6524 |
Hi Paul,
It's an old problem - and not so basic... but perhaps you are looking for
something like we have in our POS application. Have a quick look at the POS
application image on our website www.control.net.au
I used Pauls icon lib for the colouring of the pushbuttons but made
modifications to it due to the resources problem. Now things work fine and
have done so for many years now (running VO 2.8). Anyway, if that is the
sort of thing you are looking for let me know and I can email you the
modified lib.
Regards, Craig.
.........................
"Whizzwilly" <whizzwilly@hotmail.co.uk> wrote in message
news:1315931e-607f-45c8-a708-85b200e4be81@googlegroups.com...
On Friday, 17 January 2014 14:38:09 UTC, Malcolm G wrote:
> On 17/01/2014 04:06, Whizzwilly wrote:
>
> > On Thursday, 16 January 2014 20:34:19 UTC, JohnMartens wrote:
>
> >> Does this do the job ?
>
> >>
>
> >>
>
> >>
>
> >> oMyPb:Background := Brush{Color{COLORRED}}
>
> >>
>
> >> oMyPb:TextColor := Color{COLORBLACK}
>
> >>
>
> >>
>
> >>
>
> >> John
>
> >>
>
> >>
>
> >
>
> > Hi John thanks for reply.
>
> >
>
> > This is exactly how i would like to do it and the way VO should do it.
>
>
>
> At a guess you have chosen to have windows themes enabled on these
>
> controls, and window themes can trump colour requests made by the
>
> control (I don't think that is anything to do with VO specifically
>
> more the definition of what you are asking for when to ask to enable
>
> windows themes). I am a bit rusty on this as we generally use custom
>
> draw buttons, which do choose to use the background brush.
I am using Windows XP and I have disabled the control theme and windows
theme but still not working !! ??
Surely this is not a new problem and seems so basic that somebody must have
a quick & easy solution. I have been sent the hover button class by Urs
Eggman (many thanks) but i am getting compiler errors and i cant even open
the main dialog screen in the window editor because it says error loading
window
NAME: PBOK
CLASS: HOVERBUTTON
SECTION: CONTROL:TEXTCONTROL:BUTTON:PUSHBUTTON:HOVERBUTTON
Check CAVOWED.INF for supplemental files and missing entries.
How would i go about coding a custom draw button myself and how do i place
it on my data window from within the window design editor? There will be
approx 20 buttons per data window all which need a different color
(background & text).
Come on all you boffins - please help !!
And just one more thing can anyone tell me any good support sites for
downloading VO utilities & libraries i tried knowvo.com but that seems
obsolete.
Thanks
Paul
[toc] | [prev] | [next] | [standalone]
| From | Whizzwilly <whizzwilly@hotmail.co.uk> |
|---|---|
| Date | 2014-01-18 11:43 -0800 |
| Message-ID | <4c0a9d73-b407-4bea-bce9-02126be896dd@googlegroups.com> |
| In reply to | #6525 |
On Saturday, 18 January 2014 05:49:36 UTC, Craig Dawson wrote: > Hi Paul, > > > > It's an old problem - and not so basic... but perhaps you are looking for > > something like we have in our POS application. Have a quick look at the POS > > application image on our website www.control.net.au > > I used Pauls icon lib for the colouring of the pushbuttons but made > > modifications to it due to the resources problem. Now things work fine and > > have done so for many years now (running VO 2.8). Anyway, if that is the > > sort of thing you are looking for let me know and I can email you the > > modified lib. > > > > Regards, Craig. > > ......................... > > >Hi Craig and thanks for reply. This is exactly what I am looking for !!!! Please can you email me the library and possibly some notes on the functions and class usage. Will it appear as an icon in the window design editor tool palette like bBrowser does? When you say it's an old problem how come this wasn't corrected in past versions of VO - surely this is a very useful tool to have. Many many thanks Paul
[toc] | [prev] | [next] | [standalone]
| From | "Craig Dawson" <craig_dawson@hotmail.com> |
|---|---|
| Date | 2014-01-20 09:51 +1100 |
| Message-ID | <lbhkte$tsk$1@dont-email.me> |
| In reply to | #6533 |
Done! Check your email Paul. Craig. ---------- >> >>Hi Craig and thanks for reply. > > This is exactly what I am looking for !!!! > > Please can you email me the library and possibly some notes on the > functions and class usage. Will it appear as an icon in the window design > editor tool palette like bBrowser does? > > When you say it's an old problem how come this wasn't corrected in past > versions of VO - surely this is a very useful tool to have. > > Many many thanks > > Paul
[toc] | [prev] | [next] | [standalone]
| From | Whizzwilly <whizzwilly@hotmail.co.uk> |
|---|---|
| Date | 2014-01-19 17:42 -0800 |
| Message-ID | <38764ca1-d6db-4168-a280-2651ea12d317@googlegroups.com> |
| In reply to | #6534 |
On Sunday, 19 January 2014 22:51:24 UTC, Craig Dawson wrote: > Done! Check your email Paul. > > Craig. Hi Craig Nothing come yet have you sent it to whizzwilly@hotmail.co.uk ? Thanks Paul
[toc] | [prev] | [next] | [standalone]
| From | "Craig Dawson" <craig_dawson@hotmail.com> |
|---|---|
| Date | 2014-01-20 14:46 +1100 |
| Message-ID | <lbi65v$iih$1@dont-email.me> |
| In reply to | #6535 |
Hi Paul, Yes I did - I'll resend it though now. Craig. "Whizzwilly" <whizzwilly@hotmail.co.uk> wrote in message news:38764ca1-d6db-4168-a280-2651ea12d317@googlegroups.com... > On Sunday, 19 January 2014 22:51:24 UTC, Craig Dawson wrote: >> Done! Check your email Paul. >> >> Craig. > > Hi Craig > > Nothing come yet have you sent it to whizzwilly@hotmail.co.uk ? > > Thanks > > Paul
[toc] | [prev] | [next] | [standalone]
| From | "Craig Dawson" <craig_dawson@hotmail.com> |
|---|---|
| Date | 2014-01-20 14:48 +1100 |
| Message-ID | <lbi6a6$j12$1@dont-email.me> |
| In reply to | #6536 |
Hi Paul, I received a confirmation of delivery to that address too. Maybe check your spam folder. Craig. --------- "Craig Dawson" <craig_dawson@hotmail.com> wrote in message news:lbi65v$iih$1@dont-email.me... > Hi Paul, > Yes I did - I'll resend it though now. > Craig. > > "Whizzwilly" <whizzwilly@hotmail.co.uk> wrote in message > news:38764ca1-d6db-4168-a280-2651ea12d317@googlegroups.com... >> On Sunday, 19 January 2014 22:51:24 UTC, Craig Dawson wrote: >>> Done! Check your email Paul. >>> >>> Craig. >> >> Hi Craig >> >> Nothing come yet have you sent it to whizzwilly@hotmail.co.uk ? >> >> Thanks >> >> Paul > >
[toc] | [prev] | [next] | [standalone]
| From | Whizzwilly <whizzwilly@hotmail.co.uk> |
|---|---|
| Date | 2014-01-20 18:29 -0800 |
| Message-ID | <61c2f429-5f08-4ecf-b403-00dbb34e8558@googlegroups.com> |
| In reply to | #6537 |
Just to say a big thank you for all the support and emails I have had from various forum members on this subject ( especially Urs Eggmann & Craig Dawson who have helped me immensely ). Kind regards Paul
[toc] | [prev] | [next] | [standalone]
| From | Paulo Oliveira <paulo@clipinfor.com> |
|---|---|
| Date | 2014-02-07 04:30 -0800 |
| Message-ID | <8bc10fd8-0035-4508-b0a8-902d8fa76623@googlegroups.com> |
| In reply to | #6534 |
Domingo, 19 de Janeiro de 2014 22:51:24 UTC, Craig Dawson escreveu: > Done! Check your email Paul. > > Craig. > > ---------- > > >> > > >>Hi Craig and thanks for reply. > > > > > > This is exactly what I am looking for !!!! > > > > > > Please can you email me the library and possibly some notes on the > > > functions and class usage. Will it appear as an icon in the window design > > > editor tool palette like bBrowser does? > > > > > > When you say it's an old problem how come this wasn't corrected in past > > > versions of VO - surely this is a very useful tool to have. > > > > > > Many many thanks > > > > > > Paul Hi, Can you send to me please. Paulo
[toc] | [prev] | [next] | [standalone]
| From | "Craig Dawson" <craig_dawson@hotmail.com> |
|---|---|
| Date | 2014-02-09 09:25 +1100 |
| Message-ID | <ld6as6$48c$1@dont-email.me> |
| In reply to | #6582 |
Done! - Check your email Paulo. > > Hi, > Can you send to me please. > > Paulo
[toc] | [prev] | [next] | [standalone]
| From | jmmicmc@gmail.com |
|---|---|
| Date | 2014-02-11 07:25 -0800 |
| Message-ID | <543f8680-a71a-4f16-99c9-c7b75ce696d7@googlegroups.com> |
| In reply to | #6525 |
I would really like these mods too.
Thanks.
James
On Saturday, January 18, 2014 12:49:36 AM UTC-5, Craig Dawson wrote:
> Hi Paul,
>
>
>
> It's an old problem - and not so basic... but perhaps you are looking for
>
> something like we have in our POS application. Have a quick look at the POS
>
> application image on our website www.control.net.au
>
> I used Pauls icon lib for the colouring of the pushbuttons but made
>
> modifications to it due to the resources problem. Now things work fine and
>
> have done so for many years now (running VO 2.8). Anyway, if that is the
>
> sort of thing you are looking for let me know and I can email you the
>
> modified lib.
>
>
>
> Regards, Craig.
>
> .........................
>
>
>
> "Whizzwilly" <whizzwilly@hotmail.co.uk> wrote in message
>
> news:1315931e-607f-45c8-a708-85b200e4be81@googlegroups.com...
>
> On Friday, 17 January 2014 14:38:09 UTC, Malcolm G wrote:
>
> > On 17/01/2014 04:06, Whizzwilly wrote:
>
> >
>
> > > On Thursday, 16 January 2014 20:34:19 UTC, JohnMartens wrote:
>
> >
>
> > >> Does this do the job ?
>
> >
>
> > >>
>
> >
>
> > >>
>
> >
>
> > >>
>
> >
>
> > >> oMyPb:Background := Brush{Color{COLORRED}}
>
> >
>
> > >>
>
> >
>
> > >> oMyPb:TextColor := Color{COLORBLACK}
>
> >
>
> > >>
>
> >
>
> > >>
>
> >
>
> > >>
>
> >
>
> > >> John
>
> >
>
> > >>
>
> >
>
> > >>
>
> >
>
> > >
>
> >
>
> > > Hi John thanks for reply.
>
> >
>
> > >
>
> >
>
> > > This is exactly how i would like to do it and the way VO should do it.
>
> >
>
> >
>
> >
>
> > At a guess you have chosen to have windows themes enabled on these
>
> >
>
> > controls, and window themes can trump colour requests made by the
>
> >
>
> > control (I don't think that is anything to do with VO specifically
>
> >
>
> > more the definition of what you are asking for when to ask to enable
>
> >
>
> > windows themes). I am a bit rusty on this as we generally use custom
>
> >
>
> > draw buttons, which do choose to use the background brush.
>
>
>
> I am using Windows XP and I have disabled the control theme and windows
>
> theme but still not working !! ??
>
>
>
> Surely this is not a new problem and seems so basic that somebody must have
>
> a quick & easy solution. I have been sent the hover button class by Urs
>
> Eggman (many thanks) but i am getting compiler errors and i cant even open
>
> the main dialog screen in the window editor because it says error loading
>
> window
>
>
>
> NAME: PBOK
>
> CLASS: HOVERBUTTON
>
> SECTION: CONTROL:TEXTCONTROL:BUTTON:PUSHBUTTON:HOVERBUTTON
>
>
>
> Check CAVOWED.INF for supplemental files and missing entries.
>
>
>
> How would i go about coding a custom draw button myself and how do i place
>
> it on my data window from within the window design editor? There will be
>
> approx 20 buttons per data window all which need a different color
>
> (background & text).
>
>
>
> Come on all you boffins - please help !!
>
>
>
> And just one more thing can anyone tell me any good support sites for
>
> downloading VO utilities & libraries i tried knowvo.com but that seems
>
> obsolete.
>
>
>
> Thanks
>
>
>
> Paul
[toc] | [prev] | [next] | [standalone]
| From | "Craig Dawson" <craig_dawson@hotmail.com> |
|---|---|
| Date | 2014-02-13 22:02 +1100 |
| Message-ID | <ldi8o3$rpq$1@dont-email.me> |
| In reply to | #6594 |
Hi James,
Seems a lot of people are wanting so I have put it on our website.
It is on www.control.net.au under the submenu Links, VO Resources, Paul's
Button Sample
Kind Regards, Craig.
--------------------
<jmmicmc@gmail.com> wrote in message
news:543f8680-a71a-4f16-99c9-c7b75ce696d7@googlegroups.com...
>I would really like these mods too.
>
> Thanks.
>
> James
>
> On Saturday, January 18, 2014 12:49:36 AM UTC-5, Craig Dawson wrote:
>> Hi Paul,
>>
>>
>>
>> It's an old problem - and not so basic... but perhaps you are looking for
>>
>> something like we have in our POS application. Have a quick look at the
>> POS
>>
>> application image on our website www.control.net.au
>>
>> I used Pauls icon lib for the colouring of the pushbuttons but made
>>
>> modifications to it due to the resources problem. Now things work fine
>> and
>>
>> have done so for many years now (running VO 2.8). Anyway, if that is the
>>
>> sort of thing you are looking for let me know and I can email you the
>>
>> modified lib.
>>
>>
>>
>> Regards, Craig.
>>
>> .........................
>>
>>
>>
>> "Whizzwilly" <whizzwilly@hotmail.co.uk> wrote in message
>>
>> news:1315931e-607f-45c8-a708-85b200e4be81@googlegroups.com...
>>
>> On Friday, 17 January 2014 14:38:09 UTC, Malcolm G wrote:
>>
>> > On 17/01/2014 04:06, Whizzwilly wrote:
>>
>> >
>>
>> > > On Thursday, 16 January 2014 20:34:19 UTC, JohnMartens wrote:
>>
>> >
>>
>> > >> Does this do the job ?
>>
>> >
>>
>> > >>
>>
>> >
>>
>> > >>
>>
>> >
>>
>> > >>
>>
>> >
>>
>> > >> oMyPb:Background := Brush{Color{COLORRED}}
>>
>> >
>>
>> > >>
>>
>> >
>>
>> > >> oMyPb:TextColor := Color{COLORBLACK}
>>
>> >
>>
>> > >>
>>
>> >
>>
>> > >>
>>
>> >
>>
>> > >>
>>
>> >
>>
>> > >> John
>>
>> >
>>
>> > >>
>>
>> >
>>
>> > >>
>>
>> >
>>
>> > >
>>
>> >
>>
>> > > Hi John thanks for reply.
>>
>> >
>>
>> > >
>>
>> >
>>
>> > > This is exactly how i would like to do it and the way VO should do
>> > > it.
>>
>> >
>>
>> >
>>
>> >
>>
>> > At a guess you have chosen to have windows themes enabled on these
>>
>> >
>>
>> > controls, and window themes can trump colour requests made by the
>>
>> >
>>
>> > control (I don't think that is anything to do with VO specifically
>>
>> >
>>
>> > more the definition of what you are asking for when to ask to enable
>>
>> >
>>
>> > windows themes). I am a bit rusty on this as we generally use custom
>>
>> >
>>
>> > draw buttons, which do choose to use the background brush.
>>
>>
>>
>> I am using Windows XP and I have disabled the control theme and windows
>>
>> theme but still not working !! ??
>>
>>
>>
>> Surely this is not a new problem and seems so basic that somebody must
>> have
>>
>> a quick & easy solution. I have been sent the hover button class by Urs
>>
>> Eggman (many thanks) but i am getting compiler errors and i cant even
>> open
>>
>> the main dialog screen in the window editor because it says error loading
>>
>> window
>>
>>
>>
>> NAME: PBOK
>>
>> CLASS: HOVERBUTTON
>>
>> SECTION: CONTROL:TEXTCONTROL:BUTTON:PUSHBUTTON:HOVERBUTTON
>>
>>
>>
>> Check CAVOWED.INF for supplemental files and missing entries.
>>
>>
>>
>> How would i go about coding a custom draw button myself and how do i
>> place
>>
>> it on my data window from within the window design editor? There will be
>>
>> approx 20 buttons per data window all which need a different color
>>
>> (background & text).
>>
>>
>>
>> Come on all you boffins - please help !!
>>
>>
>>
>> And just one more thing can anyone tell me any good support sites for
>>
>> downloading VO utilities & libraries i tried knowvo.com but that seems
>>
>> obsolete.
>>
>>
>>
>> Thanks
>>
>>
>>
>> Paul
>
[toc] | [prev] | [next] | [standalone]
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
|---|---|
| Date | 2014-02-16 20:54 +0100 |
| Message-ID | <bmcjmcFaatpU1@mid.individual.net> |
| In reply to | #6600 |
Hi Craig,
Nice sample of work!
Thank you!
Urs
"Craig Dawson" <craig_dawson@hotmail.com> schrieb im Newsbeitrag
news:ldi8o3$rpq$1@dont-email.me...
> Hi James,
>
> Seems a lot of people are wanting so I have put it on our website.
> It is on www.control.net.au under the submenu Links, VO Resources, Paul's
> Button Sample
>
> Kind Regards, Craig.
> --------------------
>
> <jmmicmc@gmail.com> wrote in message
> news:543f8680-a71a-4f16-99c9-c7b75ce696d7@googlegroups.com...
>>I would really like these mods too.
>>
>> Thanks.
>>
>> James
>>
>> On Saturday, January 18, 2014 12:49:36 AM UTC-5, Craig Dawson wrote:
>>> Hi Paul,
>>>
>>>
>>>
>>> It's an old problem - and not so basic... but perhaps you are looking
>>> for
>>>
>>> something like we have in our POS application. Have a quick look at the
>>> POS
>>>
>>> application image on our website www.control.net.au
>>>
>>> I used Pauls icon lib for the colouring of the pushbuttons but made
>>>
>>> modifications to it due to the resources problem. Now things work fine
>>> and
>>>
>>> have done so for many years now (running VO 2.8). Anyway, if that is the
>>>
>>> sort of thing you are looking for let me know and I can email you the
>>>
>>> modified lib.
>>>
>>>
>>>
>>> Regards, Craig.
>>>
>>> .........................
>>>
>>>
>>>
>>> "Whizzwilly" <whizzwilly@hotmail.co.uk> wrote in message
>>>
>>> news:1315931e-607f-45c8-a708-85b200e4be81@googlegroups.com...
>>>
>>> On Friday, 17 January 2014 14:38:09 UTC, Malcolm G wrote:
>>>
>>> > On 17/01/2014 04:06, Whizzwilly wrote:
>>>
>>> >
>>>
>>> > > On Thursday, 16 January 2014 20:34:19 UTC, JohnMartens wrote:
>>>
>>> >
>>>
>>> > >> Does this do the job ?
>>>
>>> >
>>>
>>> > >>
>>>
>>> >
>>>
>>> > >>
>>>
>>> >
>>>
>>> > >>
>>>
>>> >
>>>
>>> > >> oMyPb:Background := Brush{Color{COLORRED}}
>>>
>>> >
>>>
>>> > >>
>>>
>>> >
>>>
>>> > >> oMyPb:TextColor := Color{COLORBLACK}
>>>
>>> >
>>>
>>> > >>
>>>
>>> >
>>>
>>> > >>
>>>
>>> >
>>>
>>> > >>
>>>
>>> >
>>>
>>> > >> John
>>>
>>> >
>>>
>>> > >>
>>>
>>> >
>>>
>>> > >>
>>>
>>> >
>>>
>>> > >
>>>
>>> >
>>>
>>> > > Hi John thanks for reply.
>>>
>>> >
>>>
>>> > >
>>>
>>> >
>>>
>>> > > This is exactly how i would like to do it and the way VO should do
>>> > > it.
>>>
>>> >
>>>
>>> >
>>>
>>> >
>>>
>>> > At a guess you have chosen to have windows themes enabled on these
>>>
>>> >
>>>
>>> > controls, and window themes can trump colour requests made by the
>>>
>>> >
>>>
>>> > control (I don't think that is anything to do with VO specifically
>>>
>>> >
>>>
>>> > more the definition of what you are asking for when to ask to enable
>>>
>>> >
>>>
>>> > windows themes). I am a bit rusty on this as we generally use custom
>>>
>>> >
>>>
>>> > draw buttons, which do choose to use the background brush.
>>>
>>>
>>>
>>> I am using Windows XP and I have disabled the control theme and windows
>>>
>>> theme but still not working !! ??
>>>
>>>
>>>
>>> Surely this is not a new problem and seems so basic that somebody must
>>> have
>>>
>>> a quick & easy solution. I have been sent the hover button class by Urs
>>>
>>> Eggman (many thanks) but i am getting compiler errors and i cant even
>>> open
>>>
>>> the main dialog screen in the window editor because it says error
>>> loading
>>>
>>> window
>>>
>>>
>>>
>>> NAME: PBOK
>>>
>>> CLASS: HOVERBUTTON
>>>
>>> SECTION: CONTROL:TEXTCONTROL:BUTTON:PUSHBUTTON:HOVERBUTTON
>>>
>>>
>>>
>>> Check CAVOWED.INF for supplemental files and missing entries.
>>>
>>>
>>>
>>> How would i go about coding a custom draw button myself and how do i
>>> place
>>>
>>> it on my data window from within the window design editor? There will be
>>>
>>> approx 20 buttons per data window all which need a different color
>>>
>>> (background & text).
>>>
>>>
>>>
>>> Come on all you boffins - please help !!
>>>
>>>
>>>
>>> And just one more thing can anyone tell me any good support sites for
>>>
>>> downloading VO utilities & libraries i tried knowvo.com but that seems
>>>
>>> obsolete.
>>>
>>>
>>>
>>> Thanks
>>>
>>>
>>>
>>> Paul
>>
>
>
[toc] | [prev] | [next] | [standalone]
| From | Kuno Egger <kuno@retailsoftware.com> |
|---|---|
| Date | 2014-03-06 23:40 -0800 |
| Message-ID | <633f995f-b6c2-4663-9ebb-09a6b34201de@googlegroups.com> |
| In reply to | #6600 |
I appreciate the opportunity to learn from Paul's IconPushbutton class. I'm still struggling with it a bit because when I use it in my app the buttons change color the fist time thy are pressed and then stay changed till the window is closed. Any advice on keeping them the same without using HATCHSOLID would be welcome. But here is my real question: in the VO window designer pushbuttons have a nice shading on them that saves them prom looking flat and lifeless. But when I compile and run my apps they are right back to no shading and look pretty boring. But in Paul's sample app, on the Help About window there is his OK button - nice and shaded with a hint of color, and it's not inheriting from the IconPushbutton class. I'm obviously missing something, but what?
[toc] | [prev] | [next] | [standalone]
| From | Camille Kater <katercam@pt.lu> |
|---|---|
| Date | 2014-03-07 10:12 +0100 |
| Message-ID | <1394184386_1@vo.lu> |
| In reply to | #6642 |
Hello, 1) If you use variables to store the brushes, they get destroyed after closing your window. Therefore you have to uncomment the "SELF:oBackground:destroy()" of the brush in the IconPushbutton class: 1. in the destroy method (line 10-14) 2. in the Usecolor:assign (line 15-18) Then be sure to use only variables for these brushes and destroy them when closing your app. 2) You have to include a manifest resource in your app. Camille On 07/03/2014 08:40, Kuno Egger wrote: > I appreciate the opportunity to learn from Paul's IconPushbutton class. I'm still struggling with it a bit because when I use it in my app the buttons change color the fist time thy are pressed and then stay changed till the window is closed. Any advice on keeping them the same without using HATCHSOLID would be welcome. > > But here is my real question: in the VO window designer pushbuttons have a nice shading on them that saves them prom looking flat and lifeless. But when I compile and run my apps they are right back to no shading and look pretty boring. But in Paul's sample app, on the Help About window there is his OK button - nice and shaded with a hint of color, and it's not inheriting from the IconPushbutton class. I'm obviously missing something, but what? >
[toc] | [prev] | [next] | [standalone]
| From | Kuno Egger <kuno@retailsoftware.com> |
|---|---|
| Date | 2014-03-07 16:44 -0800 |
| Message-ID | <963c280b-46e2-4685-9f79-9959832061cf@googlegroups.com> |
| In reply to | #6643 |
Hello Camille, OK got it. Thanks for the tips - much appreciated. Kuno
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web