Search found 25 matches

by GregSippel
Fri Apr 13, 2018 8:44 am
Forum: Questions & Answers
Topic: VLWEB Color picker
Replies: 5
Views: 2000

Re: VLWEB Color picker

Soa,

A simple widget that uses an input of type equals "color" is what you need, See https://developer.mozilla.org/en-US/doc ... nput/color

Note, while it will work in all browsers it will look different in all browsers.

Cheers
Greg
by GregSippel
Fri Mar 16, 2018 12:30 pm
Forum: Questions & Answers
Topic: VLWEB Property Question
Replies: 3
Views: 1383

Re: VLWEB Property Question

Soa, When it comes to inheritance and its generally best practice anyway, for properties and method use #COM_SELF instead of #COM_OWNER in the top level object. So in your RP try If Cond(#COM_SELF.eFormSaveRequired) #COM_SELF.SaveeFormValue Endif In regards to your issue, do the properties that can ...
by GregSippel
Fri Mar 16, 2018 10:54 am
Forum: Tips and Techniques
Topic: Google Material Icons Font
Replies: 10
Views: 39278

Re: Google Material Icons Font

When running the VL web page, have a look at the browser console and see if you are getting any errors. The issue could be related to cross-site scripting.

Hope this helps
Greg
by GregSippel
Thu Mar 15, 2018 2:12 pm
Forum: Questions & Answers
Topic: Setfocus not working on LANSA Mobile
Replies: 14
Views: 4622

Re: Setfocus not working on LANSA Mobile

And I get this.Also the keyboard stays visible
focus1.png
focus1.png (4.98 KiB) Viewed 4575 times
by GregSippel
Thu Mar 15, 2018 1:51 pm
Forum: Questions & Answers
Topic: Setfocus not working on LANSA Mobile
Replies: 14
Views: 4622

Re: Setfocus not working on LANSA Mobile

atostaine, I just tried your code, and when I type 99 into either field the focus moves to the other field and is visible a having focus. I have tested, Windows (10, build 16299.309) Chome (Stable and Dev Channel) Firefox (Stable and Developer Preview) Edge Android (8.1) Chrome iOS (11.2.6) Safari L...
by GregSippel
Thu Mar 15, 2018 1:33 pm
Forum: Questions & Answers
Topic: Setfocus not working on LANSA Mobile
Replies: 14
Views: 4622

Re: Setfocus not working on LANSA Mobile

Can you confirm what version of iOS this is being tested on?

Thanks
by GregSippel
Thu Mar 15, 2018 12:40 pm
Forum: Tips and Techniques
Topic: Google Material Icons Font
Replies: 10
Views: 39278

Re: Google Material Icons Font

Dominique, I suggest first check that the browser on the machine you are using is able to load the following urls, https://fonts.googleapis.com/icon?family=Material+Icons https://fonts.gstatic.com/s/materialicons/v36/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 The widget used in the example provided must dow...
by GregSippel
Thu Mar 15, 2018 11:44 am
Forum: Questions & Answers
Topic: Setfocus not working on LANSA Mobile
Replies: 14
Views: 4622

Re: Setfocus not working on LANSA Mobile

Atostaine, Have you paired the keypress event with a timer? When using the keypress event to trigger an action, especially an action to get data from the server, the data events and the keypress event can cancel each other out due to the single threaded nature of javascript. Hence you need separate ...
by GregSippel
Mon Mar 12, 2018 12:08 pm
Forum: Questions & Answers
Topic: Tree View Issue
Replies: 1
Views: 862

Re: Tree View Issue

Soa, The answer is very close to a question asked by jyoung, see here https://forum.developer.lansa.com/viewtopic.php?f=3&t=1695&sid=3402ea900cbf1091d12c549284dc0f17 In your Tree Item Design, signal an event when the DateTime Picker get focus like this Define_Evt Name(DateTimeGotFocus) Evtroutine Ha...
by GregSippel
Thu Mar 08, 2018 9:11 am
Forum: Questions & Answers
Topic: VLWeb Deep Linking Sample
Replies: 2
Views: 1126

Re: VLWeb Deep Linking Sample

Joe, There are 2 big lessons that I learned with "Deep Linking" or as I term it URL Navigation. Lesson 1) Don't start adding to history until you reach the view that is essentially the home or root view. By this I mean if you have a login view, this is shown first to the user but once they have sign...
by GregSippel
Wed Mar 07, 2018 9:21 am
Forum: Questions & Answers
Topic: Offline(local) "database" storage in LANSA Mobile
Replies: 12
Views: 4357

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

David, Sorry, I don't have a sample. However, its usage is similar to the other xDevice widgets that do have samples such as camera and audio. From looking at the Implementation tab of the widget and reading its source code it usage looks fairly easy. For write, 1) Set the Filename, FileType, FileEn...
by GregSippel
Wed Mar 07, 2018 8:56 am
Forum: Questions & Answers
Topic: Signaling Events from a Tile Item
Replies: 2
Views: 1020

Re: Signaling Events from a Tile Item

Joe, In order to get a reference to the tile item design, I think (as I haven't tested it yet) you need the following, 1) In component that has the PRIM_TILE defined in it create a global variable that is dynamic that is the same class as the item design, such as Define_com Class(#YourTileDesign) Na...
by GregSippel
Tue Mar 06, 2018 3:27 pm
Forum: Questions & Answers
Topic: Offline(local) "database" storage in LANSA Mobile
Replies: 12
Views: 4357

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

Stewart, your memory is still good !!

David, if you are using the LANSA mobile container try the xDeviceFileWrite and xDeviceFileRead widgets.

Cheers
Greg
by GregSippel
Tue Mar 06, 2018 3:25 pm
Forum: Questions & Answers
Topic: DateTimePicker in VLWeb
Replies: 2
Views: 1024

Re: DateTimePicker in VLWeb

Have a check of the iso language code in the partition language settings for the language you are executing under. For Australia, it should be set to en-AU.
by GregSippel
Thu Aug 17, 2017 1:52 pm
Forum: Questions & Answers
Topic: Round function not show the whole value.
Replies: 4
Views: 1864

Re: Round function not show the whole value.

Since the code works for me and not you, I can only suggest that you need to ensure your EPC's are not up to date. For me I am currently using EPC141050, which requires EPC141031. To check what release you have in your IDE, click on the right arrow next to the question mark in the top right hand cor...
by GregSippel
Thu Aug 17, 2017 9:05 am
Forum: Questions & Answers
Topic: Round function not show the whole value.
Replies: 4
Views: 1864

Re: Round function not show the whole value.

Nazirul_fitri, I just did a quick test page Begin_Com Role(*EXTENDS #PRIM_WEB) Layoutmanager(#Layout1) Define_Com Class(#PRIM_VS.Style) Name(#Style1) Fontunits(Pixel) Fontsize(24) Define_Com Class(#PRIM_TBLO) Name(#Layout1) Define_Com Class(#PRIM_TBLO.Column) Name(#Column1) Displayposition(1) Parent...
by GregSippel
Tue Jun 27, 2017 3:00 pm
Forum: Questions & Answers
Topic: VLWeb event timing
Replies: 4
Views: 2132

Re: VLWeb event timing

Soa, As Danny says, no javascript would be running while the alert is up, so it is that rather than any issue with threading causing the issue I would think. This would mean the execution of the event would be stopped. If you remove the alert and all hide logic works then you know it is the cause. F...
by GregSippel
Tue Jun 27, 2017 10:56 am
Forum: Questions & Answers
Topic: VLWeb event timing
Replies: 4
Views: 2132

Re: VLWeb event timing

Soa, To know what the effect you are experiencing might be related to I need to ask a few questions Is the spinning icon made to spin via a #PRIM_ANIM with a #PRIM_ANIM.Rotate child component ? Does the #APPLICATION.ACMEHideBusySpinner and #application.ACMEHideStatusBar methods signal an event which...
by GregSippel
Wed Feb 01, 2017 8:54 am
Forum: Questions & Answers
Topic: Changing Library in Server Module
Replies: 8
Views: 2817

Re: Changing Library in Server Module

Instead of using the call command, try using the SYSTEM_COMMAND BIF, http://docs.lansa.com/14/en/LANSA015/Co ... ommand.htm

The string you need to pass will be the entrie call command, such as "call pgm(CHGLIBL) libl(value)"

Cheers
by GregSippel
Fri Jan 13, 2017 9:09 am
Forum: Questions & Answers
Topic: Generically Reference Visual Styles
Replies: 7
Views: 2870

Re: Generically Reference Visual Styles

Jonathanboldt,

I have a question to try an clarify what you are trying to achieve. Are you seeking to let the users create their own theme inside of the application or letting them choose from a range of predefined themes ?

Cheers