mean if we select mango pic: it show in selectedpicbox: , if we select orangepic: it show in selectedpicbox , if we select apple pic: it show in selectedpicbox
we put 3 picture boxes, if we select 1 picture it show in another picture box
Collapse
X
-
Hi Shareeka,
I hope you are talking about VB6, Try below codes;
If you have three picbox namely Mangopicbox, Orangepicbox and Applepicbox, when you click on any above Picbox you wan display in one picbox called PicDisplayBox
Code begins
Option Explicit
Private Sub Mangopicbox_Cli ck()
PicDisplayBox.P icture = Mangopicbox.Pic ture
End Sub
Private Sub Orangepicbox_Cl ick()
PicDisplayBox.P icture = Orangepicbox.Pi cture
End Sub
Private Sub Applepicbox_Cli ck()
PicDisplayBox.P icture = Applepicbox.Pic ture
End Sub
Hope this helps
Comment