Tablet and form style for Windows 8 (desktop ver.)
-
- Posts: 72
- Joined: Tue Sep 11, 2007 3:51 pm
Tablet and form style for Windows 8 (desktop ver.)
Hi all, especially Otto,
I recently purchased an Asus tablet with Windows 8 desktop version.
He had thought about making a CRM program for this tablet. I had thought to start doing a form. This had thought of using ScrollDlg class. I've seen that I need the virtual keyboard automatically show when the user is positioned at a Get.
Any hit is welcome.
regards
I recently purchased an Asus tablet with Windows 8 desktop version.
He had thought about making a CRM program for this tablet. I had thought to start doing a form. This had thought of using ScrollDlg class. I've seen that I need the virtual keyboard automatically show when the user is positioned at a Get.
Any hit is welcome.
regards
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Tablet and form style for Windows 8 (desktop ver.)
Antonio,
Please review FWH\samples\keybsim.prg as it implements a virtual keyboard
Please review FWH\samples\keybsim.prg as it implements a virtual keyboard
-
- Posts: 72
- Joined: Tue Sep 11, 2007 3:51 pm
Re: Tablet and form style for Windows 8 (desktop ver.)
Hello Antonio and friends
My idea is to use the virtual keyboard in Windows 8, but that is only one aspect that I wanted to consider the forum. There are other aspects of the design of forms, for example: to display the virtual keyboard to do scroll form, which forms must be scroll, it is also better than OK and Cancel button are up, so are more visible. They wanted to address general issues with the forum, especially those who are working with tablets with Windows 8 desktop version naturally.
regards
My idea is to use the virtual keyboard in Windows 8, but that is only one aspect that I wanted to consider the forum. There are other aspects of the design of forms, for example: to display the virtual keyboard to do scroll form, which forms must be scroll, it is also better than OK and Cancel button are up, so are more visible. They wanted to address general issues with the forum, especially those who are working with tablets with Windows 8 desktop version naturally.
regards
Re: Tablet and form style for Windows 8 (desktop ver.)
Hello Antonio M.,
please let me know more about your plans to develop a CRM system.
Maybe we can share some code.
Best regards,
Otto
datron (@) aon.at
please let me know more about your plans to develop a CRM system.
Maybe we can share some code.
Best regards,
Otto
datron (@) aon.at
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
-
- Posts: 174
- Joined: Sat Feb 23, 2013 10:04 am
Re: Tablet and form style for Windows 8 (desktop ver.)
Friends,
[ENG by GT]
I found the virtual keyboard running Windows 8 appears Tabtip.exe in C: \ Program Files \ Common Files \ Microsoft Shared \ ink \ Tabtip.exe. Seen http://stackoverflow.com/questions/1187 ... esktop-app).
The next problem will be how to make a scrolling the dialog that shows the get active. We will have to absorb a fixed size virtual keyboard.
[SPA]
Encontré que el teclado virtual de Windows 8 aparece ejecutando el TabTip.exe en C:\Program Files\Common Files\Microsoft Shared\ink\TabTip.exe. Visto en http://stackoverflow.com/questions/1187 ... esktop-app).
El siguiente problema sera ver cómo hacer un scrolling del dialogo que muestre el get activo. Tendremos que asimilar un tamaño fijo para el teclado virtual, ante la imposibilidad de saber que tamaño tiene, via una función del API.
Regards. Saludos.
[ENG by GT]
I found the virtual keyboard running Windows 8 appears Tabtip.exe in C: \ Program Files \ Common Files \ Microsoft Shared \ ink \ Tabtip.exe. Seen http://stackoverflow.com/questions/1187 ... esktop-app).
The next problem will be how to make a scrolling the dialog that shows the get active. We will have to absorb a fixed size virtual keyboard.
[SPA]
Encontré que el teclado virtual de Windows 8 aparece ejecutando el TabTip.exe en C:\Program Files\Common Files\Microsoft Shared\ink\TabTip.exe. Visto en http://stackoverflow.com/questions/1187 ... esktop-app).
El siguiente problema sera ver cómo hacer un scrolling del dialogo que muestre el get activo. Tendremos que asimilar un tamaño fijo para el teclado virtual, ante la imposibilidad de saber que tamaño tiene, via una función del API.
Regards. Saludos.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Tablet and form style for Windows 8 (desktop ver.)
Antonio,
Please review FWH/samples/scrolldlg.prg
Please review FWH/samples/scrolldlg.prg
-
- Posts: 174
- Joined: Sat Feb 23, 2013 10:04 am
Re: Tablet and form style for Windows 8 (desktop ver.)
[ENG]
Thank you, Antonio,
I've thought about moving the vertical scroll until the get coordinates are off the top of the virtual keyboard.
regards
[SPA]
Gracias, Antonio,
He pensado en mover el scroll vertical hasta que el las coordenadas del get queden por encima del alto del teclado virtual.
Saludos
Thank you, Antonio,
I've thought about moving the vertical scroll until the get coordinates are off the top of the virtual keyboard.
regards
[SPA]
Gracias, Antonio,
He pensado en mover el scroll vertical hasta que el las coordenadas del get queden por encima del alto del teclado virtual.
Saludos
-
- Posts: 174
- Joined: Sat Feb 23, 2013 10:04 am
Re: Tablet and form style for Windows 8 (desktop ver.)
[ENG]
Antonio,
To invoke the keyboard what I do is a WinExec () to Tabtip.exe in GotFocus () method of oGet. The problem is that it is recursive:
Get gains focus, keyboard calls, leaving the keyboard get wins like focus, keyboard is called ... How do you do this without recursion? Can you think of anything?
regards
[SPA]
Antonio,
Para invocar al teclado lo que hago es un WinExec() a TabTip.Exe en el metodo GotFocus() del oGet. El problema es que se hace recursivo:
Get gana el foco, se llama a teclado, al salir del teclado, como el get gana el foco, se llama a teclado... ¿ cómo hacer esto sin que haya recursividad ? ¿ Se te ocurre algo ?
Saludos
Antonio,
To invoke the keyboard what I do is a WinExec () to Tabtip.exe in GotFocus () method of oGet. The problem is that it is recursive:
Get gains focus, keyboard calls, leaving the keyboard get wins like focus, keyboard is called ... How do you do this without recursion? Can you think of anything?
regards
[SPA]
Antonio,
Para invocar al teclado lo que hago es un WinExec() a TabTip.Exe en el metodo GotFocus() del oGet. El problema es que se hace recursivo:
Get gana el foco, se llama a teclado, al salir del teclado, como el get gana el foco, se llama a teclado... ¿ cómo hacer esto sin que haya recursividad ? ¿ Se te ocurre algo ?
Saludos
-
- Posts: 174
- Joined: Sat Feb 23, 2013 10:04 am
Re: Tablet and form style for Windows 8 (desktop ver.)
Antonio,
Solved last issue !
TGet.Prg
STATIC hWndGet
...
METHOD GotFocus()
IF hWndGet == NIL .OR. hWndGet != ::hWnd
WinExec("TabTip.Exe")
ENDIF
.....
hWndGet:= ::hWnd
RETURN 0
Regards
Solved last issue !
TGet.Prg
STATIC hWndGet
...
METHOD GotFocus()
IF hWndGet == NIL .OR. hWndGet != ::hWnd
WinExec("TabTip.Exe")
ENDIF
.....
hWndGet:= ::hWnd
RETURN 0
Regards
Last edited by Antonio Mart. on Sun Feb 24, 2013 9:09 am, edited 1 time in total.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Tablet and form style for Windows 8 (desktop ver.)
Antonio,
Es una buena solución
Es una buena solución
-
- Posts: 174
- Joined: Sat Feb 23, 2013 10:04 am
Re: Tablet and form style for Windows 8 (desktop ver.)
Good morning,
Windows comes with a virtual keyboard from at least version xp. Called osk.exe and seems to behave well with focus issues.
Good day.
Windows comes with a virtual keyboard from at least version xp. Called osk.exe and seems to behave well with focus issues.
Good day.
-
- Posts: 174
- Joined: Sat Feb 23, 2013 10:04 am
Re: Tablet and form style for Windows 8 (desktop ver.)
Hi,
One step.
When oGet gains focus, then automatic scrolling.
One step.
When oGet gains focus, then automatic scrolling.
Code: Select all
METHOD ScrollDlgUp() CLASS TGet
#Define nDHEIGHT_ WndHeight( GetDesktopWindow() )
#Define nBOTTOM_ ClientToScreen(::oWnd:hWnd, {WndTop(::hWnd)+ ::nHeight(), WndLeft(::hWnd)})[1]
*
DO WHILE nBOTTOM_ > (nDHEIGHT_/ 2)
::oWnd:oVScroll:GoDown()
SysRefresh()
ENDDO
RETURN NIL
*
Re: Tablet and form style for Windows 8 (desktop ver.)
I modified an app to optimize it for a Samsung Slate. Unfortunately my Slate had to go back to the factory, or I could directly respond. It should return Wednesday, and will hopefully be working.
The keyboard should come up automatically when you tap in the field.
Consider tab pages rather than scrolling down the screen. Otherwise, remember this is a touch screen, so use your finger to swipe up the screen to scroll it.
Tim
The keyboard should come up automatically when you tap in the field.
Consider tab pages rather than scrolling down the screen. Otherwise, remember this is a touch screen, so use your finger to swipe up the screen to scroll it.
Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
-
- Posts: 174
- Joined: Sat Feb 23, 2013 10:04 am
Re: Tablet and form style for Windows 8 (desktop ver.)
Hi Tim,
Yes, I am testing. The keyboard should automatically appear, almost as I have.
The scroll I have it. By the way: GotFocus () goes crazy when you interrupt the sequence of change in focus! But it has also solved.
regards
Yes, I am testing. The keyboard should automatically appear, almost as I have.
The scroll I have it. By the way: GotFocus () goes crazy when you interrupt the sequence of change in focus! But it has also solved.
regards
Re: Tablet and form style for Windows 8 (desktop ver.)
I received word from Samsung that my Slate is fixed and coming back tomorrow. I'll reinstall the program and see how it works. I'll look for issues !
The Slate has less vertical resolution ( height ) than the Surface and some other new tablets. The Surface Pro actually will run an application just like a normal desktop or notebook ( 1920 x 1080 ). That makes it very nice.
My Slate sits on a dock that has the power connection, a wired internet connection, DVD drive, and an HDMI connection to a 24" monitor. That is nice because I can grab the tablet off the dock ( and its always fully charged ), walk around and do my work, then put it back on the dock and use a keyboard and mouse. The screen is duplicated on the large screen monitor so its very easy to work. This is a great solution for any business.
Tim
The Slate has less vertical resolution ( height ) than the Surface and some other new tablets. The Surface Pro actually will run an application just like a normal desktop or notebook ( 1920 x 1080 ). That makes it very nice.
My Slate sits on a dock that has the power connection, a wired internet connection, DVD drive, and an HDMI connection to a 24" monitor. That is nice because I can grab the tablet off the dock ( and its always fully charged ), walk around and do my work, then put it back on the dock and use a keyboard and mouse. The screen is duplicated on the large screen monitor so its very easy to work. This is a great solution for any business.
Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019