Jump to content

questions about functions


faustf
 Share

Recommended Posts

hi guys  i have  this function

Func _Indietro_foto($input_readBK, $listJPGreload)

    Local $path_jpg = GUICtrlRead($input_readBK)
    ;MsgBox(0,'3178',$path_jpg)
    Local $aJpg_repath = StringSplit($path_jpg, "\")
    Local $aPath[1][($aJpg_repath[0]) * 2]
    Local $l = 0

    For $y = 1 To (UBound($aJpg_repath) - 1) - 1
        $aPath[0][$l] = $aJpg_repath[$y]
        $l += 1
        $aPath[0][$l] = "\"
        $l += 1
    Next
    ;_ArrayDisplay($aPath)
    Local $sPath_back = _ArrayToString($aPath, "")
    GUICtrlSetData($input_readBK, $sPath_back)
    ;_FileJPG_reload()
    Select
        Case $iGCTRL_ClickNewItemB56 = 1
            GUICtrlDelete($SITIWEB_NewItem_List2)
            $SITIWEB_NewItem_List2 = _ListView_OK("", 552, 166, 377, 266, "Descrizione_370")

        Case $CTRL_Clicked_MultyeBayB56 = 1
            GUICtrlDelete($SITIWEB_NIMLTY_eBay_List2)
            $SITIWEB_NIMLTY_eBay_List2 = _ListView_OK("", 799, 146, 377, 279, "Descrizione_370")

    EndSelect
    _FileJPG_reload($input_readBK, $listJPGreload)
    _Disabilita_X_Condurre_3("Enable")

EndFunc   ;==>_Indietro_foto

when i call  it

like     _Indietro_foto($SITIWEB_NewItem_Input5, $SITIWEB_NewItem_List2)

it  tell me error 

"C:\_GESTIONALE_NEW\include\GUI_Configure.au3" (1571) : ==> Variable used without being declared.:
Local $path_jpg = GUICtrlRead($input_readBK)
Local $path_jpg = GUICtrlRead(^ ERROR

why ???

 

 

Link to comment
Share on other sites

yes  some time is true , the  dark side of the force , is very a tentation  :P but  not with this time i  find  many time but  my focus were concentrated only in  func _

_Indietro_foto

and  not over .

but i promess next time i will  try much much more

thankz Again

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