Changing Button Colours In Access

May 19, 2006

Does anyone know if the command buttons in access 97 forms can be changed?

thanks

View Replies


ADVERTISEMENT

Access And Form Colours

Feb 28, 2005

Hi there,

I have being creating some forms with Access 00/02 and I have come across one for me particular strange and somehow annoying item “Colours”.
My question here now is, how would it be possible to use instead of the say ”Back Color: 65280 numbering” a colour scheme similar use in web design i.e. hexadecimal or where at least could I find a list of colour numbering??? as used in Access.

Thanks aktell

View 3 Replies View Related

Button Changing Value On Table

Aug 14, 2007

Hi all,

I'm struggling with a small issue that has to be quite simple.

I have a form called "Project Main" with a label called "Check".
There is a sub form called "PM Main" with a button "Button1".

What I want to do is to have the label "Check" change color when the button "Button1" is clicked. The color change is record specific, so here is what I have done:

-Created a table [Updated] that contains the project number [ID#] and a yes/no field [PM Updated]

-Now I need to be able to change that value (yes/no) when the button "Button1" is clicked.

-Then I need to have the main form "Project Main" check to see what the value of the [updated] table is.

-Then I need to have code to update the color of label "Check"

Does this make sense or am I making more complicated than it is?

Mafhobb

View 1 Replies View Related

Changing Forms With Button Command

Oct 1, 2004

I want to open a new form with information related to the main form.

The code I've used is:
Private Sub GoToContacts_Click()
On Error GoTo Err_GoToContacts_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Contacts"

stLinkCriteria = "[Outside Rep]=" & Me![Outside Rep]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_GoToContacts_Click:
Exit Sub
Err_GoToContacts_Click:
MsgBox Err.Description
Resume Exit_GoToContacts_Click

End Sub

When I use the button I get an error message for a "Syntax error (missing operator) in query expression.

Any suggestions?
Judy Hewitt

View 3 Replies View Related

Changing Color Of Record Navigation Button

Jan 17, 2006

Hi, I have a form and want to change the background color and the record scroll/navigation button colors.

Changing the background color is easy; just go into Design View, right click, and change the "background color" properties.

Changing the record select button (on the bottom of the form) is more a challenge for a newbie like me. Does anyone know how to do this? Thanks

Help appreciated.

View 3 Replies View Related

Changing Command Button Text Colour.

Jun 30, 2006

Hi all,

I'd like to change the colour of the text in a command button when the user click the button, but for the text to return to it's original colour when the botton pops back up.

I'm assuming you use the following commands:


Private Sub cmdClose_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
*******CODE********
End Sub

Private Sub cmdClose_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
*******CODE********
End Sub


But I'm not sure as to how I would enter the correct code.

Any help would be appreciated,

Best Regards,

Aaron

View 2 Replies View Related

Changing A Command Button According To The Number Of Records

Nov 13, 2007

I have a subform where you can add multiple records. i have a command button labelled NEXT (which obviously navigates to the next record) but I only want this to be enabled when there is more than one record.

I am OK on the enabling bit but how do you specify if the record number >1?

Does someone have time to start me off on some code?

View 1 Replies View Related

Changing The Forecolor Of A Command Button Accroding To An Event

Apr 18, 2006

Can someone give me a jump start with code for changing forecolor...

On one form (form 1) I have a command button (cmd34) which has its text in Black (forecolor 335543)

On another form (form 2) I have a checkbox (chk45)

When the check box is checked I want the text on the command button to change to red (forelolor 255).

1. Where do i put the code? On the second form (On Close) or on the first form (On Open) or ???

2. Is the code something like

If me.chk45=true then
Cmd45.forecolor=255

Or am i just making that far too simplistic?

View 1 Replies View Related

Tab Colours

Jul 7, 2005

Hello. I have just added some tabs (pages) on one of my forms. The problem is that the background is gray and I cannot seem to change it. How would I go about changing the background colour of each seperate tab(page)???

View 1 Replies View Related

Colours

Feb 24, 2006

Is it possible to create a combo box showing colours. I don't mean the wors Blue, Red etc I mean a list of actual colours?

View 14 Replies View Related

Auto Colours??

Nov 18, 2005

Hi all,
Is it possible to have different colour fonts in forms automatically?

i want the user to add numerical data into the form but the middle numbers must automatically be coloured red. these numbers are then matched to stickers in the same format for easy identification.

it should look like this 878802

any suggestions?

Many Thanks
Sam

View 2 Replies View Related

Scroll Bar Colours

Jun 23, 2005

Is it possible to change the colour of scroll bars in subForms?

Seems odd that you can easily customise all the colours, yet have to settle with a horrible looking grey scroll bar!

Any help or a 'work-a-around' to the problem would be welcomed.

Thanks

View 1 Replies View Related

Row Colours In Report

Oct 25, 2004

I got the following code from:-

http://www.microsoft-accesssolutions.co.uk/alternate_row_colours.htm

This is to give me alternating row colours in report detail section but cannot make it work.
Please could someone tell me where I am going wrong?
Not sure where to put the bit "Private m_RowCount As Long"
The Rest apparently goes in the report detail section OnFormat event.

Private m_RowCount As Long

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
m_RowCount = m_RowCount + 1
If m_RowCount / 2 = CLng(m_RowCount / 2) Then
Me.Detail.BackColor = 15263976 'Change value to the color you desire
Else
Me.Detail.BackColor = 14811135 'Change value to the color you desire
End If
End Sub

Thank you Guys and Gals.

View 4 Replies View Related

Alternative Colours In A Form

Mar 15, 2005

Hi I've got some code from http://www.lebans.com/alternatecolordetailsection.htm

It allows for alternate bands of color to be displayed for alternative records in Forms in Continuous View. I've looked in this forum for other alternatives to this but the only ones that are available change the background of a control rather that display a whole row that is filled with colour. So therefore the background of the row is say in red, the background of the text controls are in red.

I've managed to put the code into my form and download the class. The only problem is that I can't seem to set the colour in the actual class file - it's all a little bit confusing! Can you help? Pleaseeeeeeeeeeeeeeeeeeeeeee........... :D

You can download the sample database from http://www.lebans.com/alternatecolordetailsection.htm

:)

View 1 Replies View Related

Colours In Continuous Form

Dec 20, 2006

Hi,
I have a continuous form which has a combo box limited to green, blue, yellow, red, purple and N/A (for blank).

It is possible to make the back ground colour = what is entered into the combo box?

I have been searching and searching and have seen conditional formatting everywhere but it wont help as i need 6 options. I only have basic VB skills and usually can only hack and change not write from scratch:o

Anyone able to help me please.

View 4 Replies View Related

Very Basic Question - Form Colours

Apr 3, 2005

Hey,

Got a simple question really...

Designing a form and I have boxes where the data is entered.

The form background is grey and i would like the data boxes to be grey
as well, unless the box is "active" meaning its selected.

ive done it for one form but i can't remember how on earth i would do it on another from i need to do.

Many Thanks

View 1 Replies View Related

Reports :: Format 25% Of Records With Different Colours

Apr 30, 2014

How do I format:

First 25% of records - Gold
Second 25% of records - Green
Third 25% of records - Yellow
Fourth 25% of records - Red

View 4 Replies View Related

Relate List Of Colours To Unique Product Id

Jun 13, 2007

Hi.

I want to select a product then be able to select a colour from a list that relates to it.

I want the colour lists to be different for every product. (clothes)

Whats the best way to do it?

Thanks

Jonny

View 4 Replies View Related

Background Colours On Forms Other Than Normal Options

Aug 1, 2005

I'm wanting to get a very, very pale shade of gray as the background colour for an Access form, as well as for several text boxes on it. This is so that users can distinguish editable regions (white bgs) from uneditable ones (light gray bgs).

The default colours that pop up in the menu choices are too dark for this. I've tried using a tiled image for the background of the form, which works fine. But I'd like my uneditable textboxes to be selectable (so users can copy data) whilst being that colour too, which can't be done.

Therefore I'm looking for either the number code for a very very light gray colour (Access' default lightest is "12632256") or some sort of translator tool to let me know how on earth these numbers relate to anything in computing -- I mean, what do those numbers represent? Are they html=no, hex codes=no, rgb values, no... I mean, how is Access coming up with those numbers? I've tried just getting a light gray using trial and error and can't figure it out (even ended up with lime green at one point - very nice on the eyes lol).

Anyone shed some light on this? :rolleyes: :D

View 3 Replies View Related

General :: Logo On Report With 2 Colours One Word

Apr 20, 2014

I have a company logo that has 2 colours to its name

I want to put that logo onto me report. I have tried but I am unable to do this

company name APICAPACITORS, API IN RED CAPACITORS BLUE ,is it possible without making 2 words

View 1 Replies View Related

Mouse Move Event To Lighten/Darken Colours

Dec 8, 2006

Hi guys,

i saw a sample DB here somewhere but cant find it now...on the mouse move event (when hovering on an image) it made the colours lighter (as if someone has shone a light on the button). Just wondering if anybody knows the code for this event?

thanks

View 2 Replies View Related

Forms :: Choose Custom Colours With Conditional Formatting

Sep 6, 2013

I'm using access 2003. I've got a textbox placed ontop of an image that I want to make it seem to disappear on a conditional format.

The back color property of the textbox I want to set is "13160660". How do I choose this colour when applying conditional formatting as I only seem to be able to choose from the swatch of 40 default colours and no option to define custom colours.

View 4 Replies View Related

Forms :: Allow User To Change Form Colours And Captions Each Year

Jul 28, 2014

My database has a front end that uses forms to allow the user to navigate within it, each year we create a new database which is based on the previous year's database but with all the variable information removed.

Within the database each form has a caption that starts with '2014-15' then goes on to say the form name.

Most of my forms also have a yellow background, (last year it was pink).

Both these areas were set up so that each year our users can distinguish between our databases, as they may have last years and this years open at the same time.

What I would like if possible is to know whether I can get a user to change both these things from within a form. So something along the lines of a button that when clicked would check all form captions and if within the caption it finds 2014-15 then change it to 2015-16 (or whatever the user specifies) but keep the rest of the caption.
I would also want the same type of thing to happen with the colour so again within the background of the forms, if you find colour X then replace it with colour Y.

If this can't be done within a front end form, then could it be done behind the scenes, and if so how would I go about doing it?

View 2 Replies View Related

Access Keeps Changing My Joins

Dec 4, 2007

Good day all

I have a simple query linking two tables using the primary keys from each. The problem is that every time I go into design mode of the form that uses the query to populate a list box I get a Data Type Mismatch error and when I look at the query, Access has changed the join from the Pk in one table to the field after the PK in the other field. I have attached an image to show the change. Note that the join should be from the first fields on each table. I am really stuck with this guys, it is gettin me down and preventing me from developing the database further and my boss is on my case. Can anyone please help me? I have checked all the table relationships and they are fine. Thank you.

Gareth:(

View 13 Replies View Related

Emailing From Access (changing The <From>)

Aug 27, 2007

Hello,

From the searches of this site Ive got it down and working to send an email with attachment via access. Thanks

The one thing I cant find is how to change the "From". I don't want these emails send via my name but my department. I usually just change the <From> to the department name in Outlook and send.

I cant seem to figure out how to make it work in access.

FYI: I did it via a module

With objMailItem
.To = "emails"
.Subject = "subject"
.Body = "text"
.Attachments.Add "C:file.xls", olByValue, 1, "department report"
.Save
.Send

needless to say .From does not work.

View 2 Replies View Related

Changing Forms To Access Pages?

Oct 11, 2005

I would like to change my Forms to Access Pages, Therefore they can be used like webpages. I converted them in access, however the command buttons dont work. Anyone have any ideas? Also I have been looking everywhere for any information on adding the ability to use a writing tablet with my access program. any ideas here? Thanks for your help :)

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved