Jump to content

[Solved] list view


caramen
 Share

Recommended Posts

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

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

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

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

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

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

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...