Skip to main content
S_bgh99
Associate II
August 3, 2020
Question

Numpad in touchgfx

  • August 3, 2020
  • 15 replies
  • 4334 views

hi,i'm new touchgfx user, i want to have a numpad , is there any way to custmize keyboard sample?

This topic has been closed for replies.

15 replies

Alexandre RENOUX
Visitor II
August 3, 2020

Hello,

Yes it should be possible. As you correctly said, you can customize the keyboard example to create a numpad.

We don't have a dedicated numpad example so you need to start from the keyboard example.

I will see if I can make one when I have time.

/Alexandre

S_bgh99
S_bgh99Author
Associate II
August 9, 2020

oh thank u , so if you have a time plz help me.

S_bgh99
S_bgh99Author
Associate II
August 23, 2020

oh i wrote a code for numpad with edit touchgfx sample every thing is good but i don't know how can i change keyboard size... my design is:

0693W000003Q3CxQAK.png

but in the simulator

0693W000003Q3DCQA0.png

how can i resolve this problem?

S_bgh99
S_bgh99Author
Associate II
August 23, 2020

oh i forget to save that the problem solved with:

keyboard.setPosition(80, 16, 220, 340);:grinning_face_with_sweat: :grinning_face_with_sweat:

Alexandre RENOUX
Visitor II
August 24, 2020

Hello,

Glad you could implement your numpad :) and sorry that I didn't have time for it, this month was pretty busy.

Would it be possible for you to provide a sample code on this thread so that it can help other people ?

/Alexandre

BParh.1
Senior III
August 18, 2021

Hi @S_bgh99​ thank you for sharing, in your TouchGFX Designer, any widget(s) you put in? Or all numpad created by the code?

S_bgh99
S_bgh99Author
Associate II
August 19, 2021

HI, Numpad created by the code ( i changed the keyboard example)

Senior
February 10, 2025

@S_bgh99, did you check Share your Custom Widgets ?

There are a few examples on that thread.