Search found 417 matches

by Stewart Marshall
Fri Sep 08, 2017 8:53 am
Forum: Suggestions for Product Enhancements
Topic: font-weight property implementation
Replies: 1
Views: 7909

Re: font-weight property implementation

Font-weight is on our radar.

We're hoping to have a solution available soon.

Regards
by Stewart Marshall
Thu Sep 07, 2017 5:51 pm
Forum: Questions & Answers
Topic: VL_WEB and Offline application
Replies: 2
Views: 1497

Re: VL_WEB and Offline application

VL supports off line processing, although there is no support for browser databases currently. Instead, data is stored in LocalStorage. This has a limited capacity of about 5Mb or more depending on the device. When you're editing the webpage, there is an "Offline support" tab. Change the Use Applica...
by Stewart Marshall
Thu Sep 07, 2017 10:19 am
Forum: Questions & Answers
Topic: Input field VL Web: No input box, only input line
Replies: 6
Views: 2636

Re: Input field VL Web: No input box, only input line

The Edit ThemeDrawStyle of a Theme applies to all Edits in an application. This allows you make a single change that will affect every field instance throughout your application. Individual instances of a field can then be changed by applying a ThemeDrawStyle to the EditThemeDrawStyle property. This...
by Stewart Marshall
Wed Sep 06, 2017 5:46 pm
Forum: Questions & Answers
Topic: Adding leading Zeros to a number
Replies: 1
Views: 1012

Re: Adding leading Zeros to a number

Hi Chandima Here's a simple webpage with a number entry field. The number is converted to a string and then right adjusted to a specific length. Zero is then used as the pad character to replace any spaces. Begin_Com Role(*EXTENDS #PRIM_WEB) Height(616) Width(888) Define_Com Class(#xDemoNumber.Visua...
by Stewart Marshall
Wed Aug 30, 2017 8:58 pm
Forum: Questions & Answers
Topic: "Special" button in VL Web
Replies: 2
Views: 1594

Re: "Special" button in VL Web

Hi Rene

You can make just about anything with a Reusable Part and some styling

This looks like a simple part with rounded corners and two labels, each with its own style.

Regards
by Stewart Marshall
Tue Aug 29, 2017 5:50 pm
Forum: Product Announcements
Topic: One Click Deployment (Independent Windows Systems Only)
Replies: 0
Views: 8969

One Click Deployment (Independent Windows Systems Only)

EPC141060 for LANSA V14 SP1 has been released This EPC introduces the One Click deployment feature. With One Click, all application changes and table changes are packaged up and deployed to your target system. It is intended to be used to demonstrate our Low-Code credentials and for evaluation of Vi...
by Stewart Marshall
Tue Aug 29, 2017 10:59 am
Forum: Questions & Answers
Topic: [SOLVED] Dynamic Multi-lingual
Replies: 4
Views: 1879

Re: Dynamic Multi-lingual

I really want to use the power of multi-lingual variables here, but in a dynamic way. Sadly, multilingual variables and field multilingual features aren't dynamic. The simplest solution is to add a language key to the table. If for some reason you really don't want to change the table definition, l...
by Stewart Marshall
Mon Aug 28, 2017 3:45 pm
Forum: Questions & Answers
Topic: Cache on Server
Replies: 1
Views: 846

Re: Cache on Server

Hi Dominique When running a VL WebPage, the best technique is to store static data in memory on the client. All you need do is look up an entry in a collection or working list, depending on your preference. This avoids unnecessary calls to the webserver, making your application even more efficient. ...
by Stewart Marshall
Mon Aug 28, 2017 2:24 pm
Forum: Questions & Answers
Topic: Windows Prompter on Grid
Replies: 2
Views: 1120

Re: Windows Prompter on Grid

The simplest technique I think is to add a property to the prompter form and then set the value in the PrompterActivate event For example, my Prompter Form is called "MyPrompterForm" and I've defined a property as follows. When the value is set, the list is loaded Define_Pty Name(Key) Set(SetKey) Pt...
by Stewart Marshall
Wed Aug 23, 2017 3:30 pm
Forum: Questions & Answers
Topic: ServerModule - Response size
Replies: 6
Views: 2630

Re: ServerModule - Response size

Hi Jim

We found an issue while tinkering with this. Hopefully the fix coming in SP2 will resolve your issues.



Regards
by Stewart Marshall
Wed Aug 23, 2017 1:35 pm
Forum: Questions & Answers
Topic: Web messagebox Translate Button label
Replies: 1
Views: 1092

Re: Web messagebox Translate Button label

LANSA is shipped with a number of predefined local files for English (US and UK), French and Japanese and more. If you want to run in another language, you'll need to create one specifically for your language as explained here. http://docs.lansa.com/14/en/lansa017/index.htm#lansa/vlwebeng01_0380.htm...
by Stewart Marshall
Fri Aug 18, 2017 2:22 pm
Forum: Questions & Answers
Topic: Update list entry
Replies: 6
Views: 1889

Re: Update list entry

Given that you're using DoubleClick, you can't rely on the FocusItem.

The simplest solution is to use an identifier of some sort and to find the item when it's time to update.
by Stewart Marshall
Fri Aug 18, 2017 1:38 pm
Forum: Questions & Answers
Topic: Update list entry
Replies: 6
Views: 1889

Re: Update list entry

CurrentItem (http://docs.lansa.com/14/en/lansa016/PRIM_LIST.CURRENTITEM.htm) is a programming concept and is the item that was last used IN ANY WAY. That means, a Click, DoubleClick, MouseOver, processing in a SELECTLIST, GET_ENTRY etc. etc.... ANYTHING. You cannot restrict CurrentItem processing. I...
by Stewart Marshall
Fri Aug 18, 2017 12:44 pm
Forum: Questions & Answers
Topic: Update list entry
Replies: 6
Views: 1889

Re: Update list entry

You need to do a GET_ENTRY to ensure that the list CurrentItem is assigned to the correct item in the list. You can also use LOC_ENTRY which has the additional option of not returning the field values. Something like the following Mthroutine Name(Update) Get_Entry Number(#List.FocusItem.Entry) From_...
by Stewart Marshall
Fri Aug 18, 2017 8:23 am
Forum: Questions & Answers
Topic: List performance latest EPC
Replies: 6
Views: 2782

Re: List performance latest EPC

Hi Art A timer ticking on a Changed event will definitely produce a better user experience than using LostFocus. Have a look at xDemoEditTimer. This part wraps up the timer functionality. For a single control, you can simply invoke the Restart method on every change and then update in the Tick event...
by Stewart Marshall
Thu Aug 17, 2017 10:43 am
Forum: Questions & Answers
Topic: List performance latest EPC
Replies: 6
Views: 2782

Re: List performance latest EPC

Hi Art If you're updating on ItemGotSelection, I'm going to assume that you're doing the same on ItemLostSelection too. This will mean that a single click will cause 1649 events to fire if everything is selected. This will read all 1650 records each time, mapping list items to field values and updat...
by Stewart Marshall
Tue Aug 15, 2017 4:34 pm
Forum: Questions & Answers
Topic: ServerModule - Response size
Replies: 6
Views: 2630

Re: ServerModule - Response size

Hi Jim

Crashing on the server is definitely a bad thing. Hopefully there will be a joblog.

Can you please report this to support team

Regards
by Stewart Marshall
Tue Aug 15, 2017 3:20 pm
Forum: Questions & Answers
Topic: ServerModule - Response size
Replies: 6
Views: 2630

Re: ServerModule - Response size

Hi Jim There's no code in VL that explicitly limits response sizes and no reason that we know that a 4Mb object would cause an issue on its own. The tech guys tell me that there is a potential limit on the size of a piece of memory of 16M on IBM i, which occurs if you're not using teraspace. How big...
by Stewart Marshall
Mon Aug 14, 2017 1:05 pm
Forum: Questions & Answers
Topic: ServerModule - SendFailed
Replies: 2
Views: 1085

Re: ServerModule - SendFailed

Hi Jim

If the server module fails for any reason e.g. Divide by zero or abort, the Failed event will fire on the client with a ReasonCode of ServerError.

http://docs.lansa.com/14/en/lansa016/PR ... FAILED.htm

Regards
by Stewart Marshall
Mon Aug 14, 2017 10:16 am
Forum: Questions & Answers
Topic: VL_WEB - pop up
Replies: 8
Views: 3284

Re: VL_WEB - pop up

You want to display the popup on hover and have it disappear on mouse leave. You want to position the popup at a specific place. Given this second requirement, your only choice is to write logic to make sure the popup is not going to get in the way when it pops up. The alternative is to let LANSA po...