Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #6525
| From | "Craig Dawson" <craig_dawson@hotmail.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Push Button background & font color |
| Date | 2014-01-18 16:49 +1100 |
| Organization | A noiseless patient Spider |
| Message-ID | <lbd4li$red$1@dont-email.me> (permalink) |
| References | <6fb64df1-6e34-49a0-adbc-b363968ef24a@googlegroups.com> <lb9fnv$cjc$1@dont-email.me> <6072df62-d6ea-4395-821c-fb621f7643fa@googlegroups.com> <PfbCu.4271$_Q7.2279@fx14.am4> <1315931e-607f-45c8-a708-85b200e4be81@googlegroups.com> |
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
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
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
csiph-web