Jump to content

_GUICtrlListView_InsertColumn


Recommended Posts

Hi im trying to populate _GUICtrlListView_InsertColumn fields but stucked in line

Dim $cols[27] = [stringTrimRight($string, 1)]

this line not getting proper values where is wrong help !

$iRval = _SQLite_Query(-1, "SELECT * FROM mytable;", $hQuery)
        If $iRval = $SQLITE_OK Then
            _SQLite_FetchNames($hQuery, $aNames)
            $string = ""
            
            For $x = 0 To 26
                $string = $string & '"' & $aNames[$x] & '"' & ","
                    
            Next

                    Dim $cols[27] = [StringTrimRight($string, 1)]
            For $i = 0 To 26
                    MsgBox(0, "", $cols[$i])
                _GUICtrlListView_InsertColumn($hListView, $i, $cols[$i], 100)
            Next
Edited by autoitxp
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...