AutoHotkey Community

It is currently May 27th, 2012, 2:36 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: February 15th, 2010, 11:19 am 
Offline

Joined: November 9th, 2009, 3:09 pm
Posts: 258
hi everyone...in my gui i have three tabs and on each tab i have button so now what i am trying to do is when i press a button from tab1 then it should press the button of tab 3 and thus action related to that button of tab 3 should be executed by i am not getting that
Code:
Button1:
gui,submit,nohide

send !{B} ;hotkey for button of tab 3
return


well it shows like the button gets pressed as the underscore is displayed but why the action related to button of tab 3 is not executed???


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 15th, 2010, 11:35 am 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Why not simply Gosub, Button1Tab3: I assume that button on tab 3 has a label?

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 15th, 2010, 11:56 am 
Offline

Joined: November 9th, 2009, 3:09 pm
Posts: 258
good idea but button on tab3 calls a function i tried with function calling it works but i thought of doing something what i wished above...hope u will get me some more ideas and thanks for your answer


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Alpha Bravo, Bing [Bot], Google Feedfetcher, rbrtryn and 20 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group