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

disabling and enabling controls

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


Joined: 17 Jul 2008
Posts: 5

PostPosted: Thu Jul 17, 2008 5:44 am    Post subject: disabling and enabling controls Reply with quote

Hi
I am totally new to Base but I have used Ms Access before. I can't quite figure out where to start in adding code to controls. I need to use option buttons to disable and enable other buttons. Please point me in some direction where I can get some useful help/ information.
thanks
Back to top
View user's profile Send private message
QuazzieEvil
Super User
Super User


Joined: 17 Jan 2007
Posts: 599
Location: Houston, TX

PostPosted: Thu Jul 17, 2008 5:59 am    Post subject: Reply with quote

I have a patial tutorial on form controls/code at http://www.geocities.com/rbenitez22
_________________
Free Docs @ http://www.baseprogramming.com/resources.html
Book @ lulu.com http://www.lulu.com/content/2455551
Back to top
View user's profile Send private message Visit poster's website
ashmuw
General User
General User


Joined: 17 Jul 2008
Posts: 5

PostPosted: Thu Jul 17, 2008 9:31 pm    Post subject: thanks Reply with quote

thanks for the material.....I will have a look at it and let you know how successful I am.
_________________
ashmuw
Back to top
View user's profile Send private message
ashmuw
General User
General User


Joined: 17 Jul 2008
Posts: 5

PostPosted: Thu Jul 24, 2008 5:23 am    Post subject: more help Reply with quote

Ok here is what i want to do: I have a questionnaire that has some questions that should not be answered if others are answered No or Yes or E. So i have radio buttons for all the questions. What I need to do is have a user select one option say No and radio buttons(the groups) for the following questions get disabled if they are not supposed to answer them based on the answer they gave. The material provided helped me get a basic start. thanks
_________________
ashmuw
Back to top
View user's profile Send private message
uros
Super User
Super User


Joined: 22 May 2003
Posts: 601
Location: Slovenia

PostPosted: Sun Jul 27, 2008 10:51 pm    Post subject: Reply with quote

Hi ashmuw!
I assume that you work with forms, not dialogs. I can't help there exactly.
Anyway, download X-Ray tool, and examine your controls.
I'm pretty sure that there is some property like object.Enable, which can be True or False...
Uros
Back to top
View user's profile Send private message
ashmuw
General User
General User


Joined: 17 Jul 2008
Posts: 5

PostPosted: Sun Jul 27, 2008 11:43 pm    Post subject: Reply with quote

hey thanks...yes I am working with forms. Your information was useful an I am making a bit of some progress.
_________________
ashmuw
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