Sign in to follow this  
Followers 0
caramen

[Solved] list view

4 posts in this topic

#1 ·  Posted (edited)

Hello guys :).

I am using a console to see error message inside it and i have a problem with the console area using GUI list view

here is the code :

$SuiviLabel = GUICtrlCreateLabel ("Suivi Script" ,850,10,130,20) ;
;~ $SuiviLabel2 =
;~ $SuiviLabel3 =
;~ $SuiviLabel4 =

$SuiviArea = GUICtrlCreateListView("Suivi                                    ", 810,30 , 160, 550,$LVS_REPORT)

                           _GUICtrlListView_AddItem($SuiviArea,"1er scan en cours...")
                           _GUICtrlListView_EnsureVisible($SuiviArea, _GUICtrlListView_GetItemCount($SuiviArea)-1)

And i whould like to controle that element :

(See the picture attached) to the topic

 

I want to make that larger (item in the red circle)  but even if i put a lager pixel value in the command parameters it does not work is there a way to do that ?

Sans titre.png

Edited by caramen

Share this post


Link to post
Share on other sites



You might try _GUICtrlListView_SetColumnWidth

1 person likes this

Share this post


Link to post
Share on other sites
49 minutes ago, mikell said:

You might try _GUICtrlListView_SetColumnWidth

$SuiviLabel = GUICtrlCreateLabel ("Suivi Script" ,850,10,130,20) ;


$SuiviArea = GUICtrlCreateListView("Suivi                                    ", 810,30 , 160, 550,$LVS_REPORT)

_GUICtrlListView_SetColumnWidth ($SuiviArea , 810 , 300  )

                           _GUICtrlListView_AddItem($SuiviArea,"1er scan en cours...")
                           _GUICtrlListView_EnsureVisible($SuiviArea, _GUICtrlListView_GetItemCount($SuiviArea)-1)

Not working

Share this post


Link to post
Share on other sites
$SuiviLabel = GUICtrlCreateLabel ("Suivi Script" ,850,10,130,20) ;


$SuiviArea = GUICtrlCreateListView("Suivi                                    ", 810,30 , 160, 550,$LVS_REPORT)

_GUICtrlListView_SetColumnWidth ($SuiviArea , 0 ,800 )

                           _GUICtrlListView_AddItem($SuiviArea,"1er scan en cours...")
                           _GUICtrlListView_EnsureVisible($SuiviArea, _GUICtrlListView_GetItemCount($SuiviArea)-1)

Wking Ty

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