Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Can someone help me on to set custom color in a button.
I use a button and it should be green when selected and Red when some other button is selected.
Thanks
Hi Santhosh,
Please check the attached application.
i think , that would help you out.
Regards
Sridhar
Hi Santhosh,
Please check the attached application.
i think , that would help you out.
Regards
Sridhar
Hi,
To achieve your requirement, i have used macro and calculated color options.
Have a look at macro @ Macro window and Color option @ color in Button.
And please take a look at the updated application with this post.
- Sridhar
Thanks Sridhar.
That is what I need.
-- Santhosh
I have two sets of 'Radio' buttons. Upon leaving a tab, I run a macro which resets the variables controlling the on/off colors for each set of buttons.
the following macro to clear buttons:
Sub ClearButtons
set v = ActiveDocument.Variables("vActiveButton")
v.SetContent "0",true
set v = ActiveDocument.Variables("vActiveButton2")
v.SetContent "0",true
End Sub