Search found 174 matches

by dannyoorburg
Thu Jan 23, 2020 5:58 am
Forum: Questions & Answers
Topic: Theme color on #PRIM_MD.Edit
Replies: 4
Views: 97

Re: Theme color on #PRIM_MD.Edit

Isn't it just using another theme?

Or creating your own with the exact primary colour you're after?
by dannyoorburg
Sat Jan 18, 2020 6:48 am
Forum: Questions & Answers
Topic: Theme color on #PRIM_MD.Edit
Replies: 4
Views: 97

Re: Theme color on #PRIM_MD.Edit

Hi,

I think you might need this property

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

Cheers,
Danny
by dannyoorburg
Tue Jan 07, 2020 4:40 pm
Forum: Questions & Answers
Topic: How to get data inside a Lansa grid using user32 SendMessage
Replies: 7
Views: 194

Re: How to get data inside a Lansa grid using user32 SendMessage

Hi, it's not totally impossible. I've seen a robot testing tool inspect VL Windows applications in the past using the Windows Messages. And I can see some support for it in EditBox, ListView and Tree. But those are controls that exist as Windows controls, there's no such thing as a standard Windows ...
by dannyoorburg
Mon Jan 06, 2020 3:46 pm
Forum: Questions & Answers
Topic: How to get data inside a Lansa grid using user32 SendMessage
Replies: 7
Views: 194

Re: How to get data inside a Lansa grid using user32 SendMessage

Hi,

this must be classic Visual LANSA for Windows, NOT rendering as DirectX.

But even then I think this is not possible. LANSA controls are not standard windows controls and as such I don't think they will respond to a tool like inspect.exe.

Cheers,
Danny
by dannyoorburg
Fri Dec 20, 2019 6:27 am
Forum: Questions & Answers
Topic: VL-IDE slow
Replies: 28
Views: 1462

Re: VL-IDE slow

Hi,

As mentioned earlier in this thread, there is a patch available.

I would talk to support.

Cheers,
Danny
by dannyoorburg
Tue Dec 03, 2019 1:27 pm
Forum: Questions & Answers
Topic: Popup menu in a slider
Replies: 3
Views: 196

Re: Popup menu in a slider

Hi, This is just a guess because there's not that much to go on, I'm assuming you're using VLF ONE? If so, the problem might be the lack of context for the popup, have a look at the following sample page. Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME<MaterialDesignBlue>) Define_Com Class(#PRIM...
by dannyoorburg
Tue Dec 03, 2019 12:55 pm
Forum: Suggestions for Product Enhancements
Topic: Override Enhancement on EditWord EditCode
Replies: 1
Views: 640

Re: Override Enhancement on EditWord EditCode

Hi LANSA Guru, just found this unanswered question that I happen to know an answer to... You should be able to reset the edit code and then specify the edit word, as in : Override Field(#std_numl) Decimals(2) Edit_Code('') Edit_Word('''$ , , , , , , 0 -''') Define Field(#xnuml) Decimals(2) Reffld(#s...
by dannyoorburg
Tue Dec 03, 2019 6:39 am
Forum: Questions & Answers
Topic: Not really a question - PWAs
Replies: 2
Views: 211

Re: Not really a question - PWAs

Hi, I normally don't comment on work in progress as it's not of any use to anyone unless it's GA....but I just want to make one exception and mention that I happen to know that PWA's are definitely on the roadmap. Just remember that the definition of PWA is quite a broad one. This is what Google say...
by dannyoorburg
Fri Nov 29, 2019 5:24 pm
Forum: Questions & Answers
Topic: Reading json in VL Web
Replies: 4
Views: 177

Re: Reading json in VL Web

There's many ways to navigate the JSON, depends whether you want a particular value, or iterate arrays... I just put a simple sample together, hope this helps. Danny Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME<MaterialDesignBlue>) Define_Com Class(#PRIM_MD.RaisedButton) Name(#Button) Caption...
by dannyoorburg
Fri Nov 29, 2019 4:03 pm
Forum: Questions & Answers
Topic: Reading json in VL Web
Replies: 4
Views: 177

Re: Reading json in VL Web

Hi,

VL WEB client side has the PRIM_WEB.JSON object/classes.

https://docs.lansa.com/14/en/lansa016/prim_web.json.htm

Hope that helps,
Danny
by dannyoorburg
Mon Nov 25, 2019 10:31 am
Forum: Questions & Answers
Topic: Calculate the lenght of field contens
Replies: 6
Views: 236

Re: Calculate the lenght of field contens

Hi Klaus, Try the sample code below :) Maybe this is what you want. Cheers, Danny Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME<MaterialDesignBlue>) LayoutManager(#LayoutMain) Define_Com Class(#PRIM_TBLO) Name(#LayoutMain) Define_Com Class(#PRIM_TBLO.Column) Name(#LayoutMainColumn1) DisplayPos...
by dannyoorburg
Sat Nov 23, 2019 9:41 am
Forum: Questions & Answers
Topic: Calculate the lenght of field contens
Replies: 6
Views: 236

Re: Calculate the lenght of field contens

I usually make breadcrumbs like that with labels flowing left to right with variable width....

Cheers,
Danny
by dannyoorburg
Fri Nov 22, 2019 9:50 am
Forum: Questions & Answers
Topic: VL-IDE slow
Replies: 28
Views: 1462

Re: VL-IDE slow

Hi Art,

Looks Auto Complete related.... just to confirm, does it go away if you turn Auto Complete off?

Danny
by dannyoorburg
Wed Nov 20, 2019 1:16 pm
Forum: Questions & Answers
Topic: Hide the hint!!!
Replies: 2
Views: 148

Re: Hide the hint!!!

It's been there as long as I can remember :lol:
by dannyoorburg
Tue Nov 12, 2019 1:13 pm
Forum: Questions & Answers
Topic: VL-IDE slow
Replies: 28
Views: 1462

Re: VL-IDE slow

Hi Art, I was surprised to hear you say you had a patch for 142030, I have no idea how you got away with applying a patch for 142060 onto 142030... that sounds like a bit of a miracle :) Hi LANSAfolks, if you're concerned about crashes you could at least get up to EPC142060 and/or talk to support......
by dannyoorburg
Wed Nov 06, 2019 9:02 pm
Forum: Questions & Answers
Topic: VL-IDE slow
Replies: 28
Views: 1462

Re: VL-IDE slow

Did you talk to support? I'm pretty sure there's a patch available addressing the time it takes to close a component...

Cheers,
Danny
by dannyoorburg
Fri Oct 25, 2019 7:50 am
Forum: Questions & Answers
Topic: VL-IDE slow
Replies: 28
Views: 1462

Re: VL-IDE slow

Hitting the Up button in the details tab is taking over 1 minute while IDE is frozen That can't possibly be acceptable in any way. It'll have something to do with whatever is open in the IDE at the time. A lot of code runs when the focus moves to a new component. Designer, detailer, outliner and al...
by dannyoorburg
Thu Oct 17, 2019 10:42 am
Forum: Questions & Answers
Topic: Can I add an arbitrary parameter into LANSA Web plugin page? (RESOLVED)
Replies: 5
Views: 572

Re: Can I add an arbitrary parameter into LANSA Web plugin page?

Hi Taku,

When you say:

"I would like to add a parameter to below HTML source."

What does that even mean?

Can you try to explain what you're trying to achieve?

Cheers,
Danny
by dannyoorburg
Thu Oct 03, 2019 5:00 pm
Forum: Questions & Answers
Topic: VL-Web: How to hide the buttons to increase or decrease the numeric value (RESOLVED).
Replies: 2
Views: 183

Re: VL-Web: How to hide the buttons to increase or decrease the numeric value.

Hi Rieko,

Try changing the class of the column from PRIM_LIST.Number into PRIM_LIST.String... it'll still be numeric if the source is numeric but now the visualisation is a normal edit box instead of a spin edit.

Danny
by dannyoorburg
Tue Oct 01, 2019 10:25 am
Forum: Questions & Answers
Topic: Arrays
Replies: 4
Views: 311

Re: Arrays

Beware of the last one though.... You have to understand that prim_lcol stores object references and it has no problem with storing multiple references to the same object.

Which makes for some interesting side-effects if that's not what you meant.

Cheers,
Danny