Extension: Create Custom Keyboard. (Beta)

Hello friends,

a few years ago (2017) I made an extension to dynamically create components:

I have thought to modify that extension to create a Keyboard (Softkey) with the Button component.

- These are the default Properties:

- Special characters:

Spacebar: put several spaces between commas.

Comma character: we will establish it by means of the character:

Character : a Beep will sound.

ENTER character , we will see it in an example.

For the text of the keys we can put ASCII characters or other codes:




  • The size of the keyboard adapts to the size of the Layout.

  • It is necessary that the String keyLetter, keyNumber and keyTilde have the same number of elements.

You can download the extension, and test it in an emulator, from:


- Download Example 1 and Example 2:

p194J_Teclado.aia (103.5 KB)

1.- Create a keyboard with the "Keyboard" block and its "Click" event.

We set the String to keyLetter, keyNumber and keyTilde, example:
[Important: the three strings must have the same number of elements]

keyLetter: q,w,e,r,t,y,u,i,o,p,a,s,d,f,g,h,j,k,l,ñ,↑,z,x,c,v,b,n,m,.,←,☼,≡, ,✥,♫,┘,⌂,↔

keyNumber: 1,2,3,4,5,6,7,8,9,0,@,#,$,_,&,-,+,(,),/,↑,*,",',:,;,!,?,.,←,☼,≡, ,=,€,,⌂,↔

keyTilde: á,à,â,ä,é,è,ê,ë,í,ì,î,ï,ó,ò,ô,ö,ú,ù,û,ü,↑,Á,À,É,È,Í,Ì,Ó,.,←,☼,≡, ,Ò,Ú,Ù,⌂,↔

Background and Text color.
You can set the font type through a file in the assets.

When we press a button the "Click" event will give us: key, text and length of the text.

2.- Create a keyboard with the "KeyboardTB" block and its "ClickTB" event.

Using the "KeyboardTB" block and its "ClickTB" event, we can create a keyboard associated with a TextBox component.

The text will be written in the TextBox component and in the text variable of the event.

1 Like

- Download Example 3:

p194J_Teclado_Numerico.aia (21.5 KB)

3.- Create a numeric keyboard. Key ENTER.

This Keyboard is built with the Columns Property: 3.

VerticalArrangement Horizontal Size: 30 percent.

The three Strings keyLetter, keyNumber, and keyTilde contain:



Observe the event, if key = ↵, that character is the ENTER ↵.

1 Like

I wonder how u are alwayzz epic sir @juan_antonio :tada::diya_lamp::star_struck::smiling_face_with_three_hearts:

Hi Juan

Is the Android Keyboard suppressed?

The Keyboard block is used to write to a Label.


The KeyboardTB block is used to write to an associated TextBox. That TextBox has the Android Keyboard suppressed.


1 Like

4.- Arabic Keyboard.

p194J_Teclado_arabico.aia (103.7 KB)


,♫,┘,⌂,↔, ,✥,⌫,.,≡