Jump to content

2 Lines in Listview?


mozart90
 Share

Recommended Posts

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
Link to comment
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

Don't think you can..

Edited by CHRIS95219
Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...