Quote:
Originally Posted by Trevally.
Would it be possible to add to the tutorial box a scroll feature that as new text appear, previous text moves up.
This would allow people to scroll up through text and re-read.
Something stops the back command sometimes. Think it might be the "wait for next" command.
|
After much thought on how to implement this and after coding in the ability to define functions and call them with Call and Return commands in the tutorial feature I came to realize that my way of displaying text in the tutorial box wasn't very good. So I've made an architectural change to it. The main 'window' of the tutorial box is now a list. As new text is added to the list, it is added a 'window' at a time. Being a list it is scrollable with the mouse like the messagebox is. Unlike the messagebox there is no limit to the number of 'items' it can hold before it starts erasing old items. This means the entire tutorial will be stored in the tutorial box if played to end. The Previous button has been removed as it is no longer needed. Now all one has to do is press Pause and then scroll though the previous text with the mouse if they missed something or want to re-read a previous item.
In the screenshot below I pressed Pause and then scrolled up through the previous items to re-read it. Notice that the slider on the far right of the text 'window' is located in the middle. This shows that there are more items below and above this one:
I'll be giving Automation the same ability to define functions that are callable with Call and Return commands. I'm currently working on coding in the ability to define global variables and to be able to set and retrieve values from them. This will give the ultimate flexibility to Automation and the Tutorials. Automation (and Tutorials) are becoming their own programming languages.