Tuesday, December 26, 2017

FMod - Tour fixed

Today I figured out why the presence of the tour panel made keyboard events not go to the main form. As I suspected, the "exit tour" link gets focus when it's visible. The solution was to respond to the GotFocus event of that link (and also of the Proceed button) and set the focus to some inert label instead.

With that sorted out, I continued writing the tour. It now instructs the user to switch to a different level (since actual levels are more interesting than the world map), pick up tiles, place them, and adjust plane states.

No comments:

Post a Comment