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 Replies


ADVERTISEMENT

ON Mouse Move Event

Feb 27, 2006

I have a switchboard using 4 different label that open a specific form when clicked. I have been trying to add a very simple code on the "on mouse move" event of each label that change the state of the 4 labels I am using:

Private Sub Form_Current()
Me.Option1.FontBold = True
Me.Option2.FontBold = False
Me.Option3.FontBold = False
Me.Option4.FontBold = False
Me.Arrow1.Visible = True
Me.Arrow2.Visible = False
Me.Arrow3.Visible = False
Me.Arrow4.Visible = False
End Sub

The code is working fine but all the label keeps flashing when I move the mouse over the labels which is a bit annoying. I don't see How I could get the "flashing" to stop. Would it be possible to cancel the "on move mouse event" once the code has been run once?

View 3 Replies View Related

Highlight Row On Cont. SubForm With Mouse Move Evemt

May 18, 2005

Using MS Access2003

Does anybody know of a way that I can highlight a row or change colours of all the text fields on a continuous subform when the mouse MOVES over a particular row.

Conditional Formatting seems the way to go and I've also tried the 'Stephan Lebans' method but that seems to require a 'row number' stored in a table in order for it to work, which is not very practical.

Many Thanks

View 2 Replies View Related

Mouse Scroll Event......

Nov 29, 2005

I am a newbie to access programming...... I have forms, and while entering data in them, somebody scrolls the mouse, it does not save the information and starts showing all the records. I want to prevent thos mouse scroll event from happening.... i will ike to disable the mouse scroll event for my database.. Has some one run into this problem..... Please let me know, how i can take care of this..... I will really appreciate it..... Thanks

View 6 Replies View Related

Modules & VBA :: Event Handler For Mouse Right Click And Select?

Aug 11, 2014

I want to handle the event when I right click and choose "Paste" to pop up a message to the user that he cannot paste; disabling the pasting functionality.

I understand that the Button parameter refers to right or left button , but on which event to best use (mouse up ,mouse down , mouse move - as it seems to be a mixture of the three) and the code for that event.

Code:
Private Sub List_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
' See if the right mouse button was clicked
If Button = acRightButton Then
'DoCmd.CancelEvent
'do event here
End If
End Sub

I don't want to cancel after there is a right click , but rather after right clicking and choosing "Paste".

View 9 Replies View Related

Modules & VBA :: Sending Mouse Click Event To List Box Programmatically

Aug 31, 2013

I have a form (about patients) containing a listbox (list of visit dates) and a subform (showing medications at that date). When you click on the listbox, the subform is re-queried with the selected date as a parameter to show the medications that were in use on that date. This is working fine.

However, when you move to a new record (patient), the subform is initially blank because the listbox hasn't been clicked on yet. This means that it looks like the person isn't on any medications, which is causing some confusion.

I need a way to have the subform show the "top" (most recent) date because that is the current medication list, and the thing most people want to see first. It is always the top of the list, so I would like to do something like this (pseudocode)

Code:
Private Sub Form_Current()
Forms![MedSearch].SelectDateBox.Requery
Send MouseClick Event to line 0 of SelectDateBox
End Sub

View 2 Replies View Related

Forms :: Keep Mouse Cursor At The End Of Text Box After On Change Event Procedure?

Oct 30, 2013

I made an On Change Procedure on a textbox, so everytime I input a character, it will trigger the Me.Requery.

However, after that the event, the mouse cursor moved to the beginning of other field. I want it to stay at the end of the textbox so I can enter a full word, how do I do that?

Code:

Private Sub Text73_Change()
ProjectSearch = Me.Text73
Me.Filter = "[Project Name] Like " & Chr(34) & ProjectSearch & "*" & Chr(34)
Me.FilterOn=True
Me.Requery
End Sub

View 3 Replies View Related

Move A Record From One Table To Another Upon Event

Jul 8, 2014

I have 2 tables, a and b.

Then I have records in each table with fields ,Name and Status(Done and Done_s)

I want records having "Done_s" to be moved to b whenever the change has occurred. Is this possible?(I have tried somethings with Macros but didn't work)...

View 14 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

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

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

Changing Button Colours In Access

May 19, 2006

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

thanks

View 4 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

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

Wheel Mouse

Apr 30, 2005

Hello to all,
Here is my questions :
1) Is it possible to enable/disable mouse wheel in modifiable list (combo box) ?
In access2000 i can't select a record on the list with mouse wheel.
2) Same thing in a form.
In a form the wheel is active to go to next or previous record but sometime would like to disable it.
Thks in advance

View 3 Replies View Related

Mouse Wheel

Dec 1, 2005

hey all I am having a problem, and most people dont seem to know what to say and not to give me any ideas. So here we go. I have a form which you can scroll through the reocrds, with the mouse wheel, or through the navagation command buttons with I have created. However when I use my mouse wheel the record changes but it doesnt change my activeX Control. When I use my command buttons it changes. However I would like to have both the options so anyone have any ideas on how to get the activeX Control to change with the rest of my record?? Thanks

View 5 Replies View Related







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