darzanmihai Posted June 17, 2008 Share Posted June 17, 2008 Hello...I stumbled in a minor problem (I'm shure) but I can't figure this out.... I have a GUIGroup in witch I created a Tab...Now, when I press a button, I need to show something else in that GUIGroup.....how cat it be done? this is a part of the code I used: $Grup = GUICtrlCreateGroup("Diverse", 216, 0, 1065, 729, -1, $WS_EX_TRANSPARENT) GUICtrlSetColor(-1, 0x0000ff) $Tab1 = GUICtrlCreateTab(224, 16, 1049, 705) GUICtrlSetResizing(-1, $GUI_DOCKWIDTH + $GUI_DOCKHEIGHT) $Tab = GUICtrlCreateTabItem("Tab") $TabSeccond = GUICtrlCreateTabItem("Tab Seccond") GUICtrlSetState(-1, $GUI_SHOW) GUICtrlCreateTabItem("") GUICtrlCreateGroup("", -99, -99, 1, 1) I do not like stupid and idiot people that write idiot things...If you are one, do not write. Link to comment Share on other sites More sharing options...
enaiman Posted June 18, 2008 Share Posted June 18, 2008 Let me get this right: you want to delete the whole tab? ($Tab1) or a tab item? ($Tab, $TabSeccond) when a button is pressed? ... and welcome to the Forum nice to see another one "joining the club". If you need help, feel free to send me a personal message (you can use your native language for that) however for posting anything, using English is a requirement SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
darzanmihai Posted June 18, 2008 Author Share Posted June 18, 2008 Let me get this right: you want to delete the whole tab? ($Tab1) or a tab item? ($Tab, $TabSeccond) when a button is pressed?... and welcome to the Forum nice to see another one "joining the club".If you need help, feel free to send me a personal message (you can use your native language for that) however for posting anything, using English is a requirement I need to delete the whole tab($Tab1)Thanks for reply! I do not like stupid and idiot people that write idiot things...If you are one, do not write. Link to comment Share on other sites More sharing options...
rasim Posted June 18, 2008 Share Posted June 18, 2008 See a _GUICtrlTab_Destroy() function in the help file Link to comment Share on other sites More sharing options...
darzanmihai Posted June 18, 2008 Author Share Posted June 18, 2008 See a _GUICtrlTab_Destroy() function in the help fileWorked......now ... could you tell me how could I insert a table inside a Group? I do not like stupid and idiot people that write idiot things...If you are one, do not write. 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