corey822 Posted December 8, 2007 Share Posted December 8, 2007 hey all i know i have a few questions but can anyone answer them how do i add text to tabed pages? link menus in the menu bar up top to a different page ? is the guisetdata the same for the listbox? and wat control id is best used? is it possible to use a button to email the reply to me once clicked? and sorry for so many but last but not least how do u add writing into a koda page to say like a pragraph or something? cheers C.W C.Wnew rules:1.dont use plz in a post or title use please instead2.always use help file as it is now muchly over rated3. dont think where not watching u4.please wait 24 hours after last post ot bump XD i use to make that mistake Link to comment Share on other sites More sharing options...
JustinReno Posted December 8, 2007 Share Posted December 8, 2007 (edited) 1. Label 2. Put the menu above the tab. 3. Yes 4. It doesn't really matter. 5. Yes 6. Edit Control Edited December 8, 2007 by JustinReno Link to comment Share on other sites More sharing options...
corey822 Posted December 8, 2007 Author Share Posted December 8, 2007 1. Label. tried didnt work 2. Put the menu above the tab. what do u mean? 3. Yes 4. It doesn't really matter. 5. Yes how would i do this? 6. Edit Control thnx cheers C.W C.Wnew rules:1.dont use plz in a post or title use please instead2.always use help file as it is now muchly over rated3. dont think where not watching u4.please wait 24 hours after last post ot bump XD i use to make that mistake Link to comment Share on other sites More sharing options...
BrettF Posted December 8, 2007 Share Posted December 8, 2007 Could you show us what you tried? Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
BrettF Posted December 8, 2007 Share Posted December 8, 2007 (edited) Could you show us what you tried?Sorry for the double...This worked for me:expandcollapse popup#include <GUIConstants.au3> #Include <GuiTab.au3> $Form1 = GUICreate("Form1", 633, 447, 193, 125) $Tab1 = GUICtrlCreateTab(8, 8, 617, 409) GUICtrlSetResizing(-1, $GUI_DOCKWIDTH + $GUI_DOCKHEIGHT) $TabSheet1 = GUICtrlCreateTabItem("TabSheet1") $Label1 = GUICtrlCreateLabel("Tabbed Text????", 16, 40, 89, 17) $TabSheet2 = GUICtrlCreateTabItem("TabSheet2") GUICtrlSetState(-1, $GUI_SHOW) $Edit1 = GUICtrlCreateEdit("", 16, 40, 601, 361) GUICtrlSetData(-1, "And this is tab 2, with another way to display text in a tab??") $TabSheet3 = GUICtrlCreateTabItem("TabSheet3") $TabSheet4 = GUICtrlCreateTabItem("TabSheet4") GUICtrlCreateTabItem("") $MenuItem1 = GUICtrlCreateMenu("File") $Exit = GUICtrlCreateMenuItem("Exit", $MenuItem1) $MenuItem2 = GUICtrlCreateMenu("Select") $SelTab1 = GUICtrlCreateMenuItem("Tab 1", $MenuItem2) $SelTab2 = GUICtrlCreateMenuItem("Tab 2", $MenuItem2) $SelTab3 = GUICtrlCreateMenuItem("Tab 3", $MenuItem2) $SelTab4 = GUICtrlCreateMenuItem("Tab 4", $MenuItem2) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE; Or $Exit Exit Case $SelTab1 _GUICtrlTab_SetCurFocus($Tab1, 0) Case $SelTab2 _GUICtrlTab_SetCurFocus($Tab1, 1) Case $SelTab3 _GUICtrlTab_SetCurFocus($Tab1, 2) Case $SelTab4 _GUICtrlTab_SetCurFocus($Tab1, 3) EndSwitch WEnd Edited December 8, 2007 by Bert Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
corey822 Posted December 8, 2007 Author Share Posted December 8, 2007 lol i would but i cant even remember wat i tried C.Wnew rules:1.dont use plz in a post or title use please instead2.always use help file as it is now muchly over rated3. dont think where not watching u4.please wait 24 hours after last post ot bump XD i use to make that mistake Link to comment Share on other sites More sharing options...
therks Posted December 8, 2007 Share Posted December 8, 2007 So try again and show us that. My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
corey822 Posted December 8, 2007 Author Share Posted December 8, 2007 (edited) ok m8 ill try again and see what i get this is my code CODE#cs ---------------------------------------------------------------------------- AutoIt Version: 3.2.10.0 Author: corey.warrington Script Function: test for some functions #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here#include <GUIConstants.au3> #include <GUIConstants.au3> #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form=f:\documents and settings\fred\my documents\scripts\scripitng programs\formdesign\forms\testgui.kxf $Form1_1 = GUICreate("test gui", 598, 392, 190, 123) $Input1 = GUICtrlCreateInput("Input1", 16, 88, 121, 21) $Button1 = GUICtrlCreateButton("send input", 280, 328, 75, 25, 0) $Label1 = GUICtrlCreateLabel("test program fo for me to use and test out my case and other stuff", 64, 16, 310, 17) $Edit1 = GUICtrlCreateEdit("", 184, 72, 97, 81) GUICtrlSetData(-1, "Edit me") $Checkbox1 = GUICtrlCreateCheckbox("testcheck2", 425, 96, 87, 17) $Radio1 = GUICtrlCreateRadio("test1", 328, 96, 49, 17) $Radio2 = GUICtrlCreateRadio("test2", 328, 120, 57, 17) $Checkbox2 = GUICtrlCreateCheckbox("testcheck1", 424, 120, 73, 17) $List1 = GUICtrlCreateList("", 32, 168, 73, 71) guictrlsetdata(-1, "item 1|item 2|item3" , "item2") $Combo1 = GUICtrlCreateCombo("Combo1", 184, 192, 145, 25) GUICtrlSetData(-1, "combo1|combo2|combo3","combo3") $Tab1 = GUICtrlCreateTab(392, 192, 145, 129)<-----------------------------------------tab $Label2 = GUICtrlCreateLabel("Tabbed Text????", 16, 40, 89, 17)<--------------------label GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) $TabSheet1 = GUICtrlCreateTabItem("info") $TabSheet2 = GUICtrlCreateTabItem("some writing") GUICtrlCreateTabItem("") $MenuItem3 = GUICtrlCreateMenu("&welcome/info") $MenuItem4 = GUICtrlCreateMenuItem("welcome", $MenuItem3) $MenuItem6 = GUICtrlCreateMenuItem("info", $MenuItem3) $MenuItem2 = GUICtrlCreateMenu("&help like menu") $MenuItem1 = GUICtrlCreateMenuItem("help", $MenuItem2) $MenuItem8 = GUICtrlCreateMenuItem("site", $MenuItem2) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ## While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Checkbox1 EndSwitch WEnd Edited December 8, 2007 by corey822 C.Wnew rules:1.dont use plz in a post or title use please instead2.always use help file as it is now muchly over rated3. dont think where not watching u4.please wait 24 hours after last post ot bump XD i use to make that mistake Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now