StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
Multiple Images columns in grid
Multiple Images columns in grid
Post Reply
Like
2
Multiple Images columns in grid
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Govinda Berrio
Govinda Berrio
posted 11 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 94,
Visits: 481
Hi
I would like have a StrataFrame ListView where the first 3 columns would display various status symbols. Alternatively, it would be fine if I could have a single column where I can put 1-3 symbol images.
Does anyone have any tips on how to do this?
Thank You,
Govinda
Tags
image
listview
Reply
Like
2
StrataFrame Team
S
StrataFrame Team
posted 11 Years Ago
ANSWER
Post Details
Share Post
S
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
If you use the ListView, which is based on System.Windows.Forms.ListView, then you will have to implement "owner draw" on the control. It's a pain, there is some flag you go set and then draw the control in the OnPaint() method. With owner draw, you have to render just about everything from what I remember.
If you use the StrataListView, which is a custom control in the MicroFour StrataFrame UI Expanded assembly, then you can specify an image for any column. Each individual cell can have its own ImageKey that uses the ImageList of the list to find its image.
Reply
Like
3
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
2
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search