Jump to content
Sign in to follow this  
DarkHo

Display only a formate

Recommended Posts

DarkHo

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

Share this post


Link to post
Share on other sites
DarkHo

I Fix`t it thanks :D

Edited by DarkHo

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.