hey, Have you tried running this code? this works exactly as you need.
please go through the code again,you willl find the code for OK button is already there and t is working exactly as you need
In case the button is not visible then try resizing the form or remove following statements
hey, Have you tried running this code? this works exactly as you need.
please go through the code again,you willl find the code for OK button is already there and t is working exactly as you need
In case the button is not visible then try resizing the form or remove following statements
please go through the code again,you willl find the code for OK button is already there and t is working exactly as you need
Code:
oButton.Text="OK"
Pos.X=60
Pos.Y=CInt(oGroupBox.Height)+20
oButton.Location=Pos
oDForm.CancelButton=oButton
oDForm.Controls.Add(oGroupBox)
oDForm.Controls.Add(oButton)
Code:
oDForm.width = 250
oDForm.height = 190
hey, Have you tried running this code? this works exactly as you need.
please go through the code again,you willl find the code for OK button is already there and t is working exactly as you need
Code:
oButton.Text="OK"
Pos.X=60
Pos.Y=CInt(oGroupBox.Height)+20
oButton.Location=Pos
oDForm.CancelButton=oButton
oDForm.Controls.Add(oGroupBox)
oDForm.Controls.Add(oButton)
Code:
oDForm.width = 250
oDForm.height = 190