ISDBUI::NewForm

From MediaMonkey Wiki
Revision as of 22:05, 5 March 2008 by Steegy (talk | contribs) (Linkified the object)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CoClass SDBUI, Interface ISDBUI

Property Get NewForm As SDBUIForm


Property description

Creates a new Form object. You can place additional controls on it then.

Example code

Set Form = SDB.UI.NewForm
Form.Common.SetRect 100, 100, 500, 400
Form.Caption = "Statistics"

Set Btn = SDB.UI.NewButton(Form)
Btn.Caption = "Close"
Btn.Common.SetRect 10, 10, 100, 20

Form.ShowModal

Related Topics