Configuring Input Field in PG2 Graphic Display
In 800xa system, Say any version (5.1 or 6.0), i would like to use Input Field in PG2 display..
My input will be only in seconds,minutes & Hours..(maximum upto 48hours)..
The input property field should not accept any special symbols(!@#$)..
How will i configure this?
Pls guide
Answers
Hello,
as far as I know the input field with Time data type works as follows:
Your input has to be eg "13h 15m 47s", and the output is number of milliseconds since midnight.
The Format string is meant for output in the button. If you write Format string "h" then above writes "13h", format "m" gives "13h 15m" and format "s" gives "13h 15m 47s".
You can write your own input field I guess by temporarily override the InputField in Graphics Structure and look at the implementation.
/Ronny
Hi SG,
I have used input field for such application but my requirement was in "ms" and it worked perfectly.
You need to Create an Input field with data type "Time". But I am not sure how can you accomodate 48 Hr format in that.
I hope the basic idea given might help you.
I will revert back in case I will get more on this.
Regards,
Ashish
Add new comment