[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: 259
Joined: Tue Feb 19, 2013 1:18 am

[RPG]DeviceSizeCategory in Offline

Post by MegumiSawada » Tue Jan 22, 2019 4:42 am

Hi,

Is it possible to retreive DeviceSizeCategory in offline formview?

Best Regards,
Megumi Sawada

jasonzhou
Posts: 104
Joined: Tue Jan 10, 2017 11:26 pm

Re: [RPG]DeviceSizeCategory in Offline

Post by jasonzhou » Tue Jan 22, 2019 6:35 pm

Please try out the following code:

Code: Select all

lrexec(            

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

    }
)

MegumiSawada
Posts: 259
Joined: Tue Feb 19, 2013 1:18 am

Re: [RPG]DeviceSizeCategory in Offline

Post by MegumiSawada » Tue Jan 22, 2019 11: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