Board index » off-topic » Resource-definition : Defining the appearance of a ListView - Possible ?
|
R.Wieser
Delphi Developer |
|
R.Wieser
Delphi Developer |
Resource-definition : Defining the appearance of a ListView - Possible ?2006-06-28 01:04:21 AM off-topic13 Hello All, I've defined a Listview in the resource-file, but have allways needed to add seperate code in the program itself to define its appearance (like adding the columns and their captions to a Report-style list) My question : can I define the Listview columns in the resource-file, and if so how ? A pointer to a website explaining how to do it would be enough, thank you. :-) Regards, Rudy Wieser |
| Ed Mulroy
Delphi Developer |
2006-06-28 03:07:30 AM
Re:Resource-definition : Defining the appearance of a ListView - Possible ?
This is a definition of resource files and how they are constructed. Look
in it to see if it provides what you want. tinyurl.com/ozjd7 or, in its long form msdn.microsoft.com/library/en-us/tools/tools/resource_definition_statements.asp . Ed QuoteR.Wieser wrote in message |
| R.Wieser
Delphi Developer |
2006-06-28 05:09:04 AM
Re:Resource-definition : Defining the appearance of a ListView - Possible ?
Ed Mulroy < XXXX@XXXXX.COM >schreef in berichtnieuws
44a181f6$ XXXX@XXXXX.COM ... Hello Ed, QuoteThis is a definition of resource files and how they are constructed. Look HD. :-) Alas, no reference to any of the "newer" controls is made .... Nonwithstanding that, thanks for trying to help :-) Regards, Rudy Wieser {smallsort} |
| Vasya Pupkin
Delphi Developer |
2006-07-02 03:48:52 PM
Re:Resource-definition : Defining the appearance of a ListView - Possible ?
Hi Rudy,
[...] QuoteMy question : can I define the Listview columns in the resource-file, and As alternative, you can create a custom control based on the List View. But anyway you will have to _write_ the code adding the columns. |
| R.Wieser
Delphi Developer |
2006-07-02 04:33:50 PM
Re:Resource-definition : Defining the appearance of a ListView - Possible ?
Vasya Pupkin < XXXX@XXXXX.COM >schreef in berichtnieuws
XXXX@XXXXX.COM ... QuoteHi Rudy, Quote[...] QuoteAs alternative, you can create a custom control based on the such a control a permanent thing (I do not even know how I should do that ....) Regards, Rudy Wieser Quote-- |
