Ran into an inconvenience with TabControls yesterday. I found a
partial explanation from Allen Browne on the MS message boards
explaining when it happens, but not why. I thought Stephen Lebans
(who's done a little work with this for his multi-colored listbox
class), or someone else might've figured this out.
Here's the scenario:
DBs created on Windows XP using A2K7 are apparently incapable of
displaying TabControl transparency. Regardless of the BackStyle
property setting for a TabControl, the control is displayed with an
opaque background.
Per Allen's post, changing the display theme to "Windows Classic"
restores the display transparency of the control, but with a "Windows
XP" theme, the control display reverts to opaque, regardless of
BackStyle property setting.
TabControls in DBs created on Windows XP using A2K3 display correctly
based on the BackStyle setting regardless of operating system or
Access version. Further, any form containing a TabControl imported
into those DBs created in A2K3 also display correctly. For example, if
a form containing a TabControl is created in A2K7 it will not display
transparently unless it is imported into a DB created in A2K3.
The converse of this import anomaly is not true. That is, a form
containing a TabControl created in A2K3 and imported into a DB created
in A2K7 also displays opaquely regardless of BackStyle property
setting.
I've monkeyed around with all manner of property setting (property
sheet, VBA design-time, and VBA run-time). I've tried changing the
BackStyle property for the default TabControl object, as well.
Any ideas/experience with this thing?
Any ideas? 2 2118
Yes, this is a bit of a pain.
Have you tried unchecking the 'Use Windows Themed Controls' option under:
Office Button | Access Options | Current Database
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Jamey" <ca*********@ya hoo.comwrote in message
news:ad******** *************** ***********@8g2 000hse.googlegr oups.com...
Ran into an inconvenience with TabControls yesterday. I found a
partial explanation from Allen Browne on the MS message boards
explaining when it happens, but not why. I thought Stephen Lebans
(who's done a little work with this for his multi-colored listbox
class), or someone else might've figured this out.
On Jul 18, 12:07*am, "Allen Browne" <AllenBro...@Se eSig.Invalid>
wrote:
Yes, this is a bit of a pain.
Have you tried unchecking the 'Use Windows Themed Controls' option under:
* * Office Button | Access Options | Current Database
--
Allen Browne - Microsoft MVP. *Perth, Western Australia
Tips for Access users -http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
Sorry so late getting back to this, been on vacation.
Yes, Allen, that's the trick. That option gets unchecked for the
databases created in earlier versions, automatically, and that leads
to the creation version issues detailed above.
Didn't even know that option was there.
I changed the setting in Tools|Options|F orms/Reports tab. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ken Lee |
last post by:
Hi all,
I'm sort of very new to C# and haven't programmed in OO for a while.
I'm trying to override the backgroundimage to the tabcontrol but it just
doesn't seem to want to do it, can someone please help me and tell me what
I'm doing wrong?
namespace RHInvestmentApplication
{
public class FormRHMain : System.Windows.Forms.Form
{
|
by: Tamir Khason |
last post by:
How be able to manage more deeply UI of TabControl and TabPage
For example - I want to manage border color, change color of TabPage reef,
eliminate spaces from both sides of the reef, so I bould custom control that
inherit all information from TabPage, but how to access those properties,
not supported by standart interface???
Thank you
|
by: Patrick McGuire |
last post by:
I want to place a tabControl with almost identical
properties on several forms. I think the best way is to
define a UserControl that inherits
System.Windows.Forms.TabControl, and place all my
controls on it. The problem is that I don't know how to
bring up the graphical design interface for the
TabControl. I suppose I COULD just design it as a
UserControl and place a TabControl on it, but that seems
a bit... inelegant (I'm going to...
|
by: Henry Wu |
last post by:
Hi, NumericUpDown control has a InterceptArrowKeys property, is there
such a thing for a TabControl? I want to prevent the TabPages from
switching to one another when the Left & Right arrow keys are pressed.
I have two forms, Form-A has KeyPreview = True and it is here where
the TabControl is placed, Form-A moves graphic objects at Form-B via
ArrowKeys.
Thanks,
Henry
|
by: Michael Turner |
last post by:
Hi Guys
Having problem with the tab control, I need to set the background color to
something different than the standard, I have found code on the web and now
can redraw the tabpage buttons so the are set to the right color, I can
obviously change the tabpage colour but I am left with a grey top edge(Where
there are no buttons) when the background of the form is changed any ideas
on what I can do?
Mike.
| |
by: Zadkin |
last post by:
Does anyone know, if it's possible to set the orientation of the
tabpagebuttons to horizontal instead of vertical when the alignment property
of my tabcontrol is set to left or right?
Thanks in advance
Zadkin
|
by: Beppe |
last post by:
Hi,
I'm trying to make a TabControl transparent, but with no result.
I must place it in a form with a background image.
Does anyone know this problem?
|
by: teddysnips |
last post by:
I have a new client who has an Access 2000 database that used to run
under Windows 2000 Pro. They have just "upgraded" to Access 2007
under Vista, and the old database stopped working - buttons on forms
did nothing.
When I first looked at it the problem seemed to be the change to the
signature of Docmd.Requery (fewer arguments) so I made the necessary
changes and the database compiled. I compiled and tested it on my
work system (also...
|
by: Arch |
last post by:
I have an application that runs as a .mde, just fine with A2K and A2K3
but gets errors and won't start when trying to run it in A2K7.
I haven't had an opportunity yet to work with Access 2007 as I don't
have it. The user said something about an error message regarding a
toolbar that does not exist in A2K7. It seems likely that code is
trying hide a toolbar that doesn't exist.
I can't upgrade the app - there are many users who do not...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |