Search found 143 matches

by dannyoorburg
Tue Jul 23, 2019 9:16 am
Forum: Suggestions for Product Enhancements
Topic: Debugger Irritants
Replies: 4
Views: 45

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: 69

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: 111

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: 422

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: 11180

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: 7373

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: 2083

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: 4603

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: 2400

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: 1648

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: 4515

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: 4770

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: 3141

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 ...
by dannyoorburg
Fri Nov 30, 2018 12:56 pm
Forum: Questions & Answers
Topic: Dynamic use of PRIM_VIEW
Replies: 2
Views: 3617

Re: Dynamic use of PRIM_VIEW

Hi Dominique, It all depends... :) Personally I would prefer to keep the Views static, but that's really only so they show up at Design Time and the code stays as readable as possible. If they don't do any work during CreateInstance, then all that happens is that all the View Instances will get cons...
by dannyoorburg
Fri Nov 30, 2018 12:07 pm
Forum: Questions & Answers
Topic: Async loading
Replies: 2
Views: 4795

Re: Async loading

Hi Dominique, I downloaded your sample but I wasn't quite sure what it was trying to prove, so I'll just tell you what I know, it might help. As a simplistic rule of thumb, the browser only does ONE thing at a time, so while it is running code it is NOT updating the screen. When you receive data fro...
by dannyoorburg
Wed Nov 14, 2018 9:53 am
Forum: Questions & Answers
Topic: TimeStamp Math
Replies: 5
Views: 1982

Re: TimeStamp Math

Hi, just double checking, you have re-compiled all the objects that use that field (and therefor those attributes), including the file? I've struggled with 9/10 hour unexplained difference in the past (I'm in Australia :)), but never multiple days. And changing those attributes should do something ....
by dannyoorburg
Tue Nov 06, 2018 10:23 am
Forum: Questions & Answers
Topic: Refresh a changed #PRIM_TBLO.Item
Replies: 3
Views: 1359

Re: Refresh a changed #PRIM_TBLO.Item

No problem. Feel free to ask more questions as they pop up. Just on the side: I'm always a bit wary of RDMLX that dynamically creates UI. You end up missing out on all the designer features because you're now doing it in code, and unless you're writing some sort of framework (which isn't easy), ther...
by dannyoorburg
Mon Nov 05, 2018 9:25 am
Forum: Questions & Answers
Topic: Refresh a changed #PRIM_TBLO.Item
Replies: 3
Views: 1359

Re: Refresh a changed #PRIM_TBLO.Item

Hi, I don't think your code does what you think it does :) I never see the ComponentTag of the layout item being assigned any value... I suggest you just compare references, instead of ComponentTag values, so instead of If Cond(#LayoutItemBotton.ComponentTag *EQ #Button.ComponentTag) it is be much e...
by dannyoorburg
Thu Oct 18, 2018 1:32 pm
Forum: Questions & Answers
Topic: VLF-ONE Script Error on Debug with Breakpoint
Replies: 3
Views: 1749

Re: VLF-ONE Script Error on Debug with Breakpoint

Hi Joe, I can only reply to the debugging crash, not your reason for debugging in the first place :) The crash is a bug in the LANSA runtime's debugging module. It is trying to capture the current callstack and the state of all variables in the active scope so it can send it to the Editor to display...