Results 1 to 4 of 4

Thread: [RESOLVED] PictureBox Control

  1. #1

    Thread Starter
    Hyperactive Member AccessShell's Avatar
    Join Date
    Oct 2013
    Posts
    492

    Resolved [RESOLVED] PictureBox Control

    I am using a PB as a command button. I need to put a picture on the control.

    At times during program execution, I need to make the PB not enabled, and later on make it enabled. The problem is that with a PB, the control does not display as not enabled, as command button would.

    I know I can use the LoadPicture statement every time I need to make the PB not enabled. But, is that really ok? Should I, instead set the PB to nothing, then load the new picture?
    Maybe it doesn't really matter1

    Thanks

  2. #2
    Hyperactive Member
    Join Date
    Jul 2020
    Posts
    300

    Re: PictureBox Control

    If you need to make it impossible to click on the PictureBox, you can make it invisible (use the Visible property).

  3. #3
    PowerPoster
    Join Date
    Feb 2006
    Posts
    22,976

    Re: PictureBox Control

    Why not just use a picture in a normal Command button?

  4. #4

    Thread Starter
    Hyperactive Member AccessShell's Avatar
    Join Date
    Oct 2013
    Posts
    492

    Re: PictureBox Control

    I wasn't aware you could do that. OK

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