Sign in to follow this  
Followers 0
Jack_10

GuiCtrlCreateListView

3 posts in this topic

hi

I have short name of colum but recods in this colum will be much longer so i do like this ( i wanna center column name using spaces) :

some spaces name column some spaces

record 1

record 2

...

Text from helpfile :

"You can control initial column size by padding blanks to the column heading definition. The column can be extend during the GUICtrlCreateListViewItem according to item size. Size of a column will be up to around 25 characters. No resizing will be done during an update by GUICtrlSetData."

Do u have any ideas it is possible to more resize column ?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

_GUICtrlListViewSetColumnWidth($h_listview, $i_col, $i_width)

EDIT: It looks like you need the beta for this UDF

Edited by Xenogis

[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

Share this post


Link to post
Share on other sites

_GUICtrlListViewSetColumnWidth($h_listview, $i_col, $i_width)

EDIT: It looks like you need the beta for this UDF

thx man i will try it

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