Hello,
I made a userform with different multipages and in these multipages i have some another multipage.
Now i wan't to do the following thing but i don't understand how it works.
For example i have a multipage with Caption Numbers ( Multipage1 ) in this multipage i have another multipage with 3 tabs called number1, number2 and number3.
If you would click on number1 a picture ( loction c:\number1.jpg ) should be loaded and shown in a imagecontrolbox ( with a set height and width, using the zoomfunction ), the name of the imagecontrolbox is ImageControlInfo
I was thinking something like
Can someone help me plzzz ?
I made a userform with different multipages and in these multipages i have some another multipage.
Now i wan't to do the following thing but i don't understand how it works.
For example i have a multipage with Caption Numbers ( Multipage1 ) in this multipage i have another multipage with 3 tabs called number1, number2 and number3.
If you would click on number1 a picture ( loction c:\number1.jpg ) should be loaded and shown in a imagecontrolbox ( with a set height and width, using the zoomfunction ), the name of the imagecontrolbox is ImageControlInfo
I was thinking something like
Code:
Private Sub MultiPage3_Change()
If (Multipage3.page(0)_Click()) = True Then
Image1.Picture = LoadPicture("")
number1.Picture=LoadPicture("C:\number1.jpg)
Image1.PictureSizeMode=fmPictureSizeModeZoom
End If
If (Multipage3.page(1)_Click()) = True Then
Image1.Picture = LoadPicture("")
number1.Picture=LoadPicture("C:\number2.jpg)
Image1.PictureSizeMode=fmPictureSizeModeZoom
End If
If (Multipage3.page(2)_Click()) = True Then
Image1.Picture = LoadPicture("")
number1.Picture=LoadPicture("C:\number3.jpg)
Image1.PictureSizeMode=fmPictureSizeModeZoom
End If
End Sub
Can someone help me plzzz ?