Hallo zusammen,
ich steh grad echt auf dem Schlauch
Ich habe diverse DateTimePicker und muss denen Werte zuweisen die aus einer Datenbank kommen, und dort auch wieder gespeichert werden können. GUICtrlSetDate klappt bei mir jedoch nicht, das Ergebnis ist nicht das erwartete Ergebnis.
C
#include <GUIConstantsEx.au3>
#include <GuiDateTimePicker.au3>
Example()
Func Example()
Local $hDTP
; Create GUI
GUICreate("DateTimePick Set Format", 400, 300)
$hDTP = GUICtrlGetHandle(GUICtrlCreateDate("", 2, 6, 190))
GUISetState(@SW_SHOW)
; Set the display format
_GUICtrlDTP_SetFormat($hDTP, "HH:mm")
GUICtrlSetData($hDTP, "08:00")
; Loop until the user exits.
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
GUIDelete()
EndFunc ;==>Example
Alles anzeigen
Kann mir einer auf die Sprünge helfen?