Building a custom visual user object

On the PB Object tab page of the New dialog box, if you select Custom Visual and click OK, the User Object painter for custom visual user objects opens. It looks like the Window painter, but the empty box that displays in the Layout view is the new custom visual user object.

Building a custom visual user object is similar to building a window, described in Chapter 11, “Working with Windows.” The views available in the Window painter and the User Object painter for custom visual user objects are the same.

StepsTo build the custom visual user object:

  1. Place the controls you want in the custom visual user object.

  2. Work with the custom visual user object as you would with a window in the Window painter:

  3. Save the user object.

    See “Saving a user object”.