OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

insert checkbox at runtime (in the process)

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
arivas_2005
Power User
Power User


Joined: 10 Oct 2006
Posts: 98
Location: El Salvador CentroAm

PostPosted: Wed Nov 30, 2011 7:52 am    Post subject: insert checkbox at runtime (in the process) Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group