Re: [DUG] Touch Screen Development

2011-08-23 Thread Pedrocelli
Hi Rodney,

I've worked on something similar in the past.  You could use a block of 
TButtons to make a numeric keypad, that way the user doesn't need to use the 
keyboard for numeric input.

Pedrocelli

- Original Message - 
From: "Rodney Chan" 
To: 
Sent: Tuesday, August 23, 2011 11:13 AM
Subject: [DUG] Touch Screen Development


> Hi all,
>
> I have developed a POS software for my client many years ago.  And now he 
> is
> considering to use touch screen and get rid of keyboard and mouse (at 
> least
> in normal operation).  I would expect the development will be similar 
> apart
> providing an on screen keyboard (Tbuttons) for numeric input.  However, I 
> am
> a bit concern about the focus.  If I have data entry inside a TEdit, when
> the user click on the TButton for numeric input, focus will change to the
> button and the cursor will not be on the TEdit anymore.  Of course, I can
> change the focus back but it seems that it is a bit clumsy.
>
> It would be great if anybody can have some suggestions or point me to the
> right direction.
>
> Remark: out of some old VCLs, I still prefer to use Delphi 6 for the
> maintenance of this project although I have license for D2010.
>
>
> Thanks in advance!
> Rodney
>
> ___
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi@delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
> unsubscribe 

___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe


Re: [DUG] Touch Screen Development

2011-08-22 Thread Kyley Harris
ideally you want to design an onscreen keyboard that mounts into the form
doing the entry, and then make it so that nothing on the keyboard receives
focus.
the easiest (possibly) way to do this is to use a TPaint or write a custom
control where you map the location of mouse clicks on an image without any
of them
taking focus at all. you can create a list or array of TRect linking each
rect to a keycode or TShortcut value.  then each click on the image you
would simply insert a key code into the windows event handler to be pushed
to whatever has the focus.

On Tue, Aug 23, 2011 at 11:33 AM, Peter Hyde  wrote:

> > It would be great if anybody can have some suggestions or point me to the
> > right direction.
>
> Possible to use TSpeedbuttons instead? IIRC they do not steal focus.
>
> cheers,
> peter
>
>
> ___
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi@delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject:
> unsubscribe
>



-- 
Kyley Harris
Harris Software
+64-21-671-821
___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Re: [DUG] Touch Screen Development

2011-08-22 Thread Peter Hyde
> It would be great if anybody can have some suggestions or point me to the
> right direction.

Possible to use TSpeedbuttons instead? IIRC they do not steal focus.

cheers,
peter


___
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe