Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #6526

Re: Push Button background & font color

From "Urs Eggmann" <Urs.Eggmann@shinternet.ch>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Push Button background & font color
Date 2014-01-18 13:32 +0100
Message-ID <bjvaiqFr7jdU1@mid.individual.net> (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>

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Paul,

I'm sorry that I didn't think of the CAVOWED.INF file... My VO is working 
for such a long time that I forgot the details of all my modifications I 
have made (so cllaed volatile memory (g))...

In your CAVOWED.INF you can add

[SupplementalFiles]
File00=yyyy.inf
File01=SomeOther.inf
;File02=Special.HKM
File03=HOVER.WED

as I did in my file. I enclose the HOVER.WED (The extension is not critical, 
they are pure ASCII files.)
Some other binary files I sent you to your mail adress because I had 
difficulties to upload them here.

Your other question:
In VO 2.7 it was not nessecary to have a return value for methods. VO 2.8 is
more stringent with the view to DotNet...
The init methods have to end with RETURN SELF,
Normal methods have RETURN NIL

If you have still more questions, please give me a mail. We will solve it!

regards
Urs


"Whizzwilly" <whizzwilly@hotmail.co.uk> schrieb im Newsbeitrag 
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


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