Results 1 to 4 of 4

Thread: graphical command buttons

  1. #1

    Thread Starter
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,604
    Hey guys.

    I just changed all the command buttons in my application to graphical (just in order to change their color). THen when I ran the application, whenever the button was pressed, from that point onward, whenever the form containing that button is reload, the square where the button is located is the color or image of the screen behind the application. It would seem to be a RAM problem, right, but I have 128 Mb of RAM in this machine and I've never had that trouble before.

    Things I have tried are Refreshing the form, refreshing the button, refresh-timer delay-refresh.

    None of these will repaint the button where it was.

    Any ideas?


    Thanks all.

  2. #2
    Guest
    It's possible that another program was using up resources. Try restarting your computer and see if it helps.

  3. #3
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Additional information

    Indeed, this has nothing to do with the RAM. I think you ran out of GDI memory, possible reasons are - too many wasted memory (loading many pictures and exiting without unloading them), haveing IE openend for a long time (after some minutes of browsing thru pics your GDI memory is empty!), and so on, all graphical apps may cause this...

    However, restarting your computer is probably the only way, but sometimes it works to just restart VB (or IE or whatever).

  4. #4

    Thread Starter
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,604
    Hey fellas.

    Just to update, restarting the PC doesn't help this problem.

    Anyway, I switched the buttons back to standard and this problem stopped.

    Of course, I am a bit concerned about this for the future, since I am sure I'll be 'dressing up' other applications down the road.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width