Jump to content

Recommended Posts

Posted

Hi everyone, I 'm having (another) problem.

I'm currently trying to use an array to store registry values. The first dimension holds all keys within a certain key, the second dimension stores a value from each individual key. I know want that second dimension to display in a List-control.

Now comes the tricky part. When I click an item in the List-control, I want it to load the corresponding value in the first dimension.

When I click $array[n][1] I want to see $array[n][0] in a msgbox.

How can I accomplish this? I can't search thro the array since the second dimension has some duplicate entries. I also can't put a number next to each string, as empty strings in the second dimension will also be displayed then.

Thanks in advance,

Posted

That might work, but how do you accomplish it?

I found no information about hiding a column, nor making the fisrt column non-resizable. :/

Posted

i think youve got the same problem than me, but ive done this with a GUICtrlRead($listview) command... that retrieves a number (for example 24 or something like this... i dont know why its a so high number at the first line, and how the number ist built)... or you use GUICtrlRead(GUICtrlRead($listview)), that retrieves the value (for example: Name|SecondName)...

Posted

DL one of the latest BETA's that has the _GUICtrlListViewXXXXXX() commands. I think thats the right function name (can't check atm). Any way, all the functions you will need are included, including hide column, set column width, get item text etc.

qq

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
  • Recently Browsing   0 members

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