Ler em inglês

Partilhar via


About Dialog Box Foundation 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

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.

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.

See Guidelines for Using Visual FoxPro Foundation Classes for more information on using foundation classes.

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

Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Foundation Class Samples