DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Fri Apr 12, 2013 6:08 am Post subject: Whats wrong with this.. |
|
|
Code: | local helpf = createForm()
local hpanel = createPanel(helpf)
local helplabel = createLabel(hpanel)
local textbox = createMemo(hpanel)
setProperty(helpf , "Position", "poScreenCenter")
setProperty(helpf , "BorderIcons", "[biSystemMenu]")
control_setPosition(hpanel, 0, 0)
control_setPosition(helplabel, 5, 5)
control_setPosition(textbox, 5, 20)
control_setCaption(helplabel, "Help")
control_setCaption(helpf, "Help File") |
Though because size wasn't set yet.. but didn't work either.
Code: | local helpf = createForm()
local hpanel = createPanel(helpf)
--local helplabel = createLabel(hpanel)
local textbox = createMemo(hpanel)
setProperty(helpf , "Position", "poScreenCenter")
setProperty(helpf , "BorderIcons", "[biSystemMenu]")
control_setPosition(hpanel, 0, 0)
--control_setPosition(helplabel, 5, 5)
control_setPosition(textbox, 5, 20)
control_setSize(helpf, 200, 200)
control_setSize(hpanel, 200, 200)
control_setSize(textbox, 150, 150)
--control_setCaption(helplabel, "Help")
control_setCaption(helpf, "Help File") |
Description: |
|
Filesize: |
82 KB |
Viewed: |
4915 Time(s) |
|
|
|