Bílý vrch
icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • internal / bluetooth / simulator GPS
  • offline raster maps
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • custom views
  • MIDP and Symbian phones
  • Blackberry
  • Android
Visit wiki to see all features, guides and howtos. Project tracker.
Trekbuddy is on Github now

Partners:    (Polish/Polski)(Polski) Compass mapy      (Polish/Polski)(Polski) Galileos mapy      (Polish/Polski)(Polski) CartoMedia      (Czech/Èesky)(Èesky) Eaglesoft trasy      (Polish/Polski)(Polski) ExpressMap     

 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
HECL OnKeyPress

 
Post new topic   Reply to topic    TrekBuddy Forum Index -> Česky-Slovensky
View previous topic :: View next topic  
Author Message
dusanga



Joined: 21 Aug 2012
Posts: 15

PostPosted: Sun Feb 03, 2013 5:12 pm    Post subject: HECL OnKeyPress Reply with quote

Prosim o pomoc.
Nic moc som nenasiel o udalosti OnKeyPress.

Funguje pri pouziti nasledovneho kodu

proc vh::onKeyPress {keycode} {
if {= $keycode 1}{
... nejaky kod
}
Na dotykovej obrazovke / xperia s/ reaguje na klik v pravej hornej casti
obrazovky.
-moze $keycode nadobudnut aj inu hodnotu ako 1 ?
-mozem nejakym sposobom urcit polohu kliknutia ?
Chcem spustit rozne procedury pri kliknuti na vybrane casti obrazovky.
D.
Back to top
View user's profile Send private message Visit poster's website
MrKev



Joined: 13 Jan 2008
Posts: 778
Location: Nikdykde

PostPosted: Sun Feb 03, 2013 6:08 pm    Post subject: Reply with quote

Pokud se nic nezměnilo, tak máme jen jednu "klávesu", na kterou lze reagovat, na hw klávesnici je to tuším klávesa '2', na dotykáčích místo někde uprostřed nahoře.
_________________
Ti, co nedokáží psát programy, k nim píšou nápovědu.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> Česky-Slovensky All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group