cesarz Site Admin
Joined: 04 Apr 2007 Posts: 294 Location: Buenos Aires, Argentina
|
Posted: Thu Jun 04, 2009 3:27 pm Post subject: |
|
|
There is an object to manage touch screen buttons (see WSDG):
http://www.sof2go.net/man/wst/en/wsdg/RFBUTTON.htm
There is a VB sample applicaiton that manage buttons
C:\Program Files\WireLessStudio\Samples\Button
It is very easy.
| Code: | '-------------------------------------------
' 3.1) create the button pad
' 3 Columns, 2 rows (top to 6 buttons in the pad ), 1 pixel border
wsRfButton.PadCreate 3, 2, 1
wsRfButton.AddButton 0, 0, "013", "ENTER", WBTN_DBLH
wsRfButton.AddButton 1, 0, "027", "CLR", WBTN_DBLH
wsRfButton.AddButton 2, 0, "_UP", "^", 0
wsRfButton.AddButton 2, 1, "_DN", "V", 0
wsRfButton.PadStore "MyMen"
|
Some examples from RfButton demo.
If You want to do that without modify the program (not recommended procedure), see this post:
http://foro.sof2go.com/viewtopic.php?t=237 _________________ CesarZ-SofToGo. |
|