Search found 32 matches

by MarcusLancaster
Wed Sep 18, 2024 5:11 pm
Forum: Questions & Answers
Topic: Over printing when printing through windows
Replies: 1
Views: 7409

Re: Over printing when printing through windows

Hi. Assume that's using the PRINT command? DEF_LINE, DEF_HEAD etc? Or is this some other mechanism? Are those two different columns which are overlapping? Could you provide a code snip?
by MarcusLancaster
Fri Oct 29, 2021 1:59 am
Forum: Questions & Answers
Topic: How to move mouse like the IDE
Replies: 12
Views: 39205

Re: How to move mouse like the IDE

Thanks for the code snip Dino. Yep Drag and Drop is certainly an option I've considered, and have used that technique in the past on several occasions, but much like Art I was looking at the layout manager tool in the IDE and was wondering how mouse positioning in that scenario was accomplished, and ...
by MarcusLancaster
Fri Oct 29, 2021 1:42 am
Forum: Questions & Answers
Topic: Google Recaptcha to WAM
Replies: 1
Views: 7515

Re: Google Recaptcha to WAM

Hi.

Just saw your post - did you manage to solve this issue and get it working? I might be able to assist, have you got any code snippets you could share so I could see if my scenario/solution is similar?

Cheers.

Marcus.
by MarcusLancaster
Thu Oct 28, 2021 8:24 pm
Forum: Questions & Answers
Topic: How to move mouse like the IDE
Replies: 12
Views: 39205

Re: How to move mouse like the IDE

Hi Art

Its been a while, but I wonder if you found a solution to this... I have a very similar requirement (moving entries up and down a list).

At V15 #sys_mouse hor/verposition are still read only.

Cheers for now.

Marcus.
by MarcusLancaster
Thu Feb 13, 2020 7:07 pm
Forum: Questions & Answers
Topic: WAMs - Reading JSON data
Replies: 4
Views: 17829

Re: WAMs - Reading JSON data

Hi Jan

No problem - so on the server I run the API to return your JSON. The first step after that (after testing HTTP response codes etc) is to load that response into a JSON Document;

#JSONDocument.LoadFromString(#HttpRequest.Response.AsString)

Then I use a FOR loop to read through the JSON ...
by MarcusLancaster
Thu Jan 30, 2020 8:50 pm
Forum: Questions & Answers
Topic: Default DrawStyle of Non-Material Design vs Material Design Controls
Replies: 3
Views: 20054

Re: Default DrawStyle of Non-Material Design vs Material Design Controls

Hi guys.

Thanks for the code snip Joe and the follow up Danny.

I can see exactly what you're suggesting Joe, and it does indeed help :-)

The problem we have is that the requirement is to be able to set not just the base colour, but also set the mouseover colour, border/corner style etc. In your ...
by MarcusLancaster
Thu Jan 30, 2020 4:05 am
Forum: Questions & Answers
Topic: WAMs - Reading JSON data
Replies: 4
Views: 17829

Re: WAMs - Reading JSON data

Hi Jan

Have you been able to solve this? If not I've got some code that might help - I've contrived a web service to return your sample JSON and have a basic parser which picks out data from each part.

Cheers for now.

Marcus.
by MarcusLancaster
Thu Jan 30, 2020 2:56 am
Forum: Questions & Answers
Topic: Default DrawStyle of Non-Material Design vs Material Design Controls
Replies: 3
Views: 20054

Default DrawStyle of Non-Material Design vs Material Design Controls

Hi all.

We're working with the latest version of LANSA on a new project and have a couple of questions regarding the default appearance of Material Design vs non-Material Design controls. For the sake of simplicity in this post I'm going to use push buttons as an example.

With non-Material Design ...
by MarcusLancaster
Sat Nov 30, 2019 2:46 am
Forum: Questions & Answers
Topic: Method options *CONSTRUCTOR and *REQUIRED
Replies: 3
Views: 9208

Re: Method options *CONSTRUCTOR and *REQUIRED

Hey Brendan!

Thanks for your code sample - I think the problem I had was that my assumption was that the *REQUIRED parm was related to the method, but it seems to be more related to the define_map(s). In all my tests, to keep it simple, I didn't have any define_maps.

As you indicate, if you ...
by MarcusLancaster
Thu Nov 28, 2019 4:15 am
Forum: Questions & Answers
Topic: Method options *CONSTRUCTOR and *REQUIRED
Replies: 3
Views: 9208

Method options *CONSTRUCTOR and *REQUIRED

Hi all.

Has anybody got an example which demonstrates why you would use the *REQUIRED option on a method? I've got a *CONSTRUCTOR method running... but can't see why I would need to include *REQUIRED... the documentation simply states;

"In conjunction with *Constructor. *REQUIRED specifies that a ...
by MarcusLancaster
Fri Jul 26, 2019 12:09 am
Forum: Questions & Answers
Topic: Dynamic menu in VL WEB (SOLVED)
Replies: 2
Views: 6758

Re: Dynamic menu in VL WEB

Hi.

Try this version of your code... the trick is to use a method to instantiate each dynamic menu item... in your original version only one menu item was inserted into the menu... the caption shown was the last one set.

Hope that helps :-)

Cheers for now.

Marcus.

Begin_Com Role(*EXTENDS #PRIM ...
by MarcusLancaster
Thu Jul 25, 2019 7:51 pm
Forum: Questions & Answers
Topic: VL-web layout mobile (SOLVED)
Replies: 12
Views: 23514

Re: VL-web layout mobile

Ah ha - you want groupbox top and groupbox bottom to scroll up/down too. Got it. Sorry misunderstood the requirement :-(

Try this... no calculations... just using layout managers...

Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME<MaterialDesignBlue>) Layoutmanager(#LayoutMain)

Define_Com ...
by MarcusLancaster
Thu Jul 25, 2019 6:55 pm
Forum: Questions & Answers
Topic: VL-web layout mobile (SOLVED)
Replies: 12
Views: 23514

Re: VL-web layout mobile

Hi Klaus

Is this version of your program closer to what you need to see?

Cheers for now.

Marcus.

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 ...
by MarcusLancaster
Thu Jul 25, 2019 6:40 pm
Forum: Questions & Answers
Topic: VLF-WIN does not launch from IDE tool bar (SOLVED)
Replies: 3
Views: 9380

Re: VLF-WIN does not launch from IDE tool bar

Thanks for the quick feedback guys.

@lawingo - yep I'm often messing around with different execution modes so that was a distinct possibility... but in this case it wasn't set to run in DirectX mode...

@MarkDale - ah ha! - so I ran a partition init of the Framework and that fixed it... as you ...
by MarcusLancaster
Thu Jul 25, 2019 2:26 am
Forum: Questions & Answers
Topic: VLF-WIN does not launch from IDE tool bar (SOLVED)
Replies: 3
Views: 9380

VLF-WIN does not launch from IDE tool bar (SOLVED)

Hi all.

Hopefully this is easily solved... I can run the VL Framework (for windows) in user, designer, admin and developer modes by running the appropriate UF_nnnnn form from the repository tab... but when I choose the "VL Framework -> VLF-WIN Demonstration / Work As a Developer" from the toolbar I ...
by MarcusLancaster
Thu Jun 27, 2019 6:25 pm
Forum: Questions & Answers
Topic: Mobile Dataset Question
Replies: 5
Views: 8639

Re: Mobile Dataset Question

Hi Chad

Yep - we've used LANSA Mobile + VL Web to create an offline survey app where a user can download surveys + associated questions to a local SQLite database on their mobile device. VL Web was always able to run offline... but with some newer features we're now able to define a local set of ...
by MarcusLancaster
Sat Jun 08, 2019 12:46 am
Forum: Questions & Answers
Topic: Calendar Prompt in VL Web showing Week Number
Replies: 0
Views: 31778

Calendar Prompt in VL Web showing Week Number

Hi all.

Quick question... do any of the shipped VL Web calendar prompters (Material Design calendar, or non mat design calendar or standard prompter for a Date type field, etc) allow the current week of the year to be shown alongside the month / day matrix? I've had a good look and can't see any ...
by MarcusLancaster
Tue Mar 26, 2019 4:23 am
Forum: Questions & Answers
Topic: PasswordChar + Numeric Field + Material Design + Numeric Keyboard
Replies: 0
Views: 40093

PasswordChar + Numeric Field + Material Design + Numeric Keyboard

Hi all.

Simple scenario for all you Material Design / Web experts... I've got a numeric repository field on a web page, e.g;

Define_Com Class(#MyField.EditField) Name(#MyField) Parent(#COM_OWNER) Appearance(TextFieldArea) Clearbutton(True) Captionposition(None) Helperposition(None)

The field is ...
by MarcusLancaster
Tue Jan 22, 2019 2:57 am
Forum: Questions & Answers
Topic: VL-Web V14SP1: the way to acquire the device ID in the VL-WEB program
Replies: 2
Views: 8010

Re: VL-Web V14SP1: the way to acquire the device ID in the VL-WEB program

Hi all.

I just wondered if anything has changed since this original post (now we are at V14 SP2)?

Specifically, I'm using LANSA Mobile to wrap up a VL Web app - is there either a property of the LANSA application or a widget + javascript feature which would allow me access to the mobile device ...
by MarcusLancaster
Thu Jan 03, 2019 8:52 pm
Forum: Questions & Answers
Topic: Material Design Icon on Data Table List
Replies: 7
Views: 19805

Re: Material Design Icon on Data Table List

Hi all.

As a another alternative to this - I created a PRIM_OBJT component to act as a generic conduit for any extra, custom events which a cell design column component in a list might generate. I had a situation where the row design was visually complex and where the cell design needed to fire ...