Inhibit icon generation on Radio Buttons - V5.nn
Posted: Thu Sep 03, 2009 3:41 pm
If you want to use this add-on with Radio Buttons but without any icons being displayed next to the buttons follow these steps (for Dynamic Choice Images V5.nn onwards):
Go to Design / Library / Layouts / Choices / Radio Button Choice.
Look around line 105 for the line:
Replace with:
Look around line 152 for the line:
Replace with:
OK out.
Go to Design / Library / Layouts / Permutation Row Layouts / Radio Button Permutation Entry and repeat the above, but looking for lines 107 and 155 respectively.
Go to Design / Library / Layouts / Choices / Radio Button Choice.
Look around line 105 for the line:
Code: Select all
if ( $AutoCreateChoiceIcons && ($reqwidth != 0) )
Code: Select all
if ( false && $AutoCreateChoiceIcons && ($reqwidth != 0) ) // tweak to inhibit icon generation - (remove "false && " to restore normal operation)
Code: Select all
if ( $choiceimage != '' )
Code: Select all
if ( false && $choiceimage != '' ) // tweak to inhibit icon display - (remove "false && " to restore normal operation)
Go to Design / Library / Layouts / Permutation Row Layouts / Radio Button Permutation Entry and repeat the above, but looking for lines 107 and 155 respectively.