Moin community, könnt ihr mir vielleicht sagen wie ich in List1 eine Hover Funktion rein machen kann, wenn ich mit der Maus über die Links/Einträge gehe
Hab es bis jetzt nur in Lables hingekriegt, weiß aber nicht wie es bei Listen geht
Vielleicht weiß einer wie man das in Listen bewerkstelligen kann, danke schon mal im voraus
mfg Mainstream
Hier das Script
Spoiler anzeigen
Global $a_Inhalt[9][4] = [ _
["Google", "Inhalt #1", "List3 #1", "www.google.de"], _
["Youtube", "Inhalt #2", "List3 #2", "www.youtube.com"], _
[3, "Inhalt #3", "List3 #3"], _
[4, "Inhalt #4", "List3 #4"], _
[5, "Inhalt #5", "List3 #5"], _
[6, "Inhalt #6", "List3 #6"], _
[7, "Inhalt #7", "List3 #7"], _
[8, "Inhalt #8", "List3 #8"], _
[9, "Inhalt #9", "List3 #9"]]
$h_Gui = GUICreate ("", 650, 250)
$h_List1 = GUICtrlCreateList ("", 10, 10, 160, 160)
$h_List2 = GUICtrlCreateList ("", 180, 10, 160, 160)
$h_List3 = GUICtrlCreateList ("", 350, 10, 160, 160)
For $i = 0 To UBound ($a_Inhalt) - 1
GUICtrlSetData ($h_List1, $a_Inhalt[$i][0])
Next
$h_Go = GUICtrlCreateButton("Go", 10, 200, 50, 26)
[/autoit] [autoit][/autoit] [autoit]GUISetState (@SW_SHOW, $h_Gui)
[/autoit] [autoit][/autoit] [autoit]While True
Switch GUIGetMsg ()
Case -3
Exit
Case $h_List1
$s_Read = GUICtrlRead ($h_List1)
For $i = 0 To UBound ($a_Inhalt) - 1
If $s_Read = $a_Inhalt[$i][0] Then
GUICtrlSetData ($h_List2, "")
GUICtrlSetData ($h_List2, $a_Inhalt[$i][1])
GUICtrlSetData ($h_List3, "")
GUICtrlSetData ($h_List3, $a_Inhalt[$i][2])
ExitLoop
EndIf
Next
Case $h_Go
$s_Read = GUICtrlRead ($h_List1)
For $i = 0 To UBound ($a_Inhalt) - 1
If $s_Read = $a_Inhalt[$i][0] Then ExitLoop ShellExecute ($a_Inhalt[$i][3])
Next
EndSwitch
WEnd