TreeView in another Gui Topic is solved

Stelle Fragen zur Programmierung mit Autohotkey

Moderator: jNizM

GoB_Dura
Posts: 5
Joined: 25 Apr 2016, 17:58
Contact:

TreeView in another Gui

31 May 2017, 05:42

(german)

Hallo leute, ich hab ein kleines Problem

ich versuche die ganze Zeit die TreeView auf ein anderes Gui einzurichten jedoch ergibt sich folgendes Problem
Gui,9: Add, TreeView ... = Problem, funktioniert NICHT - wird aber benötigt^^

wenn ich den TreeView Gui auf Gui,9: ..... stellen würde, wird mir der eingetragene inhalt nicht angezeigt.

was mach ich falsch? hier mal das Beispiel mit Gui,1: ... welches funktioniert jedoch wird es in ,9: benötigt und sobald ich auf ,9: ... stelle, kein Inhalt.

kurzausschnitt...

Code: Select all

Gui,1:Add, TreeView, w380 h500
P1 := TV_Add("• Update v2.019 (aktuellste Version)")
P1C1 := TV_Add("• neu in Menü EXTRAS", P1)
platzhalter := TV_Add("")
P2 := TV_Add("• Update v2.018")
P2C1 := TV_Add("• Problem FIXED", P2)
platzhalter := TV_Add("")
P3 := TV_Add("• Update v2.017")
P3C1 := TV_Add("• Datumseinheit in Kalenderübersicht", P3) 
P3C2 := TV_Add("• Menü hinzugefügt", P3)
P3C2a := TV_Add("• EXTRAS", P3C2)

Gui,1:Add, Button, x308 w80 h30 g1Exit , Exit 
Gui,1:Show ,, Update Info - Legende
return
1Exit:
Gui,1:destroy
ich hoffe es kann mir da jemand helfen auf gui,9:... zu stellen. das es funktioniert.

oder hat jemand eine andere IDEE wo ich nicht zwingend eine gui,add oder gui,1:add oder gui,9:add brauche um dies mit klappenden texten anzeigen zu lassen. vl in einer msgbox oder so


MfG
Dura
GoB_Dura
Posts: 5
Joined: 25 Apr 2016, 17:58
Contact:

Re: TreeView in another Gui

13 Jun 2017, 08:29

scheint wohl so das mir da keiner helfen kann.

schade.
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
Contact:

Re: TreeView in another Gui  Topic is solved

13 Jun 2017, 08:41

Code: Select all

Gui, 9:Add, TreeView, w380 h500

Gui, 9:Default                                                ; <----
P1    := TV_Add("• Update v2.019 (aktuellste Version)")
P1C1  := TV_Add("• neu in Menü EXTRAS", P1)
TV_Add("")

P2    := TV_Add("• Update v2.018")
P2C1  := TV_Add("• Problem FIXED", P2)
TV_Add("")

P3    := TV_Add("• Update v2.017")
P3C1  := TV_Add("• Datumseinheit in Kalenderübersicht", P3) 
P3C2  := TV_Add("• Menü hinzugefügt", P3)
P3C2a := TV_Add("• EXTRAS", P3C2)

Gui, 9:Add, Button, x308 w80 h30 g9Exit, Exit 
Gui, 9:Show, AutoSize, % "Update Info - Legende"
return

9Exit:
    Gui, 9:Destroy
return
Ref:
Gui, GuiName:Default
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
GoB_Dura
Posts: 5
Joined: 25 Apr 2016, 17:58
Contact:

Re: TreeView in another Gui

28 Jun 2017, 14:49

Danke, Danke, Danke "jNizM" - THX ;)

es funktioniert Supper

Return to “Ich brauche Hilfe”

Who is online

Users browsing this forum: No registered users and 103 guests