Re: vb6





"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
.



Relevant Pages

  • Re: Linux 2.6.29
    ... thats changed by Ingo Molnar back in september. ... of the array at the time of testing.. ... disk when your system suffers from large write latency? ...
    (Linux-Kernel)
  • Re: Question about events and object arrays
    ... The reason was that I was experimenting making as ... dum linear data structure and thats why I needed the indices, ... > you would assign a property indicating the index in the array it is at. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Rijndael encryption - can I supply my own encryption key?
    ... the key needs to be a byte array - might want to ... check thats what your providing. ... John Timney (MVP) ...
    (microsoft.public.dotnet.general)
  • Re: Sum-if-product
    ... Thats it. ... SOme of the data in the array were errors. ... error in any of the ranges ... Peo Sjoblom ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Any way to take a word as input from stdin ?
    ... call it get_words but that is not important) and sort the array and ... That gives you more learning! ... well,thats what I am doing. ...
    (comp.lang.c)