Picture Box Control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I'm new to Visual Basic.NET development. I'm attempting to write code for
two different Picture Box objects to be displayed alternately on the screen.

I have the following code but I need to fill in the blanks for the
additional code, if anyone can help me I would be very grateful.

If gintPictureID = 0 Then
Me.picOpenWings.Visible = True
Me.picClosedWings.Top = gintYPosition
Me.picClosedWings.Left = gintXPosition
Me.picClosedWings.Visible = False
gintPictureID = 1
ElseIf gintPictureID = 1 Then
<code needed here>
End If

Thanks!

Pat McCann
 
Hi,

If you want to show them alternatly on screen, than you have only to make
the visible property false or true.

I hope this helps,

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top