Is there a comprehensive tutorial on using the UI for TinyClr? Like changing texts on a button or it’s background.
I have never seen one…
Nothing other than the tutorials for the components that make up the UI. One thing to be aware of is that you have to call Invalidate() on any UI component you want to update.
I create a class for each window, and within this,s I have a function to create the elements and its own dispatch timer to update the display. I use events and delegates to link back to the main program class for buttons and passing values etc. The time is started and stopped when I switch windows. Works a treat.
There are some limited samples in the GHI GITHUB
Keeping the UI fluid means that any threads must have a minimal processing time and yield often. I generally have a Network thread and a background thread for things like serial ports etc. You’ll know when you have a bottleneck as button presses will be sluggish.
Once you have a fluid UI, it’s a nice, easy system to create basic touch interfaces with rich IO.