(RPG/DDS) DataType : Integer

Please mark posts as being for RPG or RDMLX (LANSA) developers.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
MarkDuignan
Posts: 346
Joined: Wed Apr 18, 2012 10:33 am

(RPG/DDS) DataType : Integer

Post by MarkDuignan »

There is a new DataType : Integer you can use to control which iPhone / iOS keyboard appears (it's not been documented yet).

It appears to be more consistent between iPhones and iPads than DataType:Number is.

If you replace EXAM0052D in source file LRNG_DEMO/SOURCEEXAM with this code, then recompile display file EXAM0057D and RPG program EXAM0057 you can try it out:

Code: Select all

     A                                       DSPSIZ(27 132)
     A          R FORMVIEW
     A* Large/small screen variations
     A  01                              1 50'&&50%'
     A N01                              1 50'&&F'
     A* Title for field group
     A*** Name
     A                                  4  5'NAME (Unspecified)'
     A            NAME          50A  B  4 50
     A                                  4 50HTML('DataType:unspecified')
     A*** Zip
     A                                  5  5'ZIP (Integer)'
     A            ZIP           50A  B  5 50
     A                                  5 50HTML('DataType : Integer')
     A*** Amount
     A                                  6  5'AMOUNT (Number)'
     A            AMOUNT        50A  B  6 50
     A                                  6 50HTML('DataType : Number')
     A*** Phone
     A                                  7  5'HOMENUMBER (Phone)'
     A            HOMENUMBER    50A  B  7 50
     A                                  7 50HTML('DataType : Phone')
     A*** EMAILADR
     A                                  8  5'CONTACT (EMail)'
     A            CONTACT      100A  B  8 50
     A                                  8 50HTML('DataType : EMail')     
 
MarkDuignan
Posts: 346
Joined: Wed Apr 18, 2012 10:33 am

Re: (RPG/DDS) DataType : Integer

Post by MarkDuignan »

This example is now shipped with LongRange.
See http://longrange.lansa.com.au/viewtopic.php?f=13&t=111
Post Reply