Ravi Kiran
March 18th, 1999, 01:48 AM
Hi Gurus,
I have a simple question!. How to change the ForeColor of a command button?
VB's 'Properties' window does not show 'ForeColor' for a command button.
It allows 'BackColor' to be changed and takes effect when 'Style' is set to 1.
What if i want to set 'ForeColor'?
But VB allows 'ForeColor' setting for Check Box & Option Button.
Right now i am faking using check box , with Style =1, it looks like a CommandButton and the first line in the Click event handler, would be to
set the value back to zero, to avoid 'pushed' look.
I dont want to use Sheredian controls or some such ActiveX controls just for the sake of color!, (unless unavoidable)
Do i need to use 'MaskColor' setting, to achieve the effect?
Interestingly, MSDN ( atleast the copy that i have, slightly old one, '98)
says 'ForeColor' property is available for command button also!
Can you please give me some hints?
Ravi Kiran
I have a simple question!. How to change the ForeColor of a command button?
VB's 'Properties' window does not show 'ForeColor' for a command button.
It allows 'BackColor' to be changed and takes effect when 'Style' is set to 1.
What if i want to set 'ForeColor'?
But VB allows 'ForeColor' setting for Check Box & Option Button.
Right now i am faking using check box , with Style =1, it looks like a CommandButton and the first line in the Click event handler, would be to
set the value back to zero, to avoid 'pushed' look.
I dont want to use Sheredian controls or some such ActiveX controls just for the sake of color!, (unless unavoidable)
Do i need to use 'MaskColor' setting, to achieve the effect?
Interestingly, MSDN ( atleast the copy that i have, slightly old one, '98)
says 'ForeColor' property is available for command button also!
Can you please give me some hints?
Ravi Kiran