How to change properties of radVirtualKeyboardForm?

1 Answer 353 Views
VirtualKeyboard
Jana
Top achievements
Rank 2
Iron
Iron
Iron
Jana asked on 05 May 2021, 07:25 AM

Hello,

I would like to know if it is possible to access/change the same properties for the radVirtualKeyboardForm as it is possible for the radVirtualKeyboard. I'm creating an application for a touch screen and I would like to remove some buttons from the keyboard which are not related to the input the user has to enter.

If it is not possible: Is there a possibility to assign also a radVirtualKeyboard to a control? I mean, that the keyboard only appears, if the cursor focus is on the corresponding input field.

 

Thank you in advance and have a wonderful day!

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 05 May 2021, 01:30 PM

Hi, Jana,

RadVirtualKeyboardForm gives you direct access to the virtual keyboard by the RadVirtualKeyboardForm.KeyboardForm.VirtualKeyboard property. Hence, you can apply the same settings as if you are applying it to the RadVirtualKeyboard.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Jana
Top achievements
Rank 2
Iron
Iron
Iron
commented on 10 May 2021, 02:24 PM

Hi Dess,

Thank you for your response!

But the properties of the radKeyboardForm can be set only programmatically and not via the property window in Visual Studio, is that correct?

Nadya | Tech Support Engineer
Telerik team
commented on 10 May 2021, 02:49 PM

Hello, Jana,

Yes, you can set properties of RadVirtualKeyboardForm programmatically: https://docs.telerik.com/devtools/winforms/controls/virtual-keyboard/virtual-keyboard-form 

I hope this information helps. Please let me know if you have further questions.

Regards,
Nadya
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Jana
Top achievements
Rank 2
Iron
Iron
Iron
commented on 02 Jul 2021, 01:47 PM

Hello,

it's been a while since my last answer but unfortunately it's still not 100% clear for me. 

I have an application on a windows tablet with several radTextBoxes to fulfill. What I would like to do is to create a custom layout for a virtual keyboard to save some space on the display and I want that this keyboard only appears if the corresponding radTextBox is focused.

Now I would like to know what is the easiest way to create a custom layout for a radVirtualKeyboardForm because here we don't have the smart tag and there are no properties for this control in the property window. So is there any way to create a custom keyboard layout for radVirtuelKeyboardForm at design time?

 

Thank you again and have a nice weekend!

 

Dess | Tech Support Engineer, Principal
Telerik team
commented on 06 Jul 2021, 01:37 PM

Hi, Jana,

RadVirtualKeyboard allows you to customize its layout only at run time: https://docs.telerik.com/devtools/winforms/controls/virtual-keyboard/default-layouts#customizing-default-layouts 

 It is recommended to get yourself familiar with the Structure and Logical Keyboard Layout of the virtual keyboard. Thus, you will have better understanding of how the keyboard layout is organized. Then, you can access the desired keyboard row and add/remove any keys as it is demonstrated in the above referred article. 

You can associate a RadTextBox or any input control with the RadVirtualKeyboardForm by setting the AssociatedKeyboardType property of the respective input control. In other words, set the RadTextBox.AssociatedKeyboardType property to AssociatedControl. Thus, the RadTextBox control is associated with the virtual keyboard. When the control gets focus, the keyboard will be shown:

https://docs.telerik.com/devtools/winforms/controls/virtual-keyboard/virtual-keyboard-form 

Tags
VirtualKeyboard
Asked by
Jana
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or