Hi Ron,
I'm using a T4A panel and I would like to know if it's possible to change keypad size? Currently i'm using system keypad (included in iX developer with .kbl extension).
Is it possible to edit this file to change keypad size or create a custom keypad (where I can change button size?).
Thanks you for your reply.
AntoineA.
Change keypad size
Re: Change keypad size
In the directory where the project is saved under "\Temp\Output" you can edit the files "Numeric.kbl" and "US.kbl" to change the size of the popup keypads. This is currently the only way to adjust the size of those keypads.
Best Regards,
Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer
Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer
Re: Change keypad size
Thank you for your quick reply, It's works very well!
However, I have another question : Is it possible to define where the keypad will appear?
In fact, It happens that the keypad gets out of the screen size.
Is there a parameter in .kbl file which allows to define the starting XY location when the popup keypad appears?
Thank you again
AntoineA
However, I have another question : Is it possible to define where the keypad will appear?
In fact, It happens that the keypad gets out of the screen size.
Is there a parameter in .kbl file which allows to define the starting XY location when the popup keypad appears?
Thank you again
AntoineA
Re: Change keypad size
No, the location of the keyboard is decided by the keyboard itself. iX RT
fetches the object's x,y-coordinates and size to the keyboard. It then
tries to place itself so that it does not cover the selected object.
If it detects that it covers the object a small preview textbox is added to
the keyboard (so that the operator can see which value that he's writing).
fetches the object's x,y-coordinates and size to the keyboard. It then
tries to place itself so that it does not cover the selected object.
If it detects that it covers the object a small preview textbox is added to
the keyboard (so that the operator can see which value that he's writing).
Best Regards,
Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer
Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer
Re: Change keypad size
Is there a parameter which locks the numeric keyboard to it's position so it would be impossible to drag it around the screen?
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Change keypad size
Hi vilius,
No, there is no way to lock the keyboard into a given position.
No, there is no way to lock the keyboard into a given position.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Re: Change keypad size
What about the possibility of disabling the background when the keypad is visible?
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Change keypad size
Hi vilius,
I am not sure what background you are talking about. If you mean the screen I am not sure how that would help. You would have to disable the screen when the analognumeric box got the focus and then enable it when it lost focus. That would not prevent a user from clicking on the screen in the background and the keyboard disappearing. Right when the control lost focus the screen would immediately be enabled because the lost focus event would be called for the analognumeric box.
I am not sure what background you are talking about. If you mean the screen I am not sure how that would help. You would have to disable the screen when the analognumeric box got the focus and then enable it when it lost focus. That would not prevent a user from clicking on the screen in the background and the keyboard disappearing. Right when the control lost focus the screen would immediately be enabled because the lost focus event would be called for the analognumeric box.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer