Hi,
redefine tsbutton of odlg resource "mydllbmp" when .f.
The disabled button bmp always shows dark gray, how to change it to CLR_HGRAY ?
Best regard !
Shuming Wang
how to change tsbutton bmp background color ?
-
- Posts: 454
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China
- RAMESHBABU
- Posts: 591
- Joined: Fri Oct 21, 2005 5:54 am
- Location: Secunderabad (T.S), India
Mr.ShumingWang
This is the code:
and the result is :
Regards
- Ramesh Babu P
This is the code:
Code: Select all
COLORS {|oBtn|IF(oBtn:lActive, ;
IF(oBtn:lMouseOver, nRGB(80,145,210), CLR_WHITE),;
CLR_GRAY ) }, ;
{|oBtn| If( oBtn:lActive, ;
{{CLR_WHITE, nRGB(80,145,210)}, 4 }, ;
CLR_HGRAY ) } ;
ACTION ( .T. )
Regards
- Ramesh Babu P
-
- Posts: 454
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China