Hi everyone...
I'm having trouble understanding some commands. How to use them, how they work exactly... I've been messing around with a button:
This above is in my main loop and my button is called mConn. I'm trying to understand how to use Waitevent(), Eventdata() and eventsource(). Above in the code you can see my comment... maybe it tells you my train of thought, so maybe you can tell me what I did wrong and how I should view things.
This would help me greatly. btw if anyone's really good with blitz+ could you add me to ur msn? lexdark@...
I'm having trouble understanding some commands. How to use them, how they work exactly... I've been messing around with a button:
Select WaitEvent() ; wait for client to do something Case $401 ; he touched a gadget Select EventSource() ; what did he touch? Case mConn ; if its the button Select EventData() ; the data returned from whatever he did to the button Case True ; if its true like if he clicked it Notify "boo" ; popup boo End Select End Select End Select
This above is in my main loop and my button is called mConn. I'm trying to understand how to use Waitevent(), Eventdata() and eventsource(). Above in the code you can see my comment... maybe it tells you my train of thought, so maybe you can tell me what I did wrong and how I should view things.
This would help me greatly. btw if anyone's really good with blitz+ could you add me to ur msn? lexdark@...