Great! I tried *i->setVisible(isShowLabels);
with what you said in mind, but I didn't know about the parentheses thing.
Thanks a lot!