Jump to content
Sign in to follow this  
Insolence

OnEvent with Tabs?

Recommended Posts

Insolence

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
jpm

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
Insolence

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
jpm

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
Insolence

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
jpm

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.