Hallo,
ich habe eine dynamisch erstelltes Listview mit einer Spalte für den Status der Server online/offline
ist es möglich, dass Online in GRÜN und OFFLINE in rot dargestellt wird?
BSP:
[autoit]
$Form1 = GUICreate("Form1", 195, 123, 339, 251)
$ListView1 = GUICtrlCreateListView("Server|Status", 8, 8, 177, 105)
GUICtrlSendMsg(-1, 0x101E, 0, 50)
GUICtrlSendMsg(-1, 0x101E, 1, 50)
$ListView1_0 = GUICtrlCreateListViewItem("Server1|online", $ListView1)
$ListView1_1 = GUICtrlCreateListViewItem("Server2|online", $ListView1)
$ListView1_2 = GUICtrlCreateListViewItem("Server3|offline", $ListView1)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Danke für die Antworten ...