Setting AutoResizeButtons Property

This page describes how to set the AutoResizeButtons property for controls extending from cWizardDialogBox

AutoResizeButtons Property

  1. Reason for AutoResizeButtons property


    There is a problem in cWizardDialog where the button text disappears when the text is translated. This can be fixed by increasing the button width to accommodate translations to our common languages. This can't be applied automatically as this would conflict with design changes in applications that has already extended cWizardDialogBox. For example, the size increased framework buttons could overlap existing controls.

     

  2. Setting AutoResizeButtons property

     

    The default value for this property is "false". This property has to be set in the constructor of the class extending cWizardDialogBox. For new controls extending cWizardDialogBox this has to be set to "true". For existing wizards this property has to be set to True after doing required changes to overcome the control overlapping problems.