08-22-2024, 10:50 AM
Hello krovit !
I don't think I have an answer for this, unfortunately.
I have almost the same lines in my program, and I don't have any problem with them, except when I use the RUN command to restart the program, I get an error when trying to execute those commands again - which I fixed with ON ERROR.
Does the title of your window change with time?
Else I would just use a custom string and not a variable for the _TITLE command.
I don't think I have an answer for this, unfortunately.
I have almost the same lines in my program, and I don't have any problem with them, except when I use the RUN command to restart the program, I get an error when trying to execute those commands again - which I fixed with ON ERROR.
Does the title of your window change with time?
Else I would just use a custom string and not a variable for the _TITLE command.
Code: (Select All)
$EXEICON: 'myicon.ico'
_ICON
_TITLE "My program"