Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear all,
How to change the selection color in listBox.
Please help.
Thanks & Regards,
Shruti.
you mean change from green to a custom color?
There is no way as such in list object, if you fine use straight table and use BG
Hi Shruti Sarkate,
Try This
Goto
Setting -> Document Properties -> General -> Selection Appearance -> Color Scheme (Select Custom).
Then Write Macro(Press Ctrl+m)
sub[ bgcolor] //bgcolor is macro name
set up = ActiveDocument.GetApplication.GetUserPreferences
up.CustomSelBgColor(1).PrimaryCol.Col = RGB (255,0,0) //write Ur color code
ActiveDocument.GetApplication.SetUserPreferences up
end sub
Then
Again goto
Setting -> Document Properties ->Triggers -> select OnOpen ->In Actions Add Run Macro -> give macro name(i.e. bgcolor) -> OK -> Apply
Use NoGreen Extension.