how to change background colour of checkbox when line colour of figure is changed

Hi i have created a line and assigned that linehandle to checkbox.line colour and checkbox background color is same.using context menu i am able to change line colour.my requirement is when i change line colour checkbox background colour should also be changed and shouldbe same as line colour.how to proceed thanks

Answers (1)

linkprop() might be able to do it.

1 Comment

thanks for reply.can you give one small example using lineprop() for my requirement

Sign in to comment.

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Asked:

on 14 Mar 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!