O'Reilly logo

Microsoft Dynamics NAV 2009 Programming Cookbook by Matt Traxinger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a wizard-style form

A wizard is a form that steps you through specific sections using Next and Back buttons. Here we will show you how to design a form which will do exactly that.

How to do it...

  1. Add a frame to the form.
    How to do it...
  2. Set the following properties on the textbox:

    Property

    Value

    ShowCaption

    No

    Name

    Frame1

  3. Add a label to the frame with the caption "Frame 1".
  4. Set the following properties on the Label:

    Property

    Value

    Caption

    Frame 1

  5. Copy the frame and paste two copies of it on the form.
  6. Change the labels in the new frames to be Frame 2 and Frame 3.
  7. Change the Name properties of the frames to Frame2 and Frame3 respectively.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required