I am trying to call the color palette in access, but the only thing I keep coming accross is xldialog.paintpalette for excel but nothing for access.
I would like to do this to allow the end user to customize their UI.
Thanks for helping
6 6365
I am trying to call the color palette in access, but the only thing I keep coming accross is xldialog.paintpalette for excel but nothing for access.
I would like to do this to allow the end user to customize their UI.
Thanks for helping
If you're wanting the user to be able to customize their own UI, then you have to write that code into your application, unless they go into design themself and have there own MDB file, that they change there own UI to what they want.
That is not recommended because it's to easy for someone to change something, and you'll spend weeks sometimes looking for what they changed.
That is a great deal of coding for a very small effect.
Hope that helps,
Joe P.
Joes, your right that would be a great deal of coding for a very small effect, I've been looking around and I can't figurt out why both excel and word ailow access so a color pallet Diaog but not access, and is it possible to "barrow " the coilor pallet of one of the other programs
Joes, your right that would be a great deal of coding for a very small effect, I've been looking around and I can't figurt out why both excel and word ailow access so a color pallet Diaog but not access, and is it possible to "barrow " the coilor pallet of one of the other programs
You can display it, but there isn't any controls to find out values from it unless, you know how to access the API in Windows for it?
I don't know if there is any documentation on that at Microsoft.
I've never tried that before.
If you're wanting to do that, you're best show would be simply to re-create the same information on a form yourself.
But again, it's going to be alot of programming for a little effect.
Hope that helps,
Joe P.
Yes , I am aware that it will be a s#@t load of work for very little effect, my perpuse in this has 2 reason, 1 end user entertainment, the second one is a more usefull purpose, is for visualy impaired some see certin colors on a screen or in general better then others and perfer various combinations ie: green on black and other "strange" cominations,
Is a a list of all 16,000 colors in one spot someware that you know of
and M$ doen't have anything of any use on their site about this, its very veig and if it appears to be of use, it says about 1/2 way down the page it's for excel.
I have seen vb code that does it but it's in the form of an ocx and vba doesn't handle ocx's that whell(somtimes, I wish vb and vba where more interchangleable , I tried editing the vb code to work in vba but because of the bracketing used and direct dll call's make it a little dificult.
Yes , I am aware that it will be a s#@t load of work for very little effect, my perpuse in this has 2 reason, 1 end user entertainment, the second one is a more usefull purpose, is for visualy impaired some see certin colors on a screen or in general better then others and perfer various combinations ie: green on black and other "strange" cominations,
Is a a list of all 16,000 colors in one spot someware that you know of
and M$ doen't have anything of any use on their site about this, its very veig and if it appears to be of use, it says about 1/2 way down the page it's for excel.
I have seen vb code that does it but it's in the form of an ocx and vba doesn't handle ocx's that whell(somtimes, I wish vb and vba where more interchangleable , I tried editing the vb code to work in vba but because of the bracketing used and direct dll call's make it a little dificult.
just to give you a heads up , I'm designing my own color palett ( I found almost 600 colors and there Ms access value. which will end up looking like 1600 colors to the end user since the rest of the color are about 1/2 shade off or less then the closet color in the 600 I have, so far I have 200 boxes placed and #'d on a form, no code behind them yet. I plan on doing a select case ( this is gonna suck)
just to give you a heads up , I'm designing my own color palett ( I found almost 600 colors and there Ms access value. which will end up looking like 1600 colors to the end user since the rest of the color are about 1/2 shade off or less then the closet color in the 600 I have, so far I have 200 boxes placed and #'d on a form, no code behind them yet. I plan on doing a select case ( this is gonna suck)
If you're planning on doing that, there may be a simplier way to simply figure that part of it out.
If you assign it RGB Values, then you can pass that using the example in MS Access Help, -
Dim RED, I, RGBValue, MyObjectRed = RGB(255, 0, 0) ' Return the value for Red.I = 75 ' Initialize offset.RGBValue = RGB(I, 64 + I, 128 + I) ' Same as RGB(75, 139, 203).MyObject.Color = RGB(255, 0, 0) ' Set the Color property of ' MyObject to Red.
Simply look under the RGB, this will come up as an example:
Hope that helps some,
Joe P.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: dan glenn |
last post by:
(PHP4.3.4, GD2) How can I save a PNG using GD2 and insure that it saves as a
palette-based (8-bit, 256-color) single-color transparancy?? Saving this
way, I could be sure that an image loaded from...
|
by: Mohammad |
last post by:
Hello.
How I can write a program that save a high color image
as 256 color or fewer with .BMP format , just like
Microsoft Paint.
I want to write this Program with C# .NET , NOT with MFC .
Thank...
|
by: Just Me |
last post by:
I asked this in the VB NG and didn't get a response. I think this NG is no
apt to know this kind of thing so I'm trying here.
Trying to display the palette that is on the clipboard.
I get a...
|
by: active |
last post by:
I asked this in VB without results.
I'm not surprised that no one there knows anything about because it's kind
of an uncommon subject.
Maybe some one here knows.
Dim DataO As DataObject =...
|
by: active |
last post by:
Below is a small but complete program that appears to show you
can't retrive a Palette from the clipboard.
This is true whether the palette is placed on the clipboard by Photoshop or
Photoshop...
|
by: active |
last post by:
Guess I'm looking for someone who likes to work difficult puzzles.
I can't seem to ever retrieve a palette handle from the clipboard.
Below is a simple test program that demonstrates the...
|
by: ipramod |
last post by:
Hi,
Is there any standard control available in C# to display color pallet
or to choose the colors?
If yes, can you please send a code snippet?
Please let me know ASAP.
Thanks,
PI
|
by: krishnasamy |
last post by:
Hi,
I have writing the code for change the Palette color of the Bitmap. But I didn't get any different between given image and result image.
Here I given my code,
Bitmap *bmp=new...
|
by: macap.usenet |
last post by:
Hello,
I am creating Gif-Images (8bit: 256 colors) with using the
IHttpHandler and .ashx-Files.
My ProcessRequest-Method looks like this:
public void ProcessRequest(HttpContext context)
{
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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: 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...
|
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,...
|
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...
| |