wordpress statistics
  • Today is Monday, February 6, 2012

5 Responses to “Colorfull Command Buttons”

  1. nromy says:

    it does work,

    however:

    - pls open windows task manager, then click performance tab.

    - then go back to the form containing those buttons

    - pls drag the mouse-pointer over the form again and again..

    - see on windows task manager, u will notice that the CPU usage is getting higher…

    because ms access always proceed “on move event” everytime we drag the mouse over the form…

    regards
    a SAP Lover
    romy

  2. a sap lover says:

    Yes it does work,

    however, pls do the following steps:

    - pls open windows task manager, then click performance tab.

    - then go back to the form containing those buttons

    - then pls drag the mouse over the form again and again..

    - see on windows task manager, u will notice that the CPU usage is getting higher…
    because ms access always proceed “on move event” everytime we drag the mouse over the form…

    regards
    a SAP Lover

  3. Yes, you have a point there. But the Mouse Movements are always monitored by the system and a certain level of increase in CPU usage also noticed when the Mouse is in motion elsewhere.

    The statement in question (
    Me.OLEUnbound257.SpecialEffect = 2) can be put in test and prevent it from setting the value repeatedly when the value is already set, which will reduce the activity to a certain degree, like:

    If
    Me.OLEUnbound257.SpecialEffect = 2 then

    Me.OLEUnbound257.SpecialEffect = 1

    End If

  4. Anonymous says:

    I like the ability to add buttons with color to my Access forms. I have noticed one drawback, however, possibly because I have done something wrong.

    When colored buttons are created using the Copy/Paste from Word, the buttons on the Access form do not appear in the Tab Sequence. When I run the form in form view, I cannot tab to the buttons, nor can I “click” them using the spacebar or enter key like I can for normal buttons. This is a drawback to my GUI, which is very keyboard intensive.

    Have I done something wrong, or is this the correct functionality?

    Thanks
    GRC

  5. This is a known issue that it doesn’t have the Tab Order Property. You have done nothing wrong. As an alternative measure you can create a Transparent Command Button (http://www.msaccesstips.com/2008/04/transparent-command-button/) with the same size and place it over the Colorful Comand Button and then you can set the tab order property value of the transparent command button. When you set the Transparent Property of a Normal Command Button to Yes; it becomes transparent or invisible.

    Regards,
    a.p.r. pillai

Leave a Reply

You must be logged in to post a comment.