Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Can I add a small close (x) icon to my keyboard that acts like a normal key? (Read 423 times)
MFusion Swing KBoard
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 13
Joined: Apr 22nd, 2019
Can I add a small close (x) icon to my keyboard that acts like a normal key?
Oct 13th, 2019 at 2:47pm
Print Post  
Can I iconify a keyboard using a small x in the upper right hand corner of a keyboard?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Online


tech.support

Posts: 2164
Joined: Oct 19th, 2005
Re: Can I add a small close (x) icon to my keyboard that acts like a normal key?
Reply #1 - Oct 14th, 2019 at 6:08am
Print Post  
You should be able to show your platform's standard minimize or close button in the taskbar of frame / window containing the keyboard component. Otherwise add an overlapped button or image on top-right of the keyboard and handle its click events. If you prefer it as an actual keyboard key, it might be possible to inherit from the Key class, override its send method with code to minimize when pressed, and add an instance to your custom keyboard layout.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint