Sign in to follow this  
Followers 0
DjDeep00

Get Header Text from a Listview

5 posts in this topic

How can we get the text of the column's name after it was clicked from a listview?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

How can we get the text of the column's name after it was clicked from a listview?

Hi,

it is in the example of : GUICtrlCreateListView ()

I guess, when you know the number of the column clicked, you should know the name, cause you wrote it before.

So long,

Mega

Edited by th.meger

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

Rite....Actually my column names are dynamic. I would like to get the column header text based on the index returned after clicking.

Share this post


Link to post
Share on other sites

Hi,

if they are dynamic, you have to get them anywhere. What about storing them into an array, so you can check the index after getting the colum number.

I know, it is just a workaround, but maybe you can go with that.

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

Hi,

if they are dynamic, you have to get them anywhere. What about storing them into an array, so you can check the index after getting the colum number.

I know, it is just a workaround, but maybe you can go with that.

So long,

Mega

Yeah I know, that's what I am using but just wanted to know if there was already a UDF for it.

Thanks for your help.

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