
-----------------------------------
lee_Amilghty
Sat May 22, 2004 11:14 pm

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

-----------------------------------
Tony
Sat May 22, 2004 11:55 pm


-----------------------------------
:?
you could call 2nd button's procedure from within 1st button's procedure code...

-----------------------------------
lee_Amilghty
Sun May 23, 2004 12:37 am

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
Sun May 23, 2004 1:00 am


-----------------------------------
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

-----------------------------------
lee_Amilghty
Sun May 23, 2004 1:07 am

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
Sun May 23, 2004 2:07 am


-----------------------------------
eh... but then your GUI will quit working... unless you implement [url=http://www.compsci.ca/v2/viewtopic.php?t=2600]this
