Page 1 of 1

Inhibit icon generation on Radio Buttons - V5.nn

Posted: Thu Sep 03, 2009 3:41 pm
by norman
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:

Code: Select all

	if ( $AutoCreateChoiceIcons && ($reqwidth != 0) )
Replace with:

Code: Select all

	if ( false && $AutoCreateChoiceIcons && ($reqwidth != 0) )		// tweak to inhibit icon generation - (remove "false && " to restore normal operation)
Look around line 152 for the line:

Code: Select all

if ( $choiceimage != '' )
Replace with:

Code: Select all

if ( false && $choiceimage != '' )		// tweak to inhibit icon display - (remove "false && " to restore normal operation)
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.