Hi all,
Is there any way to make a particular tab have the focus without actually
clicking on it? I know there's a On Mouse Move, but if I put in code to
have that specific tab receive the focus when the mouse moves over the name,
then moving the mouse anywhere on that entire tab (not just it's name) makes
the screen flicker. I'm assuming it's making that tab the active one with
every move and that's causing the screen flicker.
Do I HAVE to force the user to "click" on the tab or is there another way?
TIA
ron 4 1653
Ron wrote: Hi all,
Is there any way to make a particular tab have the focus without actually clicking on it? I know there's a On Mouse Move, but if I put in code to have that specific tab receive the focus when the mouse moves over the name, then moving the mouse anywhere on that entire tab (not just it's name) makes the screen flicker. I'm assuming it's making that tab the active one with every move and that's causing the screen flicker. Do I HAVE to force the user to "click" on the tab or is there another way? TIA ron
If you programatically set focus to any control on a particular TabPage then
that TabPage will be brought to the front. Alternatively, you can set the
TabControl's value property to the index of the page you want (they start at
zero). The line below sets the TabControl to the third page.
Me.TabControlNa me.Value = 2
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
"Rick Brandt" <ri*********@ho tmail.com> wrote in message
news:1R******** *********@newss vr11.news.prodi gy.com... Ron wrote: Hi all,
Is there any way to make a particular tab have the focus without actually clicking on it? I know there's a On Mouse Move, but if I put in code to have that specific tab receive the focus when the mouse moves over the name, then moving the mouse anywhere on that entire tab (not just it's name) makes the screen flicker. I'm assuming it's making that tab the active one with every move and that's causing the screen flicker. Do I HAVE to force the user to "click" on the tab or is there another way? TIA ron
If you programatically set focus to any control on a particular TabPage then that TabPage will be brought to the front. Alternatively, you can set the TabControl's value property to the index of the page you want (they start at zero). The line below sets the TabControl to the third page.
Me.TabControlNa me.Value = 2
-- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com
Thanks for the attempt at helping, but I don't see how this answers my
question.
Again, is there a way to allow the user to simply pass over the tabcontrol
and have it change the page to that tab? Similar to the way the ControlTip
Text is displayed without having to click on the tab (it appears after a
moment if the pointer is left on the tab rather than having to click it for
it to appear). Similar to the way all the selections appear on a toolbar
once the first one is clicked and you move across the toolbar to the other
selections.
ron
Ron wrote: "Rick Brandt" <ri*********@ho tmail.com> wrote in message news:1R******** *********@newss vr11.news.prodi gy.com... Ron wrote: Hi all,
Is there any way to make a particular tab have the focus without actually clicking on it? I know there's a On Mouse Move, but if I put in code to have that specific tab receive the focus when the mouse moves over the name, then moving the mouse anywhere on that entire tab (not just it's name) makes the screen flicker. I'm assuming it's making that tab the active one with every move and that's causing the screen flicker. Do I HAVE to force the user to "click" on the tab or is there another way? TIA ron If you programatically set focus to any control on a particular TabPage then that TabPage will be brought to the front. Alternatively, you can set the TabControl's value property to the index of the page you want (they start at zero). The line below sets the TabControl to the third page.
Me.TabControlNa me.Value = 2
-- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com
Thanks for the attempt at helping, but I don't see how this answers my question.
Sorry, I thought the *core* question was...
Is there any way to make a particular tab have the focus without actually clicking on it?
....which is what I answered. I have no idea how to do the "hover over it
and change tabs" thing. All Access has is MouseMove which is not nearly as
nice to use as the MouseOver events that other environments have.
You could set TabStyle to None, provide your own labels or buttons for
changing the page using the methods I mentioned, and then use the MouseMove
event of those labels/buttons. The actual "tab" portion of a TabPage is not
a separate object that you can interact with (other than with the mouse).
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
"Rick Brandt" <ri*********@ho tmail.com> wrote in message
news:Kx******** **********@news svr25.news.prod igy.net... Ron wrote: "Rick Brandt" <ri*********@ho tmail.com> wrote in message news:1R******** *********@newss vr11.news.prodi gy.com... Ron wrote: Hi all,
Is there any way to make a particular tab have the focus without actually clicking on it? I know there's a On Mouse Move, but if I put in code to have that specific tab receive the focus when the mouse moves over the name, then moving the mouse anywhere on that entire tab (not just it's name) makes the screen flicker. I'm assuming it's making that tab the active one with every move and that's causing the screen flicker. Do I HAVE to force the user to "click" on the tab or is there another way? TIA ron
If you programatically set focus to any control on a particular TabPage then that TabPage will be brought to the front. Alternatively, you can set the TabControl's value property to the index of the page you want (they start at zero). The line below sets the TabControl to the third page.
Me.TabControlNa me.Value = 2
-- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com
Thanks for the attempt at helping, but I don't see how this answers my question.
Sorry, I thought the *core* question was...
Is there any way to make a particular tab have the focus without actually clicking on it?
...which is what I answered. I have no idea how to do the "hover over it and change tabs" thing. All Access has is MouseMove which is not nearly as nice to use as the MouseOver events that other environments have.
You could set TabStyle to None, provide your own labels or buttons for changing the page using the methods I mentioned, and then use the MouseMove event of those labels/buttons. The actual "tab" portion of a TabPage is not a separate object that you can interact with (other than with the mouse). -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com
Hi Rick,
That last suggestion did the trick. I even added changes in backcolor and
raised/sunken special effects to mimic the tab controls. I left the
original size of my tabcontrol page the same and set the tabstyle to none
and to modify all the stuff on the different tabpages all I have to do is
just move my new labels out of the way, put the tabstyle back to buttons and
there they are. Great! Strange, how I can add that type of functionality to
labels and Microsoft gives us this very crippled tabcontrol that doesn't
even work like the rest of their controls (toolbars, etc).
Anyway, works like a charm so off I go finding my next user friendly
attribute I want to add.
Thanks bunches!
ron This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: David |
last post by:
I have a problem that I cannot delete components that are placed on a
Tabbed page in Visual Basic.Net 2003. (OS = Windows 2000 Professional)
The form uses a Tab Control with several pages. I have a Panel on the page
and then some combo boxes, labels and text boxes.
For some reason, I cannot delete any of these controls from the form (not
even the Tab control istelf).
The Delete and Cut options in the right click menu have been ghosted...
|
by: Mac via DotNetMonster.com |
last post by:
Hi all,
As some of you would know from my previous posts that I am rewriting our Unix
based system into .Net with a MDI interface.
Recently I have added a tab control to the top of the MDI parent form that
will contain a tab page for each open MDI child form. It is only 24 pixels
high so all you see is the tabstrip. Then I only have to add a bit of code to
the "changed index" event of the tab control as well as the "on activate"
event...
|
by: Martin |
last post by:
Hi all!
As a preparation of a conversion from VB6 to VB2005 I'm playing around with
VB2005. One of the first things that strike me is the user-interface. In all
documentation Microsoft keeps going on about this beautiful Tabbed MDI
Interface that we all should be using. And I agree, it is nice. So I set out
to build my first test-app and guess what? I can't find how to create a
Tabbed MDI Interface... I do see the "old" MDI container,...
|
by: kev |
last post by:
Hi folks,
Firstly, a great thanks to all members of this group who has been of
great help to me. Due to your help, i have been able to proceed with my
project.
Now, i have another question.Please help
I have a form with 10 tabs on it. I use this tabbed
form"frmSL1Registration" to display all the records that have been
submitted. My question here is how do i make the tab page(any
particluar tab page) to appear invisible if there is no...
|
by: kev |
last post by:
Hello,
I posted a question a while ago on tabbed pages, how to set it to
invisible when the text box is empty.It was answered by Rick and the
code ran perfectly. However, i tried using the same code for another
scenario and it gives me compile error:method or data member not found.
My scenario is i have a nested tab page.My main tabbed page has 4 tabs,
About, SafetyLevel1,SafetyLevel2,SafetyLevel3. Inside this main, i
created a...
| |
by: NeoPa |
last post by:
Originally posted by Missinglinq:
The first thing to remember is that Tabbed Pages are all part of a single form; think of it as a really long form turned on its side and folded on itself. Because it is all one form, references to contols on any page are done in the same manner as if they were all on one single screen.
Create a form in Design View. Goto the toolbox and click on the Tabbed Control icon; it actually looks like several...
|
by: AndyM |
last post by:
Hi,
I have a curious problem that is causing me large amounts of grief and is steadily turning me grey. Hopefully you guys can help.
I have a Master table that contains a CustomerID (as well as customer name etc), this is used as the Primary key to all the tables relating to that customer. I've been using 1 to Many relationships for most of the tables (e.g A customer can have many addresses) with Referential Integrity and cascading turned...
|
by: bbatson |
last post by:
Hello,
I've recently created a tabbed form. The forms within the tabbed form have command buttons that create reports based on queries that are driven by the forms (based on the !! setup). The reports work on the individual form level but do not run as components of the tabbed form.
I cannot figure out why this is.
Any help is greatly appreciated.
|
by: bbatson |
last post by:
Hello,
I can't seem to figure out how to prevent a tabbed form from changing colors toward the bottom half of the form. See image below:
http://img236.imageshack.us/img236/8652/postbz5.jpg
How can I adjust the background fill color of the tabbed form to prevent this slight color change? I can't find the property for back color of the tabbed form.
Any help is greatly appreciated!
|
by: hedges98 |
last post by:
Sorry for the mouthful of a title!
Basically, I have a form with tabbed controls (Personal/Contact Details, Referral Information, Case Info/Status etc.) and I want to add a tabbed control form inside one of the existing tabs.
At the moment there are two tabs called Appointments and Group Appointments. What I want to do is add a tabbed control inside the Appointments tab with two tabs called Individual Appointments and Group Appointments...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |