Jump to content

Display only a formate


DarkHo
 Share

Recommended Posts

Hi all

Im having some problems, when i remove file i see all the other files im trying to add

If StringInStr($aFile_Array[$i], ".dem") Then

but im getting error

Func DeleteFromList()
    If $sFolderPath <> "" Then
        $delitefile = $sFolderPath&"\"&GUICtrlRead($List1)
        If FileExists($delitefile) then
            FileDelete($delitefile)
            $iIndex = _ArraySearch($aFile_Array, GUICtrlRead($List1))
            If Not @Error Then
                _ArrayDelete($aFile_Array, $iIndex)
                $aFile_Array[0] -= 1
            EndIf

            GUICtrlSetData($List1, "")
            For $i = 1 To $aFile_Array[0]
                GUICtrlSetData($List1, $aFile_Array[$i])
            Next

        EndIf
    EndIf
EndFunc

I hop some one can help :D

Edited by DarkHo
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...