Jump to content
TNC-TR
Skorpion

Cikis Butonu Calismiyor

Recommended Posts

Cikis butonu calismiyor

Selam arkadaslar neden bu scripde cikis butonu calismiyor cözemedim bir türlü

 

 

#include <GUIConstantsEx.au3>
#Include <GuiListBox.au3>
#include <ListviewConstants.au3>
#include <WindowsConstants.au3>

;----------------------------------------------------------------------------------------------------

$Daten_Pfad1 = "Daten.ini"

;----------------------------------------------------------------------------------------------------

Global $GUI_01_Button_01

;----------------------------------------------------------------------------------------------------

$GUI_01 = GUICreate ("Telefonnummern", 500, 600, -1, -1, 0x80000000)
$GUI_01_List_01 = GUICtrlCreateListView  ("Nachname|Vorname|Telefonnummer|Ort|Geburtstag", 5, 5, 490, 965, 0x8014, 0x00090121)
$GUI_01_Button_01 = GUICtrlCreateButton ("Exit", 5, 475, 490, 20)
GUISetBkColor (0x000000, $GUI_01)
GUISetState (@SW_SHOW, $GUI_01)
Sleep (500)

;----------------------------------------------------------------------------------------------------

_Daten ()

;----------------------------------------------------------------------------------------------------

While True
	Switch GUIGetMsg ()
		Case $GUI_01_Button_01
			Exit
	EndSwitch
WEnd

;----------------------------------------------------------------------------------------------------

Func _Daten ()
	$INI_Read_Section_01 = IniReadSection ($Daten_Pfad1, "Daten")
	For $Stk = 1 To $INI_Read_Section_01[0][0]
		$INI_Daten_01 = IniRead ($Daten_Pfad1, "Daten", $INI_Read_Section_01[$Stk][0], "ERROR")
		$INI_Daten_02 = StringSplit ($INI_Daten_01, ",")
		$INI_Daten_03 = $INI_Daten_02[1] & " | " & $INI_Daten_02[2] & " | " & $INI_Daten_02[3] & " | " & $INI_Daten_02[4] & " | " & $INI_Daten_02[5]
		GUICtrlCreateListViewItem ($INI_Daten_03, $GUI_01_List_01)
	Next
EndFunc

 

Share this post


Link to post
Share on other sites

ListView yükseklik çok vermişsin $GUI_01 ile çok orantısız olmuş

$GUI_01_List_01 = GUICtrlCreateListView  ("Nachname|Vorname|Telefonnummer|Ort|Geburtstag", 5, 5, 490, 450, 0x8014, 0x00090121)

  • Like 1

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×