473,320 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Custom ListView

Hi,

I'm coming back on the ListView component that i would like to design.
I finally finish to analyse how it should work (on paper).
So i have properties, methods and events that i should implement.

I found several points that must base component respects to implement it.
- it should implement a canvas/GDI to allow drawing (to allow
transparency, borders, headers, alignment, colors,...)
- it should allow containers in order to implement in each cell a child
component (i.e : progressbar, spin box, editbox,..)
- it should allow drag and drop methods and also fire event when
resizing columns, rows, headers,...
- it should also allow multi type columns (to display progress bar, spin
edit, images,...)
- it should allow customized headers

As someone advise me before, Panel seems to be good choice for that, but
i would like to know before to start to code, if there is not another
base component on which i can base my custom control (as base component)
? maybe a better one thant Panel control.

thanks a lot for your contribution. I do not want to start to code and
to realize after that i should start from another base control or class.
It would be crazy to waste coding time.

Al.
Jan 22 '07 #1
1 3427
igd
Since Panel already support a border (BorderStyle) it is a good choice.
Alternatives are Control or UserControl. You will find a lot of text
material on that topic in the MSDN library (related to
Control/UserControl).
--== Alain ==-- schrieb:
Hi,

I'm coming back on the ListView component that i would like to design.
I finally finish to analyse how it should work (on paper).
So i have properties, methods and events that i should implement.

I found several points that must base component respects to implement it.
- it should implement a canvas/GDI to allow drawing (to allow
transparency, borders, headers, alignment, colors,...)
- it should allow containers in order to implement in each cell a child
component (i.e : progressbar, spin box, editbox,..)
- it should allow drag and drop methods and also fire event when
resizing columns, rows, headers,...
- it should also allow multi type columns (to display progress bar, spin
edit, images,...)
- it should allow customized headers

As someone advise me before, Panel seems to be good choice for that, but
i would like to know before to start to code, if there is not another
base component on which i can base my custom control (as base component)
? maybe a better one thant Panel control.

thanks a lot for your contribution. I do not want to start to code and
to realize after that i should start from another base control or class.
It would be crazy to waste coding time.

Al.
Jan 22 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Simon Middlemiss | last post by:
I am writting a program to manage DTS packages which is based on the code example at the following link http:\\www.support.microsoft.com/?kbid=319985. I need to do things in a Windows Forms...
0
by: sorpor | last post by:
I am trying to create a custom listviewsorter by implementing IComparer. My listview has check boxes and the purpose is to move checked item to top of list. They all will be sorted ascendingly. It...
1
by: Jeff | last post by:
I've made a custom Listview control, and i want this control to use a custom ColumnHeader control that I've created. how can i do this thanks
5
by: ToddH | last post by:
I know the following code is C#. I'm a vb programmer trying to learn a new language. I posted this in the c# group but never got a response. You guys seem to know alot about all languages and have...
1
by: lewisjosh2 | last post by:
I'm a newbie to windows forms and I'm having trouble finding any information about how to create a custom listview. In my app, I'm using a 'large icon' view and basically what I want to do is: ...
0
by: Piotr Strycharz | last post by:
Hi, I need to develop a custom control. The control is going to be something like Properties window in VS - listview (grid?) with resizable columns and collapsable sections. The control needs...
7
by: =?Utf-8?B?YnJhaW5mdWVsbWVkaWE=?= | last post by:
Can anyone point me in the direction of creating a custom listview item? I guess the other question then - is this possible? I want to create a list of listview items comprised each comprised of...
1
by: a | last post by:
Hi I would like to add some additional custom features to the listview, like cell editing. The created object will be added to the form as part of the GUI, and it should be able to handle...
5
by: Mark Olbert | last post by:
How do I get the DataPager and ListView to play nice together when I use a custom datasource? In my webpage, I use linq to pull data from a SqlServer database and assign the resulting...
1
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
I'm running VS2008 & attempting to solve a problem I've encountered while developing some software for our business. Here's the basic idea...I've created a class that represents a file (with...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.