Jump to content

Recommended Posts

Posted

Can anyone suggest a way to present output from an array (with around 50 rows) $array[0] & $array[1] into a window in two columns so that it is 'clean' for the user to view

I probably haven't explained this very well, so if I need to clarify please ask.

Thanks

[font='Comic Sans MS']Eagles may soar high but weasels dont get sucked into jet engines[/font]

Posted

Finally!! Phew!

MikeMan, I would never have done that without your suggestion.

This is how it finally turned out, a bit different but you sure got the idea I had in mind.

$listview = GUICtrlCreateListView( "Item | Name", 10, 10, 750, 800)
  For $Repeat = 1 to ubound($aProperties) -1 Step 1
   GuiCtrlCreateListViewItem($aProperties[$Repeat][0]&"|"& $aProperties[$Repeat][1], $listview)
  Next

Thank you so much.

[font='Comic Sans MS']Eagles may soar high but weasels dont get sucked into jet engines[/font]

Posted (edited)

I wouldnt use step 1 because for example, if we have an array with 4 values like so: 1,2,3,4 it will output this:

1,2

2,3

3,4

4,error

EDIT

Wait a second, you are using 2d arrays. Ok, that will work fine.

Edited by Mikeman27294

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