Jump to content

problem whit findintex -----> insert in list popup-gui

Recommended Posts

hi guy i have little problem

i have a gui whit a list3 i find in list a item when i founded the item insert the item in new list in popup gui.

the first time the system go but when i find another ithem dont go and, when i try read a input give me only 0 value and dont find nothing

this is a part of code

func _cerca_X_assemblaggio()


$Input10 =GUICtrlRead($Input10 )


$testotrovato = _GUICtrlListView_FindinText($list3, $Input10)

_GUICtrlListView_EnsureVisible($list3, $testotrovato)

_GUICtrlListView_SetItemSelected($list3, $testotrovato)

$test=_GUICtrlListView_GetItemTextArray($list3, $testotrovato)

if $control = 1 Then




_GUICtrlListView_AddSubItem($list3,$k, $input10,$control)




Func popup_assemblaggio()

$Form2 = GUICreate("Popup-Assemblaggio-PC", 776, 218, 276, 92)

$Group6 = GUICtrlCreateGroup("Prodotti Assemblati", 12, 54, 753, 153)

$List3 = GUICtrlGetHandle(GUICtrlCreateListView("", 95, 74, 657, 123, BitOR($LVS_REPORT, $LVS_SHOWSELALWAYS), $WS_EX_CLIENTEDGE))


_GUICtrlListView_AddColumn($list3, "Descrizione", 300)

_GUICtrlListView_AddColumn($list3, "Codice a Barre", 220)

$Button3 = GUICtrlCreateButton("Cancella", 20, 76, 65, 25, 0)

GUICtrlCreateGroup("", -99, -99, 1, 1)

$Label1 = GUICtrlCreateLabel("Seriale Assemblato pc ", 8, 16, 111, 17)


WinSetOnTop("Popup-Assemblaggio-PC", "", 1)

GUICtrlSetOnEvent($button3, "_cancella_in_assemblaggio")

GUISetOnEvent($GUI_EVENT_CLOSE, "_chiudi")


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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...