cyotek / imagelistview

Automatically exported from code.google.com/p/imagelistview
5 stars 0 forks source link

Enhancement #132

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
i am using ur control for image thumbnail preview like Explorer.
and how can i get the particular item with key press or keydown event
for example if i just pressed 'd' then i want to activate "DSC001.JPG"
item with ensure visible. i am trying some codes but i could not did it.

Original issue reported on code.google.com by medhelpn...@gmail.com on 11 May 2011 at 7:31

GoogleCodeExporter commented 9 years ago
have any idea to upload HELP files, how can use this, and Control features like 
Events,Renderer and Methods......
Thanks

Original comment by medhelpn...@gmail.com on 11 May 2011 at 7:36

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
You seem to be on the right track. Can you show me what you tried?

Thanks,
Ozgur

Original comment by oozcitak on 11 May 2011 at 8:18

GoogleCodeExporter commented 9 years ago
    Private Sub ImageListView1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ImageListView1.KeyDown
        Try
            Dim _initialChr$ = ChrW(e.KeyCode).ToString
            If Len(_initialChr) <> 0 AndAlso e.KeyValue <> 32 AndAlso e.KeyValue <> 13 AndAlso _
                e.KeyValue <> 27 AndAlso e.KeyData <> Keys.Delete AndAlso e.KeyData <> Keys.Back Then
                For Each _itm As Manina.Windows.Forms.ImageListViewItem In ImageListView1.Items
                    _itm.Selected = False
                    Dim _itmName$ = _itm.Text
                    If _itmName.Substring(0, 1).Equals(_initialChr) Then
                        Dim _getItmIndx% = _itm.Index
                        _itm.Selected = True
                        ImageListView1.EnsureVisible(_getItmIndx%)
                        ImageListView1.Refresh()
                        Exit For
                    End If
                Next
            End If
        Catch ex As Exception
            MsgBox(ex.ToString)
        End Try
    End Sub

Original comment by medhelpn...@gmail.com on 11 May 2011 at 3:23

GoogleCodeExporter commented 9 years ago
Thanks for your immediate response

Original comment by medhelpn...@gmail.com on 11 May 2011 at 3:24

GoogleCodeExporter commented 9 years ago
I just released version 10.2 control with the FindString method. There is also 
the chm documentation in the binary download.

Thanks,
Ozgur

Original comment by oozcitak on 16 May 2011 at 9:06

GoogleCodeExporter commented 9 years ago
FindString is used in the current test project too:

http://code.google.com/p/imagelistview/source/browse/trunk/ImageListViewTests/Te
stForm.cs#108

Original comment by oozcitak on 16 May 2011 at 9:59

GoogleCodeExporter commented 9 years ago
I'm closing this issue: fixed by r642.

Original comment by oozcitak on 16 May 2011 at 10:47

GoogleCodeExporter commented 9 years ago
Thank You So Much....

Original comment by meds...@gmail.com on 16 May 2011 at 10:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
wow.... extremely very very Thanks.......

Original comment by medhelpn...@gmail.com on 17 May 2011 at 6:22