mob
var
Title
AlertInfo
Accept
mob
proc
ShowAlert()
winset(usr,"Alert.Title","text = [Title]")
winset(usr,"Alert.AlertInfo","text = [AlertInfo]")
winset(usr,"Alert.Accept","text = Ok")
winshow(usr,"Alert",1)
mob/verb
Close()
set hidden = 1
winshow(usr,"Alert",0)
mob/verb
Test()
ShowAlert()
Title = "Testing "
AlertInfo ="HMMMMMMM"
Problem description:
Hello guys, I am testing out Interface for the first time and I'm encountering some issues. The first as you might all have noticed by now , is that I didn't necessarily took the best approach while doing this, I did this very messily and just tried to get the overall to work, I know that this will cause me many issues on the road ahead. So first of all, can any of you show me a better approach of handling this? Also, another problem I have yet to figure out how to solve is that, once I click the verb "Test" my results won't show up the first time, instead, I have to re-click the verb, that'll cause it to actually show what it's supposed to show. Anyway, any help will be appreciated, thanks :P
Make sure you aren't using usr in procs, except where usr is what is needed (Like Click()).