Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Event keyboard question

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-26-2008, 07:23 AM
Senior Member
 
Join Date: May 2008
Posts: 174
Default Event keyboard question

there is a solution to my problem?
Link (My request to the Italian forum) http://www.basic4ppc.com/forum/itali...-keyboard.html

Best Regards
Reply With Quote
  #2 (permalink)  
Old 10-26-2008, 10:29 AM
Senior Member
 
Join Date: Apr 2007
Location: Copenhagen
Posts: 173
Default

Dear Micro,

my Italian is not very good (=non-existent ). Could you (or someone else) translate your question to those of us who do not speak it? I think it will increase the chances of you getting an answer.

all the best / Björn
Reply With Quote
  #3 (permalink)  
Old 10-26-2008, 10:55 AM
Senior Member
 
Join Date: May 2008
Posts: 174
Default

Quote:
Originally Posted by BjornF View Post
Dear Micro,

my Italian is not very good (=non-existent ). Could you (or someone else) translate your question to those of us who do not speak it? I think it will increase the chances of you getting an answer.

all the best / Björn
ok.

I want at any time, also if at that moment the focus is on a label or a textbox or a form or other, capture the button pressed on the keyboard.
In vb.net with the function of GetAsyncKeyState Lib "user32.dll" can get everything but with basic4ppc can not get.
Can you help?

Bye
Reply With Quote
  #4 (permalink)  
Old 10-26-2008, 04:08 PM
Senior Member
 
Join Date: Apr 2007
Location: Copenhagen
Posts: 173
Default

Sorry, don't know the answer to that one.

Unless you could modify the the routines from Erel's kiosk example? (if you are doing it on the Ppc that is)

http://www.basic4ppc.com/forum/code-...lications.html

all the best / Björn
Reply With Quote
  #5 (permalink)  
Old 10-27-2008, 09:00 AM
Basic4ppc Veteran
 
Join Date: Sep 2008
Location: Brisbane, Australia
Posts: 317
Default in a textbox

use the textbox's keypress event - it brings back the key that was pressed.

as for a label there is no way.

I think it might take something written in C++ to access the sip keypresses.
That is beyond my understanding sorry to say.

I've started dabbling in C# writing a custom SIP that covers the area of the normal sip and allows me to show alphabet for strings and numeric for numbers.
My sip won't be brought up by the sip icon though. When a control gets focus it calls the Show method.

regards, Ricky
Reply With Quote
  #6 (permalink)  
Old 10-27-2008, 07:39 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

See the first example in the Door library documentation (KeyPreview): Door
Reply With Quote
  #7 (permalink)  
Old 10-28-2008, 05:58 PM
Senior Member
 
Join Date: May 2008
Posts: 174
Default

ok Erel, it works perfectly.
Only a problem, why the key "Tab" is not captured?
Reply With Quote
  #8 (permalink)  
Old 10-28-2008, 08:45 PM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 977
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Ciao micro,

vai a leggere questo thread http://www.basic4ppc.com/forum/itali...eyboard-2.html

Ciao,
Filippo
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #9 (permalink)  
Old 10-30-2008, 04:39 PM
Senior Member
 
Join Date: May 2008
Posts: 174
Default

ok, grazie filippo.
Ho fatto una prova veloce sul pc e ci siamo quindi dovrei aver risolto.
Bye
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
evento keyboard micro Italian Forum 19 03-14-2009 12:19 PM
Keyboard bdiscount Questions (Windows Mobile) 1 07-28-2008 03:19 PM
about keyboard gjoisa Questions (Windows Mobile) 1 04-07-2008 03:53 PM
keyboard show bdiscount Questions (Windows Mobile) 1 09-24-2007 02:21 PM
Textbox show PPC Keyboard IansResearch Questions (Windows Mobile) 2 08-13-2007 09:18 AM


All times are GMT. The time now is 02:57 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0