Hello everybody.
How To change Color BUTTON Key With DIALOG From RESOURCE
--------
Like --->
DEFINE DIALOG Dlg RESOURCE "test"
REDEFINE BUTTON ID 2 OF RE_Dlg COLOR (RGB(255,255,255)),(RGB(190,197,248)) ACTION msginf("test color BUTTON Key ")
ACTIVATE DIALOG Dlg CENTERED
------
Thanks to all
Color BUTTON KEY With DIALOG
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Color BUTTON KEY With DIALOG
Hathal,
Have you considered to use a TBtnBmp control instead of a standard button ?
REDEFINE BTNBMP ID 2 OF RE_Dlg COLOR ...
Also please change it in your resource
Have you considered to use a TBtnBmp control instead of a standard button ?
REDEFINE BTNBMP ID 2 OF RE_Dlg COLOR ...
Also please change it in your resource
- HATHAL
- Posts: 77
- Joined: Tue Nov 15, 2005 3:38 pm
- Location: The Kingdom Saudi Arabia -Riyadh
- Contact:
Re: Color BUTTON KEY With DIALOG
Antonio.
I want with standard button.
I want with standard button.
- RAMESHBABU
- Posts: 591
- Joined: Fri Oct 21, 2005 5:54 am
- Location: Secunderabad (T.S), India
Re: Color BUTTON KEY With DIALOG
Mr.Hathal,
You can't use COLOR parameter with standard button.
Instead you can either BTNBMP or FLATBTN like this:
-Ramesh Babu
You can't use COLOR parameter with standard button.
Instead you can either BTNBMP or FLATBTN like this:
Code: Select all
REDEFINE FLATBTN ID 2 OF RE_Dlg COLOR (RGB(255,255,255)),(RGB(190,197,248)) ACTION msginf("test color BUTTON Key ")
or
REDEFINE BTNBMP ID 2 OF RE_Dlg CENTER COLOR (RGB(255,255,255)),(RGB(190,197,248)) ACTION msginf("test color BUTTON Key ")
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Color BUTTON KEY With DIALOG
Hathal,
If you use FWH function SkinButtons() then you could change the colors of the standard buttons.
Please review FWH\samples\testfold.prg
If you use FWH function SkinButtons() then you could change the colors of the standard buttons.
Please review FWH\samples\testfold.prg