 |
|
 |
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.
|
|
|
|
 |
|
 |
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.
|
|
|
|
 |
|
 |
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!
|
|
|
|
 |
|
 |
I couldn't figure out how to validate a page. I appreciate for help...
mn.yarar
|
|
|
|
 |
|
 |
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.
|
|
|
|
 |
|
 |
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.
|
|
|
|
 |
|
 |
Acknowledgment would be good but is not necessary.
Thank you for your honesty, I hope you can use it.
Kind regards
Gary
|
|
|
|
 |
|
 |
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?
|
|
|
|
 |
|
 |
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
|
|
|
|
 |
|
 |
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???
|
|
|
|
 |
|
 |
I am having the same problem
|
|
|
|
 |
|
 |
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.
|
|
|
|
 |
|
 |
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,
|
|
|
|
 |
|
 |
Can you elaborate on the problems you are having?
|
|
|
|
 |
|
 |
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,
|
|
|
|
 |
|
 |
Excellent.
I like your updater tool.
It looks very easy to implement and maintain.
You could give it a better sidebar by implementing my outlookstyle sidebar control that can be found here: http://www.itchin.net/NBMain.html[^]
Kind Regards
Gary
|
|
|
|
 |
|
 |
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,
|
|
|
|
 |
|
|
 |
|
 |
Indeed, sorry for my mistake. But, for .net controls, there is no differences between assemblies developed in C# and VB.net.
Best regards,
|
|
|
|
 |
|
 |
If you have more than 2 pages click next in the designer always skips the second page.
|
|
|
|
 |
|
 |
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
|
|
|
|
 |
|
 |
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
|
|
|
|
 |
|
 |
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
|
|
|
|
 |
|
 |
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
|
|
|
|
 |
|
 |
Hi Gary - looks an awesome control, just what I was looking for.
Are there any changes needed to use this in VS 2005 ?
|
|
|
|
 |