StrataFrame Wizard Control and error control


Author
Message
Mike Rogers
Mike Rogers
StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)
Group: Forum Members
Posts: 23, Visits: 723
I have a field that is required to be completed before moving to the next page.

Private Sub WizardControl1_NextClicked(ByVal e As MicroFour.StrataFrame.UI.Windows.Forms.NextBackEventArgs) Handles WizardControl1.NextClicked

If txtRecordSourceName.Text = "" Then

                        EVGCI.MessageDialog(AppError, "ERROR", "Please Select a Record Source before clicking Next")

bolError = True

WizardControl1.CurrentPageIndex = 0

WizardControl1.MoveToPreviousPage()

WizardControl1.MoveToLastPage()

End If

End Sub

 

I need to force the wizard control to stay on the current page if you have incomplete fields.

Thanks Mike


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Mike Rogers - 16 Years Ago
Trent L. Taylor - 16 Years Ago
             Thanks Trent, works like a charm.
Mike Rogers - 16 Years Ago
                 No problem :)
Trent L. Taylor - 16 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search