Beijer Electronics (formerly QSI Corporation)

Manufacturer of Mobile Data and Human Machine Interface Terminals.
It is currently Sun Nov 19, 2017 8:53 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Jul 19, 2012 7:02 am 
Offline

Joined: Thu Oct 09, 2008 2:37 pm
Posts: 13
Hi,
Would like to use the QwertyKeypadV2 object but it lacks a value change function. I would like to echo what is typed on the QwertyKeypad in a popup edit box.

I am currently using the TextEntryPadV2 object since it has an OnChange event function I can use, but don't like the layout and appearance of the TextEntrypad.

Is there a way to make the QwertyKeypadV2 object have an event function equivalent to a OnChange
event function?


Top
 Profile  
 
PostPosted: Thu Jul 19, 2012 8:21 am 
Offline
User avatar

Joined: Thu Mar 02, 2006 2:12 pm
Posts: 487
Location: Salt Lake City, Utah
Here's how I might implement that. I would create a TimerV2 with the following code.

Code:
init parent := screen_1
init timertype := _tt_periodic
init timeunits := _tt_milliseconds
init timeperiod := 100

func timeout()
    if (editbox_1.Value <> qwertykeypad_1.Value) then
        editbox_1.Value = qwertykeypad_1.Value
    endif
endfunc

_________________
Ron L.

http://www.beijerelectronicsinc.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group