Do you mean something like: http://www.b4x.com/forum/questions-help-needed/3330-leftsoft-rightsoft-key.html#post18711
Ok. I've just updated the Hardware library and added a new method named MouseClick.
With this method you can emulate a mouse click on the screen and "press" on the toolbar from your code.