Search found 417 matches

by Stewart Marshall
Wed Nov 29, 2017 3:32 pm
Forum: Questions & Answers
Topic: What Happens when you "Deliver To"
Replies: 5
Views: 2292

Re: What Happens when you "Deliver To"

If your IBM i is acting as a master system, Check In and Check Out should be used. If you're using Version Control, your version control system is effectively your master. The result is that the IBM i is really just another slave system, which means the use of Deliver To is required. Under the cover...
by Stewart Marshall
Wed Nov 29, 2017 3:24 pm
Forum: Questions & Answers
Topic: Zooming question VL
Replies: 1
Views: 1383

Re: Zooming question VL

Hi Rene

Have a look at this thread

viewtopic.php?f=3&t=1528&p=3361&hilit=z ... 713e#p3361

This will be pretty close to what you're after

Regards
by Stewart Marshall
Thu Nov 23, 2017 5:51 pm
Forum: Suggestions for Product Enhancements
Topic: Documentation
Replies: 3
Views: 9033

Re: Documentation

V14 introduced online help, so much has changed since v13. With regards to intrinsic functions, every single help topic was rewritten and is now available via F1 in the source editor. If you're looking more generally, the recommendation is to use the search on the docs.lansa.com home page rather tha...
by Stewart Marshall
Thu Nov 23, 2017 5:39 pm
Forum: Questions & Answers
Topic: Spacelists
Replies: 2
Views: 1257

Re: Spacelists

It really depends on what you're think of using them for. If you're manipulating large volumes of data in something akin to a typical batch process, space lists are very handy because they're quick. They are however nothing more than set of dumb variables. If you're building a complex UI made up of ...
by Stewart Marshall
Tue Nov 21, 2017 8:50 am
Forum: Questions & Answers
Topic: Email validation/masking in VL Web
Replies: 3
Views: 1812

Re: Email validation/masking in VL Web

As I understand it, isEmail validates email addresses using criteria that approximate RFC2822.

It will cover the vast majority of email addresses.

Regards
by Stewart Marshall
Mon Nov 20, 2017 9:03 am
Forum: Questions & Answers
Topic: Email validation/masking in VL Web
Replies: 3
Views: 1812

Re: Email validation/masking in VL Web

v14.2 will have an isEmail intrinsic function.

Until then, the simplest solution is to create a widget with a simple JavaScript test using a regular expression.

Regards
by Stewart Marshall
Mon Nov 13, 2017 5:30 pm
Forum: Questions & Answers
Topic: SYS_WEB.Signature not showing annotation (on Android)
Replies: 3
Views: 2291

Re: SYS_WEB.Signature not showing annotation (on Android)

Hi David LANSA asks that all support requests are submitted by the customer through the regional help desks. This ensures that issues are tracked and managed appropriately and that there is a clear line of communication between LPC and the originator of the support request should additional informat...
by Stewart Marshall
Thu Nov 09, 2017 5:17 pm
Forum: Questions & Answers
Topic: Delete record from file
Replies: 1
Views: 1031

Re: Delete record from file

From what I can see, there is no specific code to actually perform the delete.

You'd need to add a Delete method to the data model which would execute a server routine to delete the record.
by Stewart Marshall
Tue Nov 07, 2017 8:34 pm
Forum: Questions & Answers
Topic: VLWeb - Prevent Control "Pop In" after Animation
Replies: 2
Views: 1194

Re: VLWeb - Prevent Control "Pop In" after Animation

Hi Joe Animations execute in their own world, so the VL runtime can only set its state after the animation completes. So, if you have any layout managers, they will be evaluated once the animation has executed. This means that to get the effect you want, you'll need to have all the menu items in the...
by Stewart Marshall
Fri Nov 03, 2017 9:21 am
Forum: Questions & Answers
Topic: Animate a button?
Replies: 4
Views: 1302

Re: Animate a button?

Hi Art If you're going to use animations, and you should keep them extremely simple, it's a good idea to centralize them. Rather than coding them where they're used, you can create a set of methods that contain all the necessary definitions. You can then wrap all of these up and make them available ...
by Stewart Marshall
Fri Sep 29, 2017 9:47 am
Forum: Product Announcements
Topic: Technical Newsletter
Replies: 0
Views: 7488

Technical Newsletter

The September LANSA Technical newsletter focusing on the latest VLF version

Thanks to all those who contributed

Regards
by Stewart Marshall
Thu Sep 28, 2017 2:05 pm
Forum: Questions & Answers
Topic: Lansa Mobile saving images
Replies: 14
Views: 2975

Re: Lansa Mobile saving images

Hi Jim

Yes, but in a slightly different form.

Code: Select all

Define_Com Class(#Prim_web.BlobReader) Name(#BlobReader)

Mthroutine Name(GetBlobData)

   #BlobReader.Read( #MyBlob )

Endroutine

Evtroutine Handling(#BlobReader.Completed) Data(#Data)

   * Etc

Endroutine
Regards
by Stewart Marshall
Thu Sep 28, 2017 8:25 am
Forum: Questions & Answers
Topic: Lansa Mobile saving images
Replies: 14
Views: 2975

Re: Lansa Mobile saving images

FilePicker will return the image as a blob

Have a look at xDemoWebImageCapture
by Stewart Marshall
Thu Sep 28, 2017 7:30 am
Forum: Questions & Answers
Topic: Lansa Mobile saving images
Replies: 14
Views: 2975

Re: Lansa Mobile saving images

Sorry about that Art Happily, we recognised that this was unnecessarily complicated, so we've added features to allow you to create BLOBs and CLOBs from Base64 data strings. These can be passed on a Field_Map #myBlob := #sys_web.CreateBlob( "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA...etc" "im...
by Stewart Marshall
Thu Sep 21, 2017 8:36 am
Forum: Questions & Answers
Topic: Windows Printer Dialog
Replies: 4
Views: 1729

Re: Windows Printer Dialog

Hi Joerg

Have a look at the Windows Printing Extensions

Regards
by Stewart Marshall
Thu Sep 21, 2017 8:34 am
Forum: Questions & Answers
Topic: Crash when creating activeX component
Replies: 1
Views: 908

Re: Crash when creating activeX component

The IDE should never crash that badly, regardless of what you're doing.

Please provide details of the ActiveX and report this to your regional helpdesk

Regards
by Stewart Marshall
Wed Sep 20, 2017 3:32 pm
Forum: Questions & Answers
Topic: The SortOnClick Property in PRIM_LIST.String
Replies: 3
Views: 1456

Re: The SortOnClick Property in PRIM_LIST.String

In Windows applications, it is typically assumed that list columns will be sortable by clicking on the column header. With this being the case, list columns in LANSA have only ever shown the sort symbol when the column is the primary sort i.e. SortPosition(1). This is consistent with how lists in Wi...
by Stewart Marshall
Wed Sep 20, 2017 1:24 pm
Forum: Questions & Answers
Topic: Image Zoom
Replies: 1
Views: 1417

Re: Image Zoom

Hi Chad This is really easy to achieve in VL. Capture.PNG In this example, the image on the left is 200 x 200. The image on the right is a 1000 x 1000 parented to a smaller panel which acts like a viewport allowing only some of the large image to be seen. All we need do is move the big image around ...
by Stewart Marshall
Wed Sep 20, 2017 8:39 am
Forum: Questions & Answers
Topic: How to not show a fatal error
Replies: 3
Views: 1530

Re: How to not show a fatal error

Failures can be handled at two levels Firstly, you can set the Handled parameter of the Failed event to True Mthroutine Name(GetData) Define_Com Class(#MyServerModule.GetData) Name(#GetData) #GetData.ExecuteAsync Evtroutine Handling(#GetData.Completed) * Update UI with data Endroutine Evtroutine Han...
by Stewart Marshall
Wed Sep 13, 2017 3:52 pm
Forum: Questions & Answers
Topic: Carousel.ItemRealizing
Replies: 1
Views: 818

Re: Carousel.ItemRealizing

It looks as though there's an issue with Carousel. Please report this to your regional help desk The simple work around is to manage the "CurrentItem" yourself. Assuming a design instance per page, something like the following should work Mthroutine Name(ShowItem) Define_Map For(*Input) Class(#Prim_...