ISDBUI::NewForm: Difference between revisions
Jump to navigation
Jump to search
m (added object link and related topics) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{MethodDeclaration|SDBUI|ISDBUI|Property Get NewForm As ISDBUIForm}} | {{MethodDeclaration|SDBUI|ISDBUI|Property Get NewForm As [[ISDBUIForm]]}} | ||
===Property description=== | ===Property description=== |
Revision as of 16:28, 26 December 2007
CoClass SDBUI, Interface ISDBUI
Property Get NewForm As ISDBUIForm
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