Topics Search

Option Control to hide/show page tabs

Option Control to hide/show page tabs
Views: 159
I am creating a form where I have an option group with 7 options and a tab control with 7 pages. What I want to happen is when a user selects an option only the corresponding page tab is displayed, all the others are hidden. I would also want all the tabs hidden when opening a new record and no selection has yet been made.
Sponsored Links:

More topics

 

Option Control to hide/show page tabs

Preview
I am fairly new to access databases and am teaching myself as I go along. However I have now got myself stuck!

I am creating a form where I have an option group with 7 options and a tab control with 7 pages. What I want to happen is when a user selects an option only the corresponding page tab is displayed, all the others are hidden.

I would also want the tabs hidden when opening a new record and no selection has yet been made.
 

Show or hide object tabs

Preview
Microsoft Office Access 2007 provides a new way to work with the tables, forms, reports, and other objects in a database. Instead of opening each object in a separate window, Access now places objects in a single pane and separates them with tabs. Tabs are the default behavior for all databases created with Office Access 2007.
In this article
* Understand tabs
* Why hide tabs?
* Show or hide object tabs without using overlapping windows
* Switch from tabs to overlapping windows
 

2010: How to create Multiple row for tab control?

Preview
I have a 50 page form and therefore decided to use tab control.one page for each tab. Can anyone tell me how to have the tabs on different rows instead of having them listed horizontally. I have set the "multi row" to "yes" but it still keeps showing the tabs in one row until I can't even see extra tabs I'm adding because the width of the page increaseswith every tab I add.

What I want is roughly 10 tabs per row. Is there anything else to change beside setting "multirow" to yes?
 

Hide each control, control group or subform?

Preview
I'm setting up a form that (depending on an option selected) will either show or hide some of the controls.

There are about 30 usable controls, ranging from option groups to text boxes and command buttons. Also a bunch of other non-usable labels, lines etc.

They will be hidden or shown in groups of roughly 1/3 of the total controls.

My question is what would be considered best practice here:

1) To set the controls in subforms

2) To group the controls and use a For Each statement based on the .tag property

3) To manually show/hide each control

I believe that (1) would be the easiest, but I once read that subforms carry a lot of overhead. (2) would probably be my second choice, but carries more code than (1). I hope nobody says (3) since I'd sure not like to code all of that.

Or, is there another, better choice?
 

GoToControl and Record Navigation....

Preview
I have several pages (tabs) on a Form.

On the last record of each page, I have added an OnExit Event with a GoToControl macro so that one can Tab from the last control of one page to the First control of the next page.

this works well.

However, one of the users has discovered that if the cursor is in the last box on any page (which has the GoToControl macro) and she clicks to advance the Navigation button, instead of moving to the next record (and same control), the Navigation button moves the cursor to the first control of the next page.

Does anyone know how I can get the record navigation to work correctly (to next Record) while still having the tabbing sequence working well (from last control on one page to first control on the next page)?
 

VB.NET How do design settings forms

Preview
I'm using Visual Studio 2010 and my software will be a Windows Forms Application. kind of like Tabs, except they're not tabs.

I have an good example from the TeamViewer software settings page. I'm interested in learning how to design forms like that in VB.NET.

How do I load a different page when you click a different setting? There are tons of software that have a kind of "tabbed" settings page, except there are no visible tabs.

I have not found any option that I know that allows you to do this in VS2010 by the use of tabs, panes or other Group Controls.

Does anyone know how to design the form like the images below and how to make it look like it's different pages/views being showed without using tabs or anything like that?
 

Setting Properties for Multiple Objects in a Collection or Array Simultaneously

Preview
I have a form which includes an option group and multiple controls that I would like to hide if a user selects a certain option in the option group.

The option box is called fmeKnitWovenOther. There is a label called fmeKnitWovenOtherLbl that I would like to hide when any option is selected and a number of controls I would like to hide only if the user selects option 2.
[code]
The problem is that I have set the .visible property of every control individually, but I will need to expand this form and add more controls to be hidden for the other two options. If I keep setting the .visible property for every control manually, I am going to wind up with a giant list of controls all manually set to .visible = True and .visible = False depending on theIf or ElseIf condition.
 

Show or Hide Tabs in Microsoft Access 2007

Preview
Access 2007 introduces the tabbed document format found in other Microsoft Office products. In some cases, you may wish to hide these tabs to change the look and feel of your database or more closely simulate the appearance of older versions of Access.
 

Tab Issue: Want the first tab to control the records for others

Preview
Having issues with a tabbed navigation form - I want the first tab to control the record for the others I.e. if I select a member of staff in the first tab, all the other tabs when opened will display their record.

I can get this to work in a split form with inserted tabs but not on a plain horizontal tabs navigation page.
 

Establish tab order between objects in tab control pages

Preview
In Access 2003/XP/2000/97, I have a form with a main tab box (created with a tab control) with four tabs on it and each tab has a number of text boxes on it. I have indexed these tabs so when the user tabs across, it goes from one tab page to another. However when it reaches the last text box on a particular tab instead of going to the next tab, it goes to the next record.