Results 1 to 2 of 2
  1. #1
    akshatagarwal93 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jul 2012
    Posts
    14

    'Static' progress bar in list box column


    Hi,

    I'm quite new to access and VBA so wasn't sure exactly how to word this without writing an essay so maybe this has already been posted...

    My database basically stores data about how 'complete' a certain transaction is. This is stored in a table called Transaction Details with a percentage detailing how complete the transaction is.

    I want to build a list box programmatically in a form so use the listbox.AddItem property on the form_load event. I want one of the columns of the list box to show the percent completion of the corresponding transaction but instead of just displaying the percentage, I wanted it to show some kind of 'static' progress bar. So if it was 50% complete, half of the box would be coloured say dark blue and the other would be white and so on for different percentages. It should also show the percentage as a number on top of this...

    Is this possible? - I've searched around for some sort of colouring technique to change how much is blue and white etc but couldn't find anything.

    Any help and ideas are massively helpful!

    Thanks

    AA93

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,622
    Nope, can't do that. Never seen such a requirement.

    Only thing I could suggest is a graph object with minimal features and sized small enough so it looks like a single bar.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 8
    Last Post: 05-14-2012, 09:49 AM
  2. Get column head name from list box?
    By joelmeaders in forum Programming
    Replies: 3
    Last Post: 01-31-2012, 11:23 AM
  3. Replies: 5
    Last Post: 10-18-2010, 04:56 AM
  4. Populating list box with column heading?
    By kawi6rr in forum Programming
    Replies: 1
    Last Post: 08-13-2010, 12:51 PM
  5. List box column check..
    By empyrean in forum Programming
    Replies: 1
    Last Post: 10-28-2009, 08:18 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums