Sign in to follow this  
Followers 0
Insolence

OnEvent with Tabs?

6 posts in this topic

#1 ·  Posted (edited)

Does this exist//work?

EDIT:

I simply forgot about the forum specifically for this, I apologize.

Edited by Insolence

"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

Does this exist//work?

EDIT:

I simply forgot about the forum specifically for this, I apologize.

<{POST_SNAPBACK}>

Yes the click on a specific tab fire an event on tab control you nead to read the number of the tab by GuiCtrlRead($tab).

I hope that answer your concern :idiot:

Share this post


Link to post
Share on other sites

GUICtrlSetOnEvent( GuiCtrlRead($tabitem[2]), "OKPressed")

Doesn't work?

GuiCtrlRead returns 0.


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

GUICtrlSetOnEvent( GuiCtrlRead($tabitem[2]), "OKPressed")

Doesn't work?

GuiCtrlRead returns 0.

<{POST_SNAPBACK}>

the event is $tab not $tabitem

Share this post


Link to post
Share on other sites

OH!!!

But I need to know which tab item it's on.


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

OH!!!

But I need to know which tab item it's on.

<{POST_SNAPBACK}>

so GuiCtrlRead($tab) :idiot:

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