Sign in to follow this  
Followers 0
darzanmihai

Delete Tab from GUIGroup

5 posts in this topic

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.

Share this post


Link to post
Share on other sites



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 :P


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 :)

Share this post


Link to post
Share on other sites

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 :P

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.

Share this post


Link to post
Share on other sites

See a _GUICtrlTab_Destroy() function in the help file

Share this post


Link to post
Share on other sites

See a _GUICtrlTab_Destroy() function in the help file

Worked...

...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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0