Search found 28 matches

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

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 documen...
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: 725

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 exam...
by MarcusLancaster
Thu Jan 30, 2020 4:05 am
Forum: Questions & Answers
Topic: WAMs - Reading JSON data
Replies: 4
Views: 1463

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

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 pu...
by MarcusLancaster
Sat Nov 30, 2019 2:46 am
Forum: Questions & Answers
Topic: Method options *CONSTRUCTOR and *REQUIRED
Replies: 3
Views: 450

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 include ...
by MarcusLancaster
Thu Nov 28, 2019 4:15 am
Forum: Questions & Answers
Topic: Method options *CONSTRUCTOR and *REQUIRED
Replies: 3
Views: 450

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 co...
by MarcusLancaster
Fri Jul 26, 2019 12:09 am
Forum: Questions & Answers
Topic: Dynamic menu in VL WEB (SOLVED)
Replies: 2
Views: 366

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_WEB) ...
by MarcusLancaster
Thu Jul 25, 2019 7:51 pm
Forum: Questions & Answers
Topic: VL-web layout mobile (SOLVED)
Replies: 12
Views: 894

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 Class(#...
by MarcusLancaster
Thu Jul 25, 2019 6:55 pm
Forum: Questions & Answers
Topic: VL-web layout mobile (SOLVED)
Replies: 12
Views: 894

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(#LayoutMainColu...
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: 383

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 sugges...
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: 383

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

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 SQL...
by MarcusLancaster
Sat Jun 08, 2019 12:46 am
Forum: Questions & Answers
Topic: Calendar Prompt in VL Web showing Week Number
Replies: 0
Views: 441

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 obv...
by MarcusLancaster
Tue Mar 26, 2019 4:23 am
Forum: Questions & Answers
Topic: PasswordChar + Numeric Field + Material Design + Numeric Keyboard
Replies: 0
Views: 8554

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 set ...
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: 2112

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 UUID ...
by MarcusLancaster
Thu Jan 03, 2019 8:52 pm
Forum: Questions & Answers
Topic: Material Design Icon on Data Table List
Replies: 7
Views: 5552

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 mult...
by MarcusLancaster
Thu Nov 15, 2018 1:56 am
Forum: Questions & Answers
Topic: Offline(local) "database" storage in LANSA Mobile
Replies: 12
Views: 4779

Re: Offline(local) "database" storage in LANSA Mobile

Hi David Brilliant - thanks for this - yep I'm also using a specific "root" name for the local storage entries so I can pick them up at a later time... its good to know I'm thinking along the right lines. I just wanted to make sure that there wasn't a "xDeviceDirList" floating around somewhere that ...
by MarcusLancaster
Wed Nov 14, 2018 9:53 pm
Forum: Questions & Answers
Topic: Offline(local) "database" storage in LANSA Mobile
Replies: 12
Views: 4779

Re: Offline(local) "database" storage in LANSA Mobile

Is there a way to "list" files which have been written to a device using write widget? I can write, read back and delete if I know the file name... but I wonder if there is a way to list contents?
by MarcusLancaster
Fri Sep 21, 2018 8:14 pm
Forum: Questions & Answers
Topic: Input Capable List TabbingStyle property - VL Web
Replies: 3
Views: 2045

Re: Input Capable List TabbingStyle property - VL Web

Hi

Just wondered if this feature made it into VL Web? I'm at V14 SP2 and can't see anything obvious in PRIM_LIST?

Cheers!

Marcus.
by MarcusLancaster
Thu May 17, 2018 5:54 pm
Forum: Questions & Answers
Topic: XPRIM_HTTPRequest vs CSV Data
Replies: 2
Views: 1316

Re: XPRIM_HTTPRequest vs CSV Data

Hi.

Brilliant! Much appreciated... yep works a treat! I've now got my test CSV downloaded from Azure, into the server module, transformed and passed down to the client as a list.

Thanks for this.

Marcus.