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


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

Re: Push Button background & font color

Subject Re: Push Button background & font color
From Camille Kater <katercam@pt.lu>
Date 2014-03-07 10:12 +0100
Message-ID <1394184386_1@vo.lu> (permalink)
References (4 earlier) <1315931e-607f-45c8-a708-85b200e4be81@googlegroups.com> <lbd4li$red$1@dont-email.me> <543f8680-a71a-4f16-99c9-c7b75ce696d7@googlegroups.com> <ldi8o3$rpq$1@dont-email.me> <633f995f-b6c2-4663-9ebb-09a6b34201de@googlegroups.com>
Newsgroups comp.lang.clipper.visual-objects

Show all headers | View raw


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?
>

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