Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 some button questions
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
lee_Amilghty




PostPosted: Sat May 22, 2004 11:14 pm   Post subject: some button questions

Can I put s button into a button? i mean can a button exists in another one.

does turing have a command which tells the computer a button procedure
is over?
then i can do my next button

cuz sometimes when i pressed da second button dispite the layout cover the previous screen, but the previous button still exists
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sat May 22, 2004 11:55 pm   Post subject: (No subject)

Confused
you could call 2nd button's procedure from within 1st button's procedure code...
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
lee_Amilghty




PostPosted: Sun May 23, 2004 12:37 am   Post subject: i will explain it clearly

my program is supposed to have a "return function" it exist in a button then i can repeat all my main servies again fro the subcodingpart, but, i don't how to create a button to loop my stuffs..

also if I put the 2nd button within da 1st one, actually i did dat but when i clicked the location of the 1st one, even tho it is covered by my new layout the 1st button still will come up. how can I remove it?
using disable????
Tony




PostPosted: Sun May 23, 2004 1:00 am   Post subject: (No subject)

yes, you disable the GUI button using GUI.Disable(widgetID) if you don't want that widget to be active any longer.

[url="http://www.compsci.ca/v2/viewtopic.php?t=370"]tutorial on using loops to move around[/url]
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
lee_Amilghty




PostPosted: Sun May 23, 2004 1:07 am   Post subject: somethin else

when I read some topics here i found out some ppl use the drawfill boxes +mouse click instead of GUI button

is it easier?
which way is better?


is it possiable to read the later commands after i disable a button

like
var....=GUICreatButton...........
loop
exit when GuiEvent..
end loop

disable()
put"XXX"

is it be possible?
Tony




PostPosted: Sun May 23, 2004 2:07 am   Post subject: (No subject)

eh... but then your GUI will quit working... unless you implement this
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: