 |
|
|
Does anyone know how to programatically set the focus of the Next, Cancel or Finish button?
This will be useful so that the user can just press the Enter-key, while the focus is on the Next-button to go to the next page, while being used in a program.
Thank you.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I'm answering my own question
Here is what I did. In the Load - method of the form that hosts the GNWizard control add the following.
Me.AcceptButton = Me.WizardTemplate1.Controls("ButtonPanel").Controls("btnNext") - Where WizardTemplate1 is the control name.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi Gary, First I just want to say what an awesome tool here - thanks for sharing! And second, any hints on how to create a OnMovePrevious sub - I'm having some issues. Also how about any hints for a OnBeforeMoveNext sub for validation purposes. Thanks!
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
|
First of all, great control, Gary - thanks!
I'm confused how to process the button clicks.
On my first interior page, I show text boxes for username/password. I want to authenticate the user before I proceed to the next page.
Similarly, on subsequent pages, I want to validate information before showing the next page.
Where are the events for the next/previous buttons?
Thanks Again.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I will attempt to use this in some projects, however I have some questions.
Is it OK if in my About dialogs that I give you credit for the Wizard Interface and put a link to your website ??? I feelthat if I use it - that is the least I could do for the investment you made in time to develop this control.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Acknowledgment would be good but is not necessary.
Thank you for your honesty, I hope you can use it.
Kind regards Gary
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi,
Good control. Fine for me.
Is possible to change the buttons text in order to use this control in another language rather than english?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Thanks a lot for this wonderfull job, this wizard is just perfect.
Do you think about implementing the OnMovePrevious Event in your framework? I think this event could be very helpful. If not the case, do you have any idea how to handle an action on clicking the previous button?
Thank again,
Pat
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I'm creating a Wizard added a few pages. When I add controls to the Wizard page, they no longer show up when I run?? The controls still exist on the form, they must just be behind the Wizard Page???
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
First of all, thanks for an awesome control Garry.
I have a bit of a noobie question. Let's say my first page has radio buttons. Depending on which button is checked, I want other subsequent pages to be skipped. What is the best method to do this?
I have tried .Show() and .Hide() but this doesn't seem to work, because when you click Next the Page becomes visible. Using .Visible = True/False gives the same results.
I have had a look at .GoToPage, I think it's what I need, but I don't know where to put the code. I'm thinking it's OnMoveNext, but how does this method know what current page I'm on?
Thanks for your help.
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
Hello,
This is an excellent control, and I use this in several projects. However, it seems to have some problems when using DPI 120.
Do you still improve this control or not? If so, will you fix this "bug" and when can I expect it?
Best regards,
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
Hello,
I have been investigating this problem more deeply. The problem is that the wizardpages are stretched over the buttons. So, I will now solve the problem by setting the size of the wizard pages automatically for 120 DPI. In that case, the background of the wizardpages will not be in front of the wizard buttons.
Best regards,
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
Thanks! I indeed implemented some sort of outlookstyle sidebar control to it, but Updater Tool is written in C++ (and I see your bar is a C# control).
Anyway, there is also a new version available (now called Updater Studio, which has a Visual Studio a-like interface).
But I will definitely bookmark your website, I like your controls 
Best regards,
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
Indeed, sorry for my mistake. But, for .net controls, there is no differences between assemblies developed in C# and VB.net.
Best regards,
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
I was having trouble because the Previous button kept getting disabled on the last page of my wizard. Tracing through the code I found the reason in the CheckState sub in the Wizard.vb file:
If m_lStartItem > 0 Then btnPrevious.Enabled = m_lCurrentItem > m_lStartItem And SelectedPane.HasNextButton Else btnPrevious.Enabled = m_lCurrentItem > 0 And SelectedPane.HasNextButton End If
This code bases the state of the Previous button on the HasNextButton property of the selected page. I changed these two lines to use the HasPreviousButton property and it seems to work fine now.
Is there a reason this was coded this way? (am I setting myself up for some unintended consequence by making this change?)
Thanks, Bill Reinhold
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi Bill
>> Is there a reason this was coded this way?
No - Just an oversight on my behalf.
The changes you made should be fine, and will probably not cause any problems.
Kind regards Gary
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Thanks for the reply Gary. Besides being convenient to use, this is a great source of techniques for building custom controls. Sure appreciate you making it available.
Bill
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
|
I was getting an error adding the control to the toolbar in VS.Net 2003. I had to copy the three picture files from the top level GN Wizard folder to the root directory on my c: drive to get it to work.
What am I doing wrong?
-- modified at 14:49 Tuesday 19th December, 2006
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi Gary - looks an awesome control, just what I was looking for.
Are there any changes needed to use this in VS 2005 ?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
As far as I'm aware there are no changes needed to run this in VS 2005.
All you will have to do Is rebuild/recompile it, so that it runs using the appropriate framework.
Kind Regards Gary
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |