arivas_2005 Power User

Joined: 10 Oct 2006 Posts: 98 Location: El Salvador CentroAm
|
Posted: Wed Nov 30, 2011 7:52 am Post subject: insert checkbox at runtime (in the process) |
|
|
Hello
I have a dialog box created with IDE called Dialog2
I need to insert at runtime checkbox and textbox in Dialog2. .... and a good following, after use, proceed to remove them, but not how to program
| Code: | Sub CreateObjectonFly
Dim odlg2 as object
Dim mychech1 as object
Dim myTextBox1 as object
DialogLibraries.LoadLibrary("Standard")
odlg2=CreateUnoDialog(DialogLibraries.Standard.Dialog2)
REM mycheck1 = ?
'' How can insert a checkbox on the fly in Dialog2
REM myTextBox1= ?
'' How I can insert a textbox on the fly in Dialog2
End Sub |
Also, I want to know how to do reading
| Code: | Sub readControlsonFly
statemychec1= ?
''How I can read the inserted CheckBox1in Dialog2
textMyTextBox1= ?
''How I can read the textbox1 to flight in Dialog2
end sub |
and ... How can be removed (CheckBox1 or textbox1) from Dialog2
Mis agradecimientos por sus aportes |
|