This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
smartdata  
#1 Posted : Monday, July 24, 2006 10:00:30 PM(UTC)
smartdata

Rank: Member

Groups: Guest
Joined: 7/24/2006(UTC)
Posts: 1

Hi!

I am using the demo version 2.0 (Graphics Mill .NET) and added the Filelistview in a sample page to show the thumbnails of all the images from a partcular folder and the sub-folders within it.

My application is not having any keyboard (A Kiosk, so a virtual keyboard only). Thus, I can't select/deselect multiple images by pressing the control key.

I have written the below mentioned code to select/deselect the images using the Hittest method. But the problem is, this event gets fired when I click the middle button of the mouse and not the left-write buttons.

Please help.

Thanks.

Maneet Singh

-------------------------------------------------------------------------

Sample Code

Code:
 Private Sub filesListView_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles filesListView.MouseClick
        Dim listItems As Aurigma.GraphicsMill.WinControls.ThumbnailListItem
        listItems = filesListView.Items(filesListView.HitTest(e.X, e.Y))

        If listItems Is Nothing Then
            Return
        End If
        Dim bRemoved As Boolean = False
        For Each i As Integer In selItemsArray
            If filesListView.Items.IndexOf(listItems) = i Then
                selItemsArray.Remove(i)
                filesListView.Items(i).Selected = False
                bRemoved = True
                Exit For
            End If
        Next
        If Not bRemoved Then
            selItemsArray.Add(filesListView.Items.IndexOf(listItems))
        End If
        For Each i As Integer In selItemsArray
            filesListView.Items(i).Selected = True
        Next
        filesListView.Refresh()

    End Sub

Edited by user Wednesday, December 19, 2007 3:49:00 PM(UTC)  | Reason: Not specified

Thanks.

Maneet

Fedor  
#2 Posted : Monday, July 24, 2006 10:12:52 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Guest
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Hello,

The same support request was posted here:

View post

We are checking how to implement it, and I hope we will post the results tomorrow.

Best regards,

Fedor Skvortsov

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.