Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

[Problem]Einfaches Tabmenu erstellen


  • Please log in to reply
1 reply to this topic
ame824
  • Members
  • 1 posts
  • Last active: Aug 03 2013 09:08 AM
  • Joined: 02 Aug 2013

[Hinweis von Lexikos: Thema verschoben von Suggestions.]

 

Guten Tag Community !

 

Ich bin grad dabei ein Keybinder zu erstellen aber es klappt nicht wie ich das will...

 

Was ist hier falsch?

Gui, Add, Text, x22 y530 w280 h20 , Gui, Add, Tab2, x2 y100 w690 h320 , Fraktionsbefehle|Privates|Informationen
Gui, Add, Picture, x2 y0 w690 h100 , %A_ScriptDir%\header.png
Gui, Font, S12 CDefault, Verdana
Gui, Add, Text, x2 y420 w690 h30 +Center, Num0 = Keybinder Pausieren
Gui, Add, Text, x2 y450 w690 h30 +Center, ©copyright by GRZ-Gamerz (ame824)

Gui, Tab, Fraktionsbefehle
Gui, Add, Text, x12 y130 w290 h30 , Num1 = /kidnap [ID] 1
Gui, Add, Text, x12 y170 w290 h30 , Num2 = /mundtape [ID]
Gui, Add, Text, x12 y210 w290 h30 , Num3 = /augenbinde [ID]
Gui, Add, Text, x12 y250 w290 h30 , Num4 = /yaktor
Gui, Add, Text, x12 y290 w290 h30 , Num5 = /yaktor2
Gui, Add, Text, x12 y330 w290 h30 , Num6 = /frakkammer M4+Messer
Gui, Add, Text, x12 y370 w290 h30 , Num7 = /tie [ID]
Gui, Add, Text, x312 y130 w290 h30 , Num8 = /untie [ID]
Gui, Add, Text, x312 y170 w290 h30 , Num9 = /durchsuchen [ID]
Gui, Add, GroupBox, x312 y210 w290 h190 , Text-Befehle
Gui, Add, Text, x322 y250 w270 h30 , /werbung

Gui, Tab,Privates
Gui, Add, Text, x2 y420 w690 h30 +Center, Num0 = Keybinder Pausieren
Gui, Add, Text, x2 y450 w690 h30 +Center, ©copyright by GRZ-Gamerz (ame824)
Gui, Add, Picture, x-8 y0 w700 h100 , C:\Users\ame824\Desktop\headeryak.png
Gui, Add, Text, x12 y130 w310 h30 , Y = /carlock - Auto auf-/zuschließen
Gui, Add, Text, x12 y170 w310 h30 , X =/carkey - Autoschlüssel wechseln
Gui, Add, Text, x12 y210 w310 h30 , Z = /zoll - Öffnet den Zoll
Gui, Add, Text, x352 y130 w310 h50 , F5 = /tasche - um in die Tasche zu schauen
Gui, Add, Text, x352 y190 w310 h50 , F6 = /nehmen Waffe1 - Nimmt 1. Waffe aus Tasche
Gui, Add, Text, x352 y250 w310 h50 , F7 = /nehmen Waffe2 - Nimmt 2. Waffe aus Tasche
Gui, Add, Text, x12 y250 w310 h50 , F8 = /verstauen Waffe1 - Verstaut 1. Waffe in Tasche
Gui, Add, Text, x12 y310 w310 h50 , F9 = /verstauen Waffe2 - Verstaut 2. Waffe in Tasche

Gui, Tab,Informationen
Gui, Add, Picture, x-8 y0 w700 h100 , C:\Users\ame824\Desktop\headeryak.png
Gui, Add, Text, x2 y420 w690 h30 +Center, Num0 = Keybinder Pausieren
Gui, Add, Text, x2 y450 w690 h30 +Center, ©copyright by GRZ-Gamerz (ame824)
Gui, Add, Text, x12 y140 w160 h30 , Ersteller: ame824
Gui, Add, Text, x182 y140 w440 h40 , Bei weiteren Befehlswünschen bitte an den Ersteller wenden
Gui, Add, Text, x12 y200 w610 h190 , Dieser Keybinder wurde für die Fraktion Yakuza auf "[R]eallife[P]rojekt[G]ermany - RPG!" erstellt!\n Serveradresse: 176.9.44.136:9090\n Homepage: http://rpg-roleplay.de.to

Gui, Show, w696 h483, Yakuza Keybinder
return

GuiClose:
ExitApp

wie funktioniert das nach dem GUI Programm wurde das so eingetragen

 

aber er sagt : "Error: Tab name doesn't exist yet"

 

aber er steht doch oben mit drin oder muss ich das anders machen ?

 

gruß



nnnik
  • Members
  • 1625 posts
  • Last active: Jan 24 2019 02:19 PM
  • Joined: 28 Jul 2012

Ein Tab Control muss nicht nur so wie du es machst ausgewählt werden sondern vorher auch mit diesen Namen erstellt werden.

Du musst einfach eine Zeile am Anfang hinzufügen wo du das Tab erstellst:

Gui, Add, Tab2,, Fraktionsbefehle|Privates|Informationen

Visit the new forum ahkscript.org.

http://ahkscript.org