Search found 169 matches

by dannyoorburg
Tue Sep 03, 2019 1:13 pm
Forum: Questions & Answers
Topic: KeyPress event is fired 2 times (SUPPORT ISSUE?)
Replies: 1
Views: 167

Re: KeyPress event is fired 2 times

Hi Sotiris,

it sounds like a bug (even though I couldn't reproduce it with a simple test).

If you can demonstrate the event fires twice I would just sent it to support.

Cheers,
Danny
by dannyoorburg
Fri Aug 23, 2019 6:29 pm
Forum: Questions & Answers
Topic: Widget Woes (RESOLVED)
Replies: 2
Views: 189

Re: Widget Woes

You just needed a second pair of eyes 😉

this.m_chart instead of this.chart

Cheers,
Danny
by dannyoorburg
Fri Aug 23, 2019 9:23 am
Forum: Questions & Answers
Topic: VL WEb Browser Console Messsage (RESOLVED)
Replies: 5
Views: 324

Re: VL WEb Browser Console Messsage (RESOLVED)

Hi Jim, So what it's actually saying is that the processing of the request-completed logic took too long for its liking. It's reporting lansa.js because as far as the browser is concerned that's where the event handler is, that it results in an RDMLX event and therefor RDMLX running is beside the po...
by dannyoorburg
Fri Aug 23, 2019 5:39 am
Forum: Questions & Answers
Topic: VL WEb Browser Console Messsage (RESOLVED)
Replies: 5
Views: 324

Re: VL WEb Browser Console Messsage

Hi, What you can control from RDMLX though is whether or not your server module call is asynchronous. A synchronous call blocks the JavaScript execution/UI thread and should generally be avoided. If this particular case is already asynchronous it would be interesting to see what causes so much code ...
by dannyoorburg
Thu Aug 08, 2019 8:53 am
Forum: Questions & Answers
Topic: Highlighting material design label from browser
Replies: 1
Views: 228

Re: Highlighting material design label from browser

Hi,

no, there's no current way to allow that for PRIM_MD.Label.

We're addressing it though, one of the upcoming EPC's will more than likely fix it, it seems a very reasonable thing to want to do.

Cheers,
Danny
by dannyoorburg
Thu Jul 25, 2019 12:11 pm
Forum: Suggestions for Product Enhancements
Topic: Debugger Irritants
Replies: 7
Views: 522

Re: Debugger Irritants

Hi, The debugger variable window lists (in this order) - the instance you're in. - the routine variables of your current scope - the fields this instance uses (fields are GLOBALLY scoped by definition) Routine variables don't exists if they're not in scope, so I'm not sure what you mean by wanting t...
by dannyoorburg
Tue Jul 23, 2019 9:16 am
Forum: Suggestions for Product Enhancements
Topic: Debugger Irritants
Replies: 7
Views: 522

Re: Debugger Irritants

Hi Art,

I think there was a bug that got resolved in EPC142040 where that option was missing for Web Pages/Views/Dialogs and Server Modules.
Maybe that's what you're referring to.

That EPC also introduced the possibility to see the current value of variables in the hint.

Cheers,
Danny
by dannyoorburg
Thu Jul 18, 2019 9:38 am
Forum: Questions & Answers
Topic: VLF-WIN Error in deployed version
Replies: 4
Views: 268

Re: VLF-WIN Error in deployed version

Hi Art, I'm not sure how you got into this situation, but the thing to check is if x_win95/x_lansa/execute/ lpvo.bnd actually contains this entry List.Filter=Filter (it's probably the last entry in that file) If it does, the next thing to check is whether or not x_win95/x_lansa/execute/ lpvo.BNB has...
by dannyoorburg
Fri Jul 12, 2019 6:26 am
Forum: Questions & Answers
Topic: VL-WEB Layout
Replies: 2
Views: 266

Re: VL-WEB Layout

Hi,

No, not if the middle row is proportional, only if the row itself sizes to Content....

Or maybe you've accidentally forced the enclosing component to size to content.

Cheers,
Danny
by dannyoorburg
Tue May 28, 2019 4:53 pm
Forum: Questions & Answers
Topic: Epoch timestamp (ISO 8601) from datetime in Lansa (solved)
Replies: 4
Views: 613

Re: Epoch timestamp (ISO 8601) from datetime in Lansa

Hi,

I think you're after:

Code: Select all

#STD_DTIMX.AsDisplayString( TZ )
as per

https://docs.lansa.com/14/en/lansa016/p ... string.htm

but I might very well be wrong....

Thought I post it anyway.

Regards,
Danny
by dannyoorburg
Thu Apr 18, 2019 3:58 pm
Forum: Questions & Answers
Topic: GET_MESSAGE Scope
Replies: 2
Views: 11355

Re: GET_MESSAGE Scope

Hi Joe,

Have a play with the available Options on the MthRoutine command.

Cheers,
Danny
by dannyoorburg
Tue Mar 26, 2019 12:37 pm
Forum: Questions & Answers
Topic: LANSA Mobile for Windows 7
Replies: 7
Views: 7650

Re: LANSA Mobile for Windows 7

Hi Art,

PRIM_WEB.FilePicker will let you take a picture and give you the BLOB to send to the server, or is there more to it?

https://docs.lansa.com/14/en/lansa016/p ... picker.htm

Or is there more to it?

Cheers,
Danny
by dannyoorburg
Fri Mar 22, 2019 6:36 am
Forum: Questions & Answers
Topic: understanding events
Replies: 3
Views: 2258

Re: understanding events

Hi, I think this is an example of quite a common mistake.... Your comment says B has scope *application IN A. There's only ever truly one instance of B if the define_com has the same name and scope *application EVERYWHERE in your app. So my guess is that that isn't true and you end up setting your p...
by dannyoorburg
Fri Mar 08, 2019 2:38 pm
Forum: Questions & Answers
Topic: Decimal / Percent Conversion and Display
Replies: 8
Views: 4890

Re: Decimal / Percent Conversion and Display

Hi Joe, I just gave it a try too. It's a bug in Visual LANSA. In plain JavaScript the result of Math.floor(1.14 * 100) = 113 I know it's weird but that's what it does. It's got to do with the imprecise nature of the JavaScript floating point number. (You can easily verify this on w3schools.com) To g...
by dannyoorburg
Fri Feb 08, 2019 8:16 am
Forum: Questions & Answers
Topic: Double click on list can't show loading image
Replies: 8
Views: 2721

Re: Double click on list can't show loading image

Hi Art, your sample code shows some synchronous processing, that won't work. The browser doesn't update the UI while a script is running. If it was a real server call though you can show the loading image while the ASYNC call is happening. I think all you have to do is run one of the simple CRUD tem...
by dannyoorburg
Fri Jan 25, 2019 9:34 am
Forum: Questions & Answers
Topic: Bearer Token in CLOB
Replies: 2
Views: 1804

Re: Bearer Token in CLOB

Hi Joe, a LANSA String field can hold up to 64k, what makes you think your token might exceed this? I just googled a but and it looks like a larger size would hit other limitations long before it hits LANSA's field length limit. ( https://stackoverflow.com/questions/26033983/what-is-the-maximum-size...
by dannyoorburg
Fri Dec 21, 2018 4:30 pm
Forum: Questions & Answers
Topic: PRIM_MD.Dropdown Changed
Replies: 3
Views: 4689

Re: PRIM_MD.Dropdown Changed

Hi Joe,

I thought it was fixed.

https://www.lansa.com/support/notes/epc/epc142030.htm

mentions

0160963 PRIM_MD.Dropdown changed event fired even when set programmatically
This defect has now been rectified

is that yours?

Cheers,
Danny
by dannyoorburg
Wed Dec 05, 2018 5:02 pm
Forum: Questions & Answers
Topic: Material Design Icon on Data Table List
Replies: 7
Views: 5137

Re: Material Design Icon on Data Table List

Hi, just a quick update on this one. EPC140230 introduces two new column classes on PRIM_LIST, PRIM_LIST.Icon / #PRIM_LIST.Label, which are basically the list-version of PRIM_MD.Icon/PRIM_MD.Label. So now you don't have to introduce a reusable part for the Material Design icon anymore... copy the co...
by dannyoorburg
Wed Dec 05, 2018 11:18 am
Forum: Questions & Answers
Topic: Server Module invokes an RP that has Table I/O
Replies: 2
Views: 3262

Re: Server Module invokes an RP that has Table I/O

Hi, I'm slightly confused by your question. The Target Platform of a Reusable Part can be: - All Platforms - Web Browser - Windows/IBMi/Linux for a Server Module to use it it needs to either be ALL or Windows/IBMi/Linux. And for Windows/IBMi/Linux you're allowed to use IO commands, they're just not ...