473,386 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Group many buttons in one container with scrollbar

67 64KB
Hi,

In my access application, I have main page which contains many buttons and all that button I have group it by category. For example, there are 12 buttons budget for 12 months and I would like to group it in one container but in that container could just show like 5 buttons and for other user can see it by scroll down.

I need to do like that cuz in main page there are a lot of information in it and for main window I don't want to use vertical scroll bar on that main page but it's okay with each sub window (each category container).

Could anybody tell me which access component that I can do like this?

Best regards,
Sophanna
May 7 '14 #1
6 1336
jimatqsi
1,271 Expert 1GB
sophannaly,
A list box works very very well for this. Make your list box Row Source Type a Value List. Fill the list with the Description of the buttons, then use the On Update event to execute the code according to which selection was made in the list box.

Beats using individual buttons by a mile.

Jim
May 7 '14 #2
sophannaly
67 64KB
Hi Jim,

Thanks for your reply. But in my main page, each button information looks like this:

No label button deadline

If I put in list box then everything looks like text but we want to show that there is a button.

Do you know if there is other solution?

Best regards,
Sophanna
May 7 '14 #3
jimatqsi
1,271 Expert 1GB
Why must everything look like a button? Users quickly adapt to what your program offers. I normally make a label above the list box "Command List" or some such thing, it is quickly obvious how it works.

That being said, you must know your users and the environment you are working in. I don't have another, similar solution handy.

Jim
May 7 '14 #4
Rabbit
12,516 Expert Mod 8TB
Put the buttons in a subform. You will need to rewrite your code to affect the parent form instead.
May 7 '14 #5
zmbd
5,501 Expert Mod 4TB
just to supplement Rabbit:

when you get into subforms:
This is the most simple and sweet: Allen Browne: Referring to Controls on a Subform

THis is the reference I will use when I get lost:
Forms: Refer to Form and Subform properties and controls
I'm worried enough that this site might ever go down that I took advantage of the download offer of a hardcopy of the table - upper right hand corner!

just keep in mind that the second reference will be more help when back referencing the parent... of course, I cheat the use the parent!controlname method from within subforms. (^_^)
May 7 '14 #6
jimatqsi
1,271 Expert 1GB
Good idea, Rabbit, that should work well.
May 7 '14 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Alexander Fischer | last post by:
Hello everybody, can someone help me with this problem: I'm creating a page with a sidebar, and I wanted to create the sidebar as a div which gets a "position:absolute". The problem: if the...
7
by: Sujan | last post by:
Hello all, Is it possible to remove scrollbar(s) without using frames. Is there any code which could be applied in body tag to remove scrollbar(s). Thanks in adv, Sujan
6
by: Robert | last post by:
Hello. I have been trying out the Lebans ToolTip Classes at http://www.lebans.com/tooltip.htm, to display "balloon" style help tips in a form. The classes I am using are located at...
0
by: George Jordanov Ivanov | last post by:
Hi there, I have a problem related with validation of a container control, containing other container controls. Scenario: I have a dialog based Windows form, containing a group control (which...
3
by: spielmann | last post by:
Hello I want to change the scrollbar size of windows, How can I do that with vb.net I have find this in VB6 but how can we convert simply this code. thx
3
by: weston | last post by:
I'm making a foray into trying to create custom vertical scrollbars and sliders, and thought I had a basic idea how to do it, but seem to be having some trouble with the implementation. My...
3
by: Sin Jeong-hun | last post by:
Suppose there are 4 radion buttons on the form. There's no groupbox or panel to seperate them. By default, the 4 radio buttons are mutually exclusive. Is it possible to group them into two groups?...
2
by: dpazza | last post by:
Hi, I'm creating a quiz on using a form in VB 2005 express. I have four sets of questions and answers (labels and radio buttons) and I change between which set of questions is currently shown on...
5
by: arathra | last post by:
Hi, hope someone can help with this. It's driving me mad. I have a container inside which is another DIV which is filled with pictures and then another DIV with some text. In FF the picture DIV...
7
by: Haiyan | last post by:
Dear experts: I am trying to add one xy-scrollbar on the canvas, then put lots of check buttons on the canvas. I got at least following 2 problems: 1.I can see the y-scroll bar but contents on...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.