RobotStudio event

how to make applications variables boolean

I have problem with Visible(False/True) either a Picture box or Command button. I set "Bind to an Application Variable, create Application Variable type bool a by Events Manager create Event Handler which reads from Robot Rapid Data. And does not like it. Picture or Button change to a visible or invisible. SM Doctor writes that - Dangling Events - events are defined and are not being used.