Jump to content

tmazot007

Members
  • Posts

    4
  • Joined

  • Last visited

tmazot007's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. My code #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <ListviewConstants.au3> #include <GuiListView.au3> #include <EditConstants.au3> #include <ScreenCapture.au3> #include <GuiMenu.au3> #include <WinAPI.au3> #Include <File.au3> #include <Array.au3> #Region ### START Koda GUI section ### $GUI_Main = GUICreate(" ", 955, 521, 192, 124) $G_Add = GUICtrlCreateGroup("ADD", 8, 8, 249, 121) $L_1 = GUICtrlCreateLabel("Columns 1", 16, 24, 53, 17) $L_2 = GUICtrlCreateLabel("Columns 2", 16, 48, 53, 17) $L_3 = GUICtrlCreateLabel("Columns 3", 16, 72, 53, 17) $L_4 = GUICtrlCreateLabel("Columns 4", 16, 96, 53, 17) $I_1 = GUICtrlCreateInput("", 72, 24, 177, 21) $I_2 = GUICtrlCreateInput("", 72, 48, 177, 21) $I_3 = GUICtrlCreateInput("", 72, 72, 177, 21) $I_4 = GUICtrlCreateInput("", 72, 96, 177, 21) GUICtrlCreateGroup("", -99, -99, 1, 1) $Listview = GUICtrlCreateListView("", 260, 13, 682, 470) _GUICtrlListView_AddColumn(-1,"Columns 1",210) _GUICtrlListView_AddColumn(-1,"Columns 2",210) _GUICtrlListView_AddColumn(-1,"Columns 3",160) _GUICtrlListView_AddColumn(-1,"Columns 4",90) $G_Search = GUICtrlCreateGroup("Search", 10, 144, 249, 97) $L_F_1 = GUICtrlCreateLabel("F_Col 1", 18, 160, 40, 17) $L_F_2 = GUICtrlCreateLabel("F_Col 2", 18, 184, 40, 17) $L_F_3 = GUICtrlCreateLabel("F_Col 3", 18, 208, 40, 17) $I_F_1 = GUICtrlCreateInput("", 74, 160, 177, 21) $I_F_2 = GUICtrlCreateInput("", 74, 184, 177, 21) $I_F_3 = GUICtrlCreateInput("", 74, 208, 177, 21) GUICtrlCreateGroup("", -99, -99, 1, 1) $B_Add = GUICtrlCreateButton("Add", 88, 248, 75, 25, $WS_GROUP) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### Func Add() $1 = GUICtrlRead($I_1) $2 = GUICtrlRead($I_2) $3 = GUICtrlRead($I_3) Local $4 If GUICtrlRead($I_4) = "" Then $4 = "NULL" Else $4 = GUICtrlRead($I_4) EndIf If $1 = "" Or $2 = "" Or $3 = "" Then MsgBox(0,"Error","Error") Else GUICtrlCreateListViewItem($1 & "|" & $2 & "|" & $3 & "|" & $4,$Listview) EndIf EndFunc While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $B_Add Add() EndSwitch WEnd After I add data. I want use code filter, find data
  2. I want load my data and use filter but I don't know do it. Somebody help me . Thank you very much.
  3. A file zip has password protected. How do extract it ?
×
×
  • Create New...