We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Wizard HelpVisible=false

Thread ID:





38229 Dec 8,2005 09:35 AM Dec 9,2005 04:51 PM Windows Forms 4
Tags: Tools
Administrator [Syncfusion]
Asked On December 8, 2005 09:35 AM

Hi, Few questions about the Wizard control. When I sen HelpVisible=false, all buttons are moved to the right and the Cancel button is "stuck" to the border. 1. Is there a way to insert som space between the cancel button and the border? 2. Is there a way to change the size of the WizardContainer, so it''s bottom border is inline with the button''s group top border? The version of the library used is 3.3 Please see attached image. Thank you


Mano J [Syncfusion]
Replied On December 8, 2005 11:06 AM

Hi Ivan, 1. You could provide space to the cancel button using Insets property this.wizardControl1.GridBagLayout.GetConstraintsRef(this.wizardControl1.CancelButton).Insets = new Insets(0, 0, 5, 0); 2. The wizard container size is by design intent. I am afraid, it is not possible to reduce the gap between wizard container and the border. Please let me know if you have any questions. Thanks for using Syncfusion products. Regards, Mano

Administrator [Syncfusion]
Replied On December 8, 2005 04:57 PM

Thank for the response. I got the inset working. I''m still having the hard time getting to work the last page of the wizard. Here is the problem: If (LastPage has CancelOverFinish=False ) { I get the finish button visible, but Cancel is moved somewhere else - INCOSISTENT LOOK!!! } If ((all pages CancelOverFinish=False ) and All_Pages_Exept_For_Last have FinishVisible=False { The FinishButton is still visible. } I''m not sure if I''m missing something here, but I have a strong feeling that this behavior is by design. Please advise. Thank you.

Mano J [Syncfusion]
Replied On December 9, 2005 12:48 AM

Hi Ivan, 1. The Navigation buttons are arranged in WizardControl using GridBagLayout. You could use the GridPosX property of the GridBagLayout as shown in the following code snippet: this.wizardControl1.GridBagLayout.GetConstraintsRef(this.wizardControl1.BackButton).GridPosX = 0 ; this.wizardControl1.GridBagLayout.GetConstraintsRef(this.wizardControl1.NextButton).GridPosX = 1; this.wizardControl1.GridBagLayout.GetConstraintsRef(this.wizardControl1.FinishButton).GridPosX = 2; this.wizardControl1.GridBagLayout.GetConstraintsRef(this.wizardControl1.CancelButton).GridPosX = 3; this.wizardControl1.GridBagLayout.GetConstraintsRef(this.wizardControl1.HelpButton).GridPosX = 4; I have attached a sample that illustrates this completely. To make the wizard control more flexible, we already have a feature request # 469 logged. This request is to add separate properties to these navigation buttons so that there will be no need to use CancelOverFinish property to show/hide the Finish button. 2.This is because of the CancelOverFinish property. Wizard Control design implementation is such that when CancelOverFinish property is created for using it in last wizard page. When it is set to true, Cancel button will overlap the Finish button and make the Finish button hidden underneath. However, you could use the above coding to solve these problems. Please let me know if this meets your requirements. Regards, Mano Wizard_Buttons.zip

Administrator [Syncfusion]
Replied On December 9, 2005 04:51 PM



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.