Skip to content

From Poor to Rich


From Poor to Rich


4/2/2023

This week went pretty well! I met with Dr. Pankratz on Wednesday and successfully complete my walkthrough on Thursday! Aside from making some minor tweaks, I accomplished two main things this week, creating some lessons and transitioning to a rich textbox over a plain textbox.

I was able to write a few lessons and have them saved to a text file. The program them reads from the text file and displays the lesson. It’s working well so far. I still have to write a few of the lessons but I have at least 3 working in the program. I also focused on changing my textbox to a rich textbox based on feedback from this week. This transition was harder than I thought because I was reminded of why I didn’t use a rich textbox to begin with. When text is dragged into a rich textbox, the escape sequences are erased so I could no longer rely on \r\n to separate my commands. I finally had to give in and add a semi-colon at the end of each command. This definitely threw wrenches into the program because I relied on the escape sequences so must. It’s smoothing out though.

Once I switched to a rich textbox I could implement what everyone has been asking for, an indicator of what line is running. It is a work in progress but I have the program highlighting lines as it runs. My main issue has been finding the line that needs to be highlighted. With just a string of commands it works perfectly but when you through in some sort of loop it’s not as easy. I thought I had it working but it currently is not. It’s a work in progress but I’m happy with how it’s turning out. At least everything is working properly and the highlighting is the only issue right now.

Here is a video of the lessons and highlighting:

Leave a Reply

Your email address will not be published. Required fields are marked *

css.php