Hi, I need to repeat 14 case like this below; but for tab2, tab3.....tab14. I there a way to reduce the number of lines (instead of repeat 14 case similar)? thanks
Qt Code:
switch (n) { case 1: if (tab1->isEnabled()) { tab1->setDisabled(TRUE); break; }To copy to clipboard, switch view to plain text mode
Bookmarks