Glyph Posted July 31, 2007 Share Posted July 31, 2007 (edited) Heres a text diagram of what i mean |=======================================| |-----------------My GUI-----------------------------------------?-x| |=======================================| |[ Tab 1 ] |------------------- [ Tab 2 ]---------------------------| |This is info1 | information about info1 here----------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |=======================================| Is this possible...? Edited July 31, 2007 by backstabbed tolle indicium Link to comment Share on other sites More sharing options...
martin Posted July 31, 2007 Share Posted July 31, 2007 Heres a text diagram of what i mean |=======================================| |-----------------My GUI-----------------------------------------?-x| |=======================================| |[ Tab 1 ] |------------------- [ Tab 2 ]---------------------------| |This is info1 | information about info1 here----------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |-------------- |-------------------------------------------------------| |=======================================| Is this possible...? Do yo mean something like this? #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Tabbed Notebook Dialog", 413, 298, 303, 219) GUISetIcon("D:05.ico") $PageControl1 = GUICtrlCreateTab(8, 8, 396, 256) GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) $TabSheet1 = GUICtrlCreateTabItem("TabSheet1") $ListView1 = GUICtrlCreateListView("This is info1|more about info1 here", 72, 64, 304, 150, -1, BitOR($WS_EX_CLIENTEDGE,$LVS_EX_GRIDLINES)) GUICtrlSendMsg(-1, 0x101E, 0, 100) GUICtrlSendMsg(-1, 0x101E, 1, 200) GUICtrlSetFont(-1, 9, 400, 0, "Arial") $TabSheet2 = GUICtrlCreateTabItem("TabSheet2") GUICtrlCreateTabItem("") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Glyph Posted July 31, 2007 Author Share Posted July 31, 2007 (edited) Heres a screnshot of what i mean: http://images.betanews.com/screenshots/1020847128-1.gifip status name ping then info under that is what i meanah i got it#include <GUIConstants.au3> GUICreate("listview items",220,250, 100,200,-1,$WS_EX_ACCEPTFILES) GUISetBkColor (0x00E0FFFF); will change background color $listview = GuiCtrlCreateListView ("col1 |col2|col3 ",10,10,200,150);,$LVS_SORTDESCENDING) $button = GuiCtrlCreateButton ("Value?",75,170,70,20) $item1=GuiCtrlCreateListViewItem("item2|col22|col23",$listview) $item2=GuiCtrlCreateListViewItem("............item1|col12|col13",$listview) $item3=GuiCtrlCreateListViewItem("item3|col32|col33",$listview) $input1=GuiCtrlCreateInput("",20,200, 150) GuiCtrlSetState(-1,$GUI_DROPACCEPTED) ; to allow drag and dropping GuiSetState() GUICtrlSetData($item2,"|ITEM1") GUICtrlSetData($item3,"||COL33") GUICtrlDelete($item1) Do $msg = GuiGetMsg () Select Case $msg = $button MsgBox(0,"listview item",GUICtrlRead(GUICtrlRead($listview)),2) Case $msg = $listview MsgBox(0,"listview", "clicked="& GuiCtrlGetState($listview),2) EndSelect Until $msg = $GUI_EVENT_CLOSE Edited August 1, 2007 by backstabbed tolle indicium 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