Solved

How to prevent Resize column in ListView and how to select an Item

Posted on 2004-10-15
7
408 Views
Last Modified: 2012-05-05
Hi,
I need make  listview columns (view property = Detail) like a readonly, no resizable.
And I need select an item i a listview like if I click on an item.

Thanx
0
Comment
Question by:Hans Langer
  • 4
7 Comments
 
LVL 4

Expert Comment

by:eozz_2000
ID: 12325715
Jejeje... I didn't understand your problem
0
 
LVL 10

Author Comment

by:Hans Langer
ID: 12325722
:D Sorry for my bad english.
I need to block the columns of a listview
0
 
LVL 10

Author Comment

by:Hans Langer
ID: 12325784
Reformuling my question

1.- I have a Listview with 2 columns and i dont want that the column cam be resized
2.- I need a code for select the first element of the listview
3.- I need a code to make autoresize of the columns of a listview
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 10

Author Comment

by:Hans Langer
ID: 12325816
2.- mean HighLight the firts element of a listview.
0
 
LVL 10

Author Comment

by:Hans Langer
ID: 12327028
ok ! the 2 its resolved ->  listview.Items(0).Selected = True

the same 500 point for the other 2 questions

Come on, experts!
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12735493
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question