Sign in to follow this  
Followers 0
mozart90

2 Lines in Listview?

6 posts in this topic

#1 ·  Posted (edited)

Hi,

is it possibel to display 2 lines in a listview field ?

just for the idea:

GUICtrlCreateListViewItem("index 0|Firstline: long Text  - Secondline more text  |more2", $listview)

the second column should be dislpayded as two lines....

adding a @crlf displays just the charcter itself....

regards

mozart90

Edited by mozart90

Share this post


Link to post
Share on other sites



I would use two list view items.

#)

this does not fit in the concept ....

I want to use checkboxes in the listview to select some entries...

regards

mozart90

Share this post


Link to post
Share on other sites

This should answer your question lol...

GUICreate("", 500, 500)
$listview = GUICtrlCreateListview("test|test2|", 10, 10, 300, 300)
GUICtrlCreateListViewItem("test"&@CRLF&"testing"&"|test|", $listview)
GUISetState()
While (GUIGetMsg() <> -3)
    sleep(10)
WEnd

... hehe yes that's what I tried first. :)

perhaps any other suggestions?

greetings

mozart90

Share this post


Link to post
Share on other sites

The only thing I can suggest is to go with nfwu's idea. Should be simple....

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0