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

Form size

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base
View previous topic :: View next topic  
Author Message
Seb33300
Power User
Power User


Joined: 07 Feb 2006
Posts: 63
Location: France

PostPosted: Fri Feb 10, 2006 12:41 am    Post subject: Form size Reply with quote

Is it possible to choose the size of the forms ?

I want to open them in a small window without toolbars

And is it possible to make groupbox wich can contain other things then radio bt ?

thanks
Back to top
View user's profile Send private message Send e-mail
Seb33300
Power User
Power User


Joined: 07 Feb 2006
Posts: 63
Location: France

PostPosted: Sun Feb 12, 2006 1:00 pm    Post subject: Reply with quote

is it possible ?

and is it possible to open a form when we open a database ?
Back to top
View user's profile Send private message Send e-mail
DrewJensen
Super User
Super User


Joined: 06 Jul 2005
Posts: 2616
Location: Cumberland, MD

PostPosted: Sun Feb 12, 2006 2:41 pm    Post subject: Re: Form size Reply with quote

Seb33300 wrote:
Is it possible to choose the size of the forms ?

I want to open them in a small window without toolbars

And is it possible to make groupbox wich can contain other things then radio bt ?

thanks


The form will open to whatever size it was when saved in design mode.

Yes, a group box can contain anyother type of control, including other group boxes. When you do this you can enable or disable all the controls in the box by doing so to the goup box itself.

Quote:

and is it possible to open a form when we open a database ?


There is no inherint support for this.
_________________
Blog - http://baseanswers.spaces.live.com/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Seb33300
Power User
Power User


Joined: 07 Feb 2006
Posts: 63
Location: France

PostPosted: Sun Feb 12, 2006 11:50 pm    Post subject: Reply with quote

ok thanks

And how to open a form clicking on a button ?
Back to top
View user's profile Send private message Send e-mail
DrewJensen
Super User
Super User


Joined: 06 Jul 2005
Posts: 2616
Location: Cumberland, MD

PostPosted: Mon Feb 13, 2006 4:51 am    Post subject: Reply with quote

Do a search on the forum...that is the quickest way to get your answer...there are plenty of examples.
_________________
Blog - http://baseanswers.spaces.live.com/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Seb33300
Power User
Power User


Joined: 07 Feb 2006
Posts: 63
Location: France

PostPosted: Mon Feb 13, 2006 6:52 am    Post subject: Reply with quote

All that I found don't work or I don't know how to use them

I crash ma base using one... All my forms had been destroyed... Evil or Very Mad
Back to top
View user's profile Send private message Send e-mail
hermione
General User
General User


Joined: 05 Feb 2004
Posts: 14

PostPosted: Sun May 07, 2006 2:14 am    Post subject: Form Size Reply with quote

When I go back into design mode, can I then change the size of the form? I used the wizard to design a form and then rearranged the fields. The form itself is now wider than I want and not long enough.
_________________
Config: WinXP OOo 2.02
Back to top
View user's profile Send private message
snowdrop
General User
General User


Joined: 24 Jun 2006
Posts: 7

PostPosted: Sun Jun 25, 2006 5:54 am    Post subject: Reply with quote

About opening a form from another form, assign to the button the following code


function OpenForm( formContainer as variant, oConnection as variant, sFormName as string) as variant
Dim aProp(1) As New com.sun.star.beans.PropertyValue
aProp(0).Name = "ActiveConnection"
aProp(0).Value = oConnection
aProp(1).Name = "OpenMode"
aProp(1).Value = "open"
OpenForm = formContainer.loadComponentFromURL(sFormName,"_blank",0,aProp())
end function

function getFormsTC() as variant
getFormsTC = thisComponent.Parent.getFormDocuments
end function

function getConnectionTC() as variant
getConnectionTC = thisComponent.Drawpage.Forms(0).ActiveConnection
end function

sub OpenForm_myform( oev as variant )
sFormName = "Formnametoopen"
OpenForm( getFormsTC, getConnectionTC, sFormName )
end sub
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 Base 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