I've attached a sample app with a toolbar key board unzip it to a new folder and open the sales.adb open the sales invoice or inventory entry form there is a button 'keyboard' to open the keyboard. Check the code on the button you don't want to open the keyboard twice. The keyboard will stay open from form to form.

Allen

I made an error in the keyboard button the is_object() function will not detect an open toolbar change the code to:
Code:
if ui_modeless_dlg_exist("keyboard")=.f.
a5_toolbar_open("keyboard",.t.)  'toolbar is not open so open it
else
ui_modeless_dlg_close("keyboard")  'toolbar is open so close it
end if
to open & close the toolbar with the keyboard button
Attached Files