Hello everyone
I would like to know how to change the size of a dialog in basic program step.
i tried this:
sub Show_Topic(sCellString as string, sTopic as string)
Dim vTextfield As Variant
REM error handling
On Error GoTo ErrorMsgBox
DialogLibraries.LoadLibrary("Standard")
dlgFrmLesson = CreateUnoDialog(DialogLibraries.Standard.frmLesson)
'** these two properties don't work. Why?
dlgFrmLesson.Width = 300
dlgFrmLesson.Height = 300
'*****************************************
dlgFrmLesson.Title = sCellString
vTextfield = dlgFrmLesson.getControl("txtLesson")
vTextfield.Text = sTopic
dlgFrmLesson.execute()
exit sub
ErrorMsgBox:
MsgBox "Errore - Show_Topic"
Resume next
end sub
Why don’t the properties: width and height work?
Thank you