Sign in to follow this  
Followers 0
autoitxp

_GUICtrlListView_InsertColumn

1 post in this topic

#1 ·  Posted (edited)

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

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