Search found 51 matches

by davidbalansa
Thu Mar 15, 2018 10:57 am
Forum: Questions & Answers
Topic: Setfocus not working on LANSA Mobile
Replies: 14
Views: 4608

Re: Setfocus not working on LANSA Mobile

Hi Art,

Is this on an Android device?

If so, I have encountered the same issue. From what I can see, in VL Web neither the Changed event nor the Keypress event are fired while the IME is offering autocomplete suggestions.

My issues logged with LANSA support as a low priority correction.
by davidbalansa
Wed May 31, 2017 3:35 pm
Forum: Questions & Answers
Topic: Supressing the vertical scoll on the #prim_tree component
Replies: 2
Views: 1564

Re: Supressing the vertical scoll on the #prim_tree component

Hi Stewart, Thank you for the response. My bad, I was testing on my PC via a browser where the scrollbar is always present. I should have tested on an actual mobile device. I just tested on Android phone and the scroll bar only appears for the duration of the scroll then disappears same as the iPhon...
by davidbalansa
Wed May 31, 2017 11:03 am
Forum: Questions & Answers
Topic: Supressing the vertical scoll on the #prim_tree component
Replies: 2
Views: 1564

Supressing the vertical scoll on the #prim_tree component

In a VL Web application to run on a mobile device, I am using a #prim_tree component to display a list of entries. The header is fixed to the top of the screen and the footer is fixed to the bottom of the screen. The tree component takes up the available space. If there are more entries than availab...
by davidbalansa
Thu May 04, 2017 8:26 am
Forum: Questions & Answers
Topic: VLF-ONE Switch to Filter
Replies: 19
Views: 6877

Re: VLF-ONE Switch to Filter

Have you tried populating the destination business object instance list before you perform the switch? I think you can use the List Manager AddToList method in the source of the switch by specifying the business object you want the entry to be added to.
Capture.JPG
Capture.JPG (50.41 KiB) Viewed 6138 times
by davidbalansa
Fri Apr 28, 2017 10:31 am
Forum: Questions & Answers
Topic: VLFONE: Using #SYS_WEB.RequestFailed in UF_OEXEC
Replies: 5
Views: 2315

Re: VLFONE: Using #SYS_WEB.RequestFailed in UF_OEXEC

Hi Mark,

Thank you for the code example!

#SYS_WEB.Navigate Url(#SYS_WEB.URL) Target(New)
#avFrameworkManager.avSwitch Caller(#COM_OWNER) Toobjectnamed(VLFONE_DEMONSTRATION) Execute('*EXIT')

solves my issue.

Thanks,
David
by davidbalansa
Thu Apr 27, 2017 1:32 pm
Forum: Questions & Answers
Topic: VLFONE: Using #SYS_WEB.RequestFailed in UF_OEXEC
Replies: 5
Views: 2315

Re: VLFONE: Using #SYS_WEB.RequestFailed in UF_OEXEC

Hi Mark, Thank you for the explanation. That makes sense. One last question. If I do need to handle the error and want to exit gracefully, I see I can use: #VLF_ONE.uTerminate Possibletocancel(False) Browserisclosing(False) to display the "You session has ended" message. Capture5.JPG Is there a meth...
by davidbalansa
Thu Apr 27, 2017 10:07 am
Forum: Questions & Answers
Topic: VLFONE: Using #SYS_WEB.RequestFailed in UF_OEXEC
Replies: 5
Views: 2315

VLFONE: Using #SYS_WEB.RequestFailed in UF_OEXEC

I would like to capture all server routine failues in a single location. In VL Web, I would put the following event handling routine into my web page, set the #handled := true and process accordingly without having the page crash. Capture1.JPG If I put the same code into my copy of UF_OEXEC and caus...
by davidbalansa
Fri Feb 24, 2017 1:14 pm
Forum: Questions & Answers
Topic: VLF-ONE Minimize the toolbar on start up.
Replies: 4
Views: 1696

Re: VLF-ONE Minimize the toolbar on start up.

Hi Mark,

Thank you for providing additional information. The use of the slider is a great idea. Thinking about sliders this way opens up all types of possibilities.

David
by davidbalansa
Tue Feb 21, 2017 9:51 am
Forum: Questions & Answers
Topic: VLF-ONE Minimize the toolbar on start up.
Replies: 4
Views: 1696

Re: VLF-ONE Minimize the toolbar on start up.

Hi Mark,

Thank you for the response. The remembered state of the toolbar should be a viable alternative.

David
by davidbalansa
Mon Feb 20, 2017 1:10 pm
Forum: Questions & Answers
Topic: VLF-ONE Minimize the toolbar on start up.
Replies: 4
Views: 1696

VLF-ONE Minimize the toolbar on start up.

In the latest VLF-ONE EPC 141017 it now remembers the last state of the toolbar.

Is it possible to set it so that the toolbar is minimized on first use?

Regards,
David
by davidbalansa
Mon Feb 20, 2017 9:39 am
Forum: Questions & Answers
Topic: VLF Filter Tab Customization and Settings
Replies: 2
Views: 1433

Re: VLF Filter Tab Customization and Settings

It looks like the Filter Setting tab is not applicable to VLF-ONE, even when you only have Show Information for VLF-ONE checked. If you go to the documentation it indicates the options are not available in VLF-ONE.

Capture.JPG
Capture.JPG (29.88 KiB) Viewed 1425 times
by davidbalansa
Wed Jan 25, 2017 2:33 pm
Forum: Questions & Answers
Topic: VLF-ONE uExecute method invocation
Replies: 2
Views: 1157

VLF-ONE uExecute method invocation

I have noticed in VLF-ONE, if a command handler is open (current command handler) and then its command tab is clicked again. The uExecute method of the command handler is executed again. I have recreated the same scenario in VLF-WIN and the uExecute method does not invoke if I click on the command t...
by davidbalansa
Mon Jan 23, 2017 10:17 pm
Forum: Questions & Answers
Topic: VLF-ONE Inactivity log off timeout and uQueryCanClose
Replies: 2
Views: 1268

Re: VLF-ONE Inactivity log off timeout and uQueryCanClose

Hi Mark,

Thank you for the response. The Canbecancelled parameter solved my issue.

David
by davidbalansa
Mon Jan 23, 2017 11:30 am
Forum: Questions & Answers
Topic: VLF-ONE Inactivity log off timeout and uQueryCanClose
Replies: 2
Views: 1268

VLF-ONE Inactivity log off timeout and uQueryCanClose

My VLF-ONE application uses the Inactivity log off timeout. I also have a command handler that detects the command handler is closing without saving the changes and prompts the user if they want to continue without saving. Capture1.JPG When the inactivity timeout occurs the message is displayed. But...
by davidbalansa
Tue Dec 06, 2016 5:24 pm
Forum: Questions & Answers
Topic: VLF-ONE - Maximized command handlers
Replies: 2
Views: 1620

Re: VLF-ONE - Maximized command handlers

Hi Mark,

Thank you for the response. We are on VLF Version EPC141006.
VLFONEVersion.JPG
VLFONEVersion.JPG (13.45 KiB) Viewed 1590 times
I will log this with support.

David
by davidbalansa
Tue Dec 06, 2016 2:11 pm
Forum: Questions & Answers
Topic: VLF-ONE - Maximized command handlers
Replies: 2
Views: 1620

VLF-ONE - Maximized command handlers

Hi group, In a basic VLF-ONE business object like the shipped Resource Application -> People Business Object, you can select an entry in the instance List to show the command handlers window (Details, Salary Package). The command handler window can be maximized using the maximize icon. Maximized.JPG...
by davidbalansa
Fri Nov 25, 2016 2:37 pm
Forum: Questions & Answers
Topic: LabelPosition
Replies: 3
Views: 1612

Re: LabelPosition

Did you increase the height of the field and set the MarginTop property to provide space for the caption to show?

If It is being hidden by the field above you really should be using a Layout Manager like the Table Layout to control the positioning of your fields.

David
by davidbalansa
Wed Nov 16, 2016 11:35 am
Forum: Questions & Answers
Topic: How to check if a JSON response element is NULL
Replies: 4
Views: 2454

Re: How to check if a JSON response element is NULL

Hi Danny,

Thank you for going through the extra effort to future proof the code fragment.

Regards,
David
by davidbalansa
Tue Nov 15, 2016 11:27 am
Forum: Questions & Answers
Topic: How to check if a JSON response element is NULL
Replies: 4
Views: 2454

Re: How to check if a JSON response element is NULL

Hi Danny, Thank you very much for the response. My scenario was: { "name":"Danny", "age":42, "title": null } Your code snipet: If ((#JSON.RootItem<"title">.Type = Object) *AndIf (#JSON.RootItem<"title">.ItemCount = 0)) ... ... Endif was able to capture the null value for the "title" element. Thanks ...
by davidbalansa
Tue Nov 15, 2016 8:45 am
Forum: Questions & Answers
Topic: How to check if a JSON response element is NULL
Replies: 4
Views: 2454

How to check if a JSON response element is NULL

Hi all, I have a VL Web application where I am getting the response back from a JSON request. It is possible for an element to have a value of null. In my RDMLX i am extracting the element with the following code: #uUserDetails.upUserTitle := #Root<'title'>.AsString When the value of #Root<'title'> ...