Re: vb6
- From: "tomS" <tomS@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 27 Apr 2005 22:23:29 -0700
"Ken Halter" wrote:
> "tomS" <tomS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:50FB33A6-24EA-4AC5-96AE-CAF23641BA46@xxxxxxxxxxxxxxxx
> >
> > Thanks that works good. There is one more thing I m tring to do and thats
> > to be able to index each picture in the array
> > once each time I click the image2 box,meaning click box once ,first
> > pic,click again second pic etc.
>
> Very similar code.
>
> > Private Sub Image1_Click(Index As Integer) 'untested air code
> > Dim iElement As Integer
> > iElement = Index + 1
> > If iElement > Image1.UBound Then
> > iElement = 0
> > End If
> > Debug.Print "Showing image #" & iElement
> > Image2.Picture = Image1(iElement).Picture
> > End If
>
>
> --
> Ken Halter - MS-MVP-VB - http://www.vbsight.com
> Sign up now to help keep VB support alive - http://classicvb.org/petition
> Please keep all discussions in the groups..
>
>
> I tryed code but doesn t work it only shows last pic in array
.
- Prev by Date: Re: Compile Error
- Next by Date: Text Printing with VB6
- Previous by thread: Re: vb6
- Next by thread: Run-time error 7004
- Index(es):
Relevant Pages
|