Beijer Electronics (formerly QSI Corporation)

Manufacturer of Mobile Data and Human Machine Interface Terminals.
It is currently Fri Nov 24, 2017 6:16 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu May 28, 2009 11:09 am 
Offline

Joined: Thu May 28, 2009 10:50 am
Posts: 1
Has anyone asked for a simultaneous two button solution? I tried the sample below and never got very far.

{ Button1}

init value := "button_1"
init parent := default
init xpos := -42
init ypos := 149
init width := 38
init height := 39
init tone := note_none

func handlepress()
test1 = true
MessageQue.Value = "press 1"
endfunc
================================
{ Button2}

init value := "button_1"
init parent := default
init xpos := -42
init ypos := 53
init width := 38
init height := 39
init tone := note_none

func handlepress()
if (test1) then
PlayNote (56, 100)
endif
MessageQue.Value = "press 2"
endfunc

func handlerelease()
if (test1) then
PlayNote (36, 200)
endif
MessageQue.Value = "relea 2"
endfunc


Top
 Profile  
 
PostPosted: Thu May 28, 2009 11:14 am 
Offline
QSI Support
QSI Support
User avatar

Joined: Wed Mar 08, 2006 12:25 pm
Posts: 881
Location: Salt Lake City, Utah
Our touch screen based Qlarity terminals use resistive touch screens. The electrical nature of this touch screen technology is such that only a single touch can be recognized at a time.

As such you cannot directly click two buttons at once. It is, of course possible, to touch a button to toggle it in the down position, then touch another one -- in fact this is exactly what the CheckBoxV2 object (using the button style) does.

_________________
Jeremy
http://www.beijerinc.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