[RPG]DeviceSizeCategory in Offline

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
MegumiSawada
Posts: 260
Joined: Tue Feb 19, 2013 5:18 pm

[RPG]DeviceSizeCategory in Offline

Post by MegumiSawada » Tue Jan 22, 2019 8:42 pm

Hi,

Is it possible to retreive DeviceSizeCategory in offline formview?

Best Regards,
Megumi Sawada

jasonzhou
Posts: 124
Joined: Wed Jan 11, 2017 3:26 pm

Re: [RPG]DeviceSizeCategory in Offline

Post by jasonzhou » Wed Jan 23, 2019 10:35 am

Please try out the following code:

Code: Select all

lrexec(            

    function()
    {
        this.q_getSystemValue("DEVICE-SCREEN-SIZE-CATEGORY");
    },
    
    function(result)
    {

    }
)

MegumiSawada
Posts: 260
Joined: Tue Feb 19, 2013 5:18 pm

Re: [RPG]DeviceSizeCategory in Offline

Post by MegumiSawada » Wed Jan 23, 2019 3:47 pm

Hi Jason,

Thank you!
I have confirmed that I can retreive the DeviceSizeCategory from offline form with provided code.

Best Regards,
Megumi Sawada

Post Reply