Share via


About Dialog Box Foundation Class

This class is a simple About dialog box template for custom applications. The dialog box includes a button that accesses system information using the Registry class.

Category

Misc Forms

Default Catalog

Visual FoxPro Catalog\Foundation Classes\Dialogs

Class

_aboutbox

Base Class

Form

Class Library

_dialogs.vcx

Parent Class

_form

Sample

...\Samples\Solution\Ffc\dialogs.scx

Remarks

To use, drop the class on a project or, from the Component Gallery Item shortcut menu, select Add to Project. When you drop the class on a project, you can choose between adding the class, creating a subclass, or creating a form. If you choose Create a new form, Visual FoxPro displays the Open dialog box so you can specify the name of the form, then creates and opens the form in the Form Designer. Specify values for the labels, then save and call the form from your application.

Properties, Events, Methods

Description

cMSINFODir property

Specifies the path of Msinfo.exe.

Default: ""

GetRegisteredCompany method

A stub routine to return the registered company. To use, replace the lblUserCorp.Caption value.

GetRegisteredOwner method

A stub routine to return registered owner. To use, replace the lblUserName.Caption value.

See Also

Concepts

Guidelines for Using Visual FoxPro Foundation Classes

Reference

Visual FoxPro Foundation Classes A-Z

Other Resources

Foundation Class Samples