Change keypad size

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
antoineA
Posts: 20
Joined: Fri Dec 02, 2011 8:22 am

Change keypad size

Post by antoineA »

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.

User avatar
Ron L.
Posts: 214
Joined: Fri Jul 15, 2011 3:21 pm

Re: Change keypad size

Post by Ron L. »

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

antoineA
Posts: 20
Joined: Fri Dec 02, 2011 8:22 am

Re: Change keypad size

Post by antoineA »

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

User avatar
Ron L.
Posts: 214
Joined: Fri Jul 15, 2011 3:21 pm

Re: Change keypad size

Post by Ron L. »

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).
Best Regards,

Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer

vilius
Posts: 10
Joined: Mon Feb 06, 2012 8:36 am

Re: Change keypad size

Post by vilius »

Is there a parameter which locks the numeric keyboard to it's position so it would be impossible to drag it around the screen?

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Change keypad size

Post by mark.monroe »

Hi vilius,

No, there is no way to lock the keyboard into a given position.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

vilius
Posts: 10
Joined: Mon Feb 06, 2012 8:36 am

Re: Change keypad size

Post by vilius »

What about the possibility of disabling the background when the keypad is visible?

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Change keypad size

Post by mark.monroe »

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.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

Post Reply