1. Michael Hartnett
  2. PowerBuilder
  3. Wednesday, 20 September 2017 14:27 PM UTC

Hi All,

Hoping someone may have done this before.

Appeon Mobile provides its own Text Control for use on Windows and UO's which developers can use.  This provides the developer with the ability to display different versions of the keyboard when editing, e.g. Full keyboard or Numeric only keyboard. 

There is mention of similar functionality using the datawindow (https://www.appeon.com/support/documents/appeon_online_help/2016/new_features_guide/ch02s07.html), but I am unable to find any reference in the appeon_workarounds.pbl.  What version / release did this become available in?  Any code examples?

With an install of Appeon 2016, where can I find the latest appeon_workarounds.pbl?

I am using Powerbuilder 12.5 for this one.

Thanks

Michael

Michael Hartnett Accepted Answer Pending Moderation
  1. Thursday, 21 September 2017 10:18 AM UTC
  2. PowerBuilder
  3. # 1

Thanks Chris & Zhaokai,

Have that working now. The users will be happy.

On another note, I see that the of_sethinttext() function has been removed from the appeonextfuncs object.  It is now a separate global function.  Something for folks to watch out for.  I wonder are there many other updates like this?

Note to self...keep on top of PBL updates.

Regards,

Michael

Comment
There are no comments made yet.
Appeon Support Team Accepted Answer Pending Moderation
  1. Thursday, 21 September 2017 02:31 AM UTC
  2. PowerBuilder
  3. # 2

Hi,

The Keyboardtype property added by Appeon, to set the type
of the keyboard that displays when the DataWindow column gets focus: 0 -
alphabetical keyboard, 1 - numerical keyboard, 2 - URL keyboard. 2 is
unsupported on Android devices, thus 0 will be used instead.

You can manipulate this property though dot notation, Describe, or Modify ,
for example, dw_1.modify("#1.keyboardtype='2'").

You can use the script like below directly.
 dw_1.modify("id.keyboardtype=1")

Regards,
ZhaoKai

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 20 September 2017 18:38 PM UTC
  2. PowerBuilder
  3. # 3

Hi Michael;

  Please ignore response #3 ... After re-reading this in the PB 2017 Universal Help file - it looks like this is a property of a Column in the DW object. Thus, you would use a "Modify()" command to change this at run time. The documentation seems to be misleading on this until you dig deeper. Might still be worth a support ticket though just to get the documentation cleaned-up ( less confusing ).

Regards ... Chris

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 20 September 2017 18:17 PM UTC
  2. PowerBuilder
  3. # 4

Hi Michael;

1) The latest Appeon _Workarounds.pbl for PB 12.5.x should be located in the folder where where you installed Appeon for PB 2016. Normally, that would be ... C:\Program Files (x86)\Appeon\Developer2016\appeon_workarounds125e

2) I believe that some of the new AWS features were added when Appeon released build 1119 and higher of Appeon for PB 2016 in order to be compatible with PB 2017 Universal edition.

3) I do not see the Keyboardtype property on the appeondatawindow object as eluded to in your documentation link either. I am checking the latest Appeon 2016 build 1128 & PB 2017 Universal Workarounds libraries.  Can you open a support ticket for this one?

 

Regards .. Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.