Not sure what, I am doing wrong. But, I have tried the following, Without success. Made a simple button, When pushing it nothing happens. Second example, When I click on the tab, Where the button is, Then message box comes up, And when I hit the button. Then it goes into kaos, And the message box keeps coming up, On its own.
global atset
atset=createButton(85,70,65,15,"Button",0,TabPanel(5))
Do
GetEvent
If EventData()=atset
Message "Test", "Test..."
EndIf
Sync
Loop
Also tried, With the following.
if eventType()=MENU_CLICK and If EventData()=atset then Message "Test", "Test..."
Also have tried with using this method.
ES = eventsource() : ET = eventType() : ED = eventData()
Thank you.
.:: Http://DeanWorks.Ca ::.
My software never has bugs. It just develops random features.