One thing they would like to change is that when the keyboard is minimized (I have a "Min" button), they would like this to end up on the Taskbar. Currently, the keyboard minimizes to a very small icon on the System Tray. Since we are using a touchscreen, it is very hard to "double touch" the small icon in the System Tray in order to reopen the keyboard.
Can I specify something else that will force the keyboard to minimize to the Taskbar? The code behind my "Min" button is your standard Minimize command ( [CMD: MINIMIZE]).
I want My-T-Soft for Build-A-Board to minimize like the original (pre 2.00) My-T-Soft - How do I do this?
Build a single button layout & use the CMD:NKBF, rather than the CMD:MINIMIZE - there is no regular icon available (part of this is that the keyboard window does not have a caption bar, it is not a normal application window). Here is a quick overview of what would be involved:
You will need a new project, e.g. BUTTON. For example, lets say your current project is NUM. Instead of CMD:MINIMIZE, use CMD:NKBF=BUTTON.KBF, then save & build your NUM project. Now create a new project, and call it BUTTON. Create a single button, and set its action to CMD:NKBF=NUM.KBF - label / size / position as desired. Now save & Build BUTTON. From \Program Files\Build-A-Board\Target\BUTTON\MSWIN copy BUTTON.KBF to the \Program Files\Build-A-Board\Target\NUM\MSWIN folder. (In the end, make sure BOTH KBF FILES (NUM.KBF / BUTTON.KBF) are in the same folder as MYTSOFT.EXE. Now when you run the keyboard, and hit "minimize" it will go to the layout as managed in BUTTON. When the single button in BUTTON is pressed, it will reopen the NUM layout.
The key thing to manipulating Build-A-Board is to realize each display presented to the user is just another layout (which can have 1 or (typically) more buttons). By using a single button layout, the "minimize to button" result can be achieved using the built-in "New KBF" command, e.g. CMD:NKBF=???
|Category: Using||Type: Question/Answer||Product: Build-A-Board||Version: 2.10|