well, it looks like it could work.
anyway, why you insist on using that tag?
you can use it, but you could also direct all the events to the event function and check for the values there.
this way you don't need even:
code:
If $Wait.Tag = 1
Goto cmdList()
EndIf

which actually is not even kix.
it should be:
code:
If $Wait.Tag = 1
cmdList()
EndIf

there biggest problem here is not that you don't know what you are doing but that you are trying to learn really much.
normal kixforms newbie is long time kix user.
now you are also trying to learn kix as well which makes things a lot more difficult.

that said, your code is not bad at all.
_________________________
!

download KiXnet