how to position a dialog box
how to position a dialog box
(OP)
how do I position a dialog box so it opens in a certain oplace that I determine? currently it opens in the middle of my attachmate screen and so is in the way. I would like to position it to one side of my attachmate screen or have it open in the place where it was when it was closed.
thanks you
smiler44
thanks you
smiler44
RE: how to position a dialog box
CODE
(x,y) = Position of dialog relative to upper left cornor of parent window
(dx,dy) = Size of window
caption = Text in top of the dialog
dialogfunction = The function used by the dialog
Only dx and dy are mandatory variables.
Hope it helps.
Regards
Lakare
RE: how to position a dialog box
As excited as I am, I'm all macroed and formulaed out for the week. I will practice this next week.
please don't think me ungrateful, I am just worn out
thank you, appreciate it
smiler44
RE: how to position a dialog box
seem to have a clear head today.
I have used Begin Dialog userdialog1 [100, 100,] 183, 100, [,.DlgFunction] but it errors.
I tried Begin Dialog userdialog1 [100, 100,] 183, 100 [, home$] [,.DlgFunction] to make sure i used what you had but this too errors when I complie.
any ideas?
thanks smiler44
RE: how to position a dialog box
The square brackets just mean it is optional and shall not be a part of the code.
Regards
Lakare
RE: how to position a dialog box
I'm sure I did but will go and try again just in case.
smiler44