msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

another listview question vb6.0

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB General Discussions
Author Message
wb



Joined: 04 Oct 2007
Posts: 10

PostPosted: Tue Feb 26, 2008 4:12 am    Post subject: another listview question vb6.0 Reply with quote

I add items (as Icons) and set the view to Icons. When I select and move
one of the items within the listview control, it appears to drag outside the
boundaries of the listview control and the vscroll and hscroll bars appear.
The problem is I want the items to remain aligned, not randomly spread
around. Also, this is a problem because my list view control is about 2
inches square. Can I keep the icon within the white space of the control
and can I keep everything aligned? I have tried to use the list view option
and that appears to work but I would like to get the larger icons view to
work as well.

Archived from group: microsoft>public>vb>general>discussion
Back to top
View user's profile Send private message
"Jan Hyde



Joined: 04 Oct 2007
Posts: 466

PostPosted: Tue Feb 26, 2008 2:13 pm    Post subject: Re: another listview question vb6.0 Reply with quote

"wb" 's wild thoughts were released on Mon, 25 Feb
2008 23:12:43 -0800 bearing the following fruit:

>I add items (as Icons) and set the view to Icons. When I select and move
>one of the items within the listview control, it appears to drag outside the
>boundaries of the listview control and the vscroll and hscroll bars appear.
>The problem is I want the items to remain aligned, not randomly spread
>around. Also, this is a problem because my list view control is about 2
>inches square. Can I keep the icon within the white space of the control
>and can I keep everything aligned? I have tried to use the list view option
>and that appears to work but I would like to get the larger icons view to
>work as well.
>

I'm not clear. Do you WANT them to be able to move the icons
or would it be sufficient to simply prevent the user from
moving the icons?

--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde
Back to top
View user's profile Send private message
wb



Joined: 04 Oct 2007
Posts: 10

PostPosted: Tue Feb 26, 2008 3:47 pm    Post subject: Re: another listview question vb6.0 Reply with quote

I do want them to move the icons (Drag and drop). I am creating a list of
customers with a male or female icon. I want the user to click on a
customer (icon) and drag it onto another control. That control will take
the customer and load all their information. The listview control is
basically a visual queue.

I guess I am envisioning something like a MyComputer window where you can
click on an icon and drag it, only I want to drag it out of the listview. I
can do this now, but something happens sometimes when the icon will not move
beyond the boundary of the listview and when I release the mouse button the
icons are not aligned anymore.


"Jan Hyde (VB MVP)" wrote in message @4ax.com...
> "wb" 's wild thoughts were released on Mon, 25 Feb
> 2008 23:12:43 -0800 bearing the following fruit:
>
>>I add items (as Icons) and set the view to Icons. When I select and move
>>one of the items within the listview control, it appears to drag outside
>>the
>>boundaries of the listview control and the vscroll and hscroll bars
>>appear.
>>The problem is I want the items to remain aligned, not randomly spread
>>around. Also, this is a problem because my list view control is about 2
>>inches square. Can I keep the icon within the white space of the control
>>and can I keep everything aligned? I have tried to use the list view
>>option
>>and that appears to work but I would like to get the larger icons view to
>>work as well.
>>
>
> I'm not clear. Do you WANT them to be able to move the icons
> or would it be sufficient to simply prevent the user from
> moving the icons?
>
> --
> Jan Hyde
>
> https://mvp.support.microsoft.com/profile/Jan.Hyde

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Listview question Just wondering if someone knows how to set the height of a listview to match the amount of items. example: if a total of 8 items are in listview, I would like the height of the listview to be the height of these 8. I am using VB 6.0 SP5. Thanks in advance

ListView API question /aka I'm confused Using the ActiveX list view is giving me issues in Vista with MSCOMCTL.OCX not found not registered errors. I've found a couple of ListView API examples, but what confuses me is that they still require an ocx be set /referenced as a component, which seems

Listview drag and drop question Question - short version: Is there any way to determine at runtime, how far down a listview is scrolled? In other words, the item at the top of the control - what position in the list is it? Explanation: I've just added drag and drop features to my app, s

listview - right mouse button down to make listview selectio Hi Experts How can I use right mouse button down to make a listview selection? Thanks.

help with listview box please!!! i have a listview box and i need to perform an action when certain items in the list are clicked on, but i can't seem to get it to work. in the onclick event i typed the statement from the vb book we have at collage: Dim item As ListItem If item.Index = "
Post new topic   Reply to topic    msvisual.com Forum Index -> VB General Discussions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group