At 09:46 AM 9/16/2015, Bill Niehaus wrote:

Thanks for the Property ROSK show true info.

I am trying to get the keyboard to pop up in one of the columns in a DBGrid and to go
away when leaving the column.

I am using:
PROPERTY ROSK SHOW TRUE as a custom EEP on entry into DBGrid Column EEP followed by
PROPERTY ROSK SHOW FALSE as a custom EEP on exit from DBGrid Column EEP

I created these EEPS after selecting a column in the DBGrid, but I don't see a reference to the column name anywhere in my custom EEPs above. Is there a way to select a column
for the EEP?

The ROSK pops up anytime I enter the DBGrid and doesn't go away when I leave the column
I want it active in.

Thanks

BIll


Bill,

In order to bring up the ROSK on demand, when clicking on a particular column of a DB Grid, first you will need to get the name of the column in the DBGrid. Then, you can
handle the ROSK property accordingly.

Here's how ...

For example, if you only need to bring up the ROSK for "LastName" column in the DB
Grid, you will need to use the On Entry into DB Grid Column EEP as follows:

-- Simple Example
-- On Entry into DB Grid Column EEP
   SET VAR vCurrentColumn TEXT = NULL
   GETPROPERTY <DBGridComponentID> CURRENTCOLUMNNAME 'vCurrentColumn'
   IF vCurrentColumn = 'LastName' THEN
      PROPERTY ROSK SHOW TRUE
   ELSE
      PROPERTY ROSK SHOW FALSE
   ENDIF
   CLEAR VARIABLE vCurrentColumn
   RETURN

This technique will only bring up the ROSK when clicking on the LastName column
and will turn off the ROSK when clicking on any other column.

That's all there is to it!

Have fun.

Razzak



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of A. Razzak Memon
Sent: Sunday, September 13, 2015 5:08 PM
To: Bill Niehaus
Subject: [RBASE-L] - RE: [RBASE-L] 9.5 64 bit Virtual keyboard

At 05:19 PM 9/13/2015, Bill Niehaus wrote:

>Is there a way to have the virtual keyboard come up on a tablet when
>the tablet user selects a field on a form that requires data entry?

Bill,

You can certainly bring up the R:BASE On-Screen Keyboard (ROSK) on demand.

Here's the actual PROPERTY command that can be further customized as you see fit.

PROPERTY ROSK SHOW TRUE
RETURN

Keeping that in mind, you can bring up the ROSK based on Windows logged in user (CVAL('NetUser')), notebook/tablet name (CVAL('COMPUTER')) or even a given unique Mac Address of Table PC, such as (GETVAL('GetMACAddr','0')).

Knowing the User, Computer, or Mac Address, you can customize to bring up the ROSK when a FOCUS is set to any VAR/DB Edit control as "On-Entry EEP".

To further customize the ROSK, refer to R:Docs 9.5:

Start R:Docs 9.5

. Category: R:BASE On-Screen Keyboard (ROSK) . Control.: R:BASE On-Screen Keyboard . Property: Select from a list of all supported properties

Feel free to reach out to me if you need a sample code to illustrate the use of such cool feature in R:BASE eXtreme 9.5 or R:BASE X (Version 10) when developing and deploying R:BASE Mobile Applications.

Very Best R:egards,

Razzak.

www.rbase.com
www.rbaseX.com
www.facebook.com/rbase
--
32 years of continuous innovation!
17 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--


Reply via email to