Search found 10 matches

by TomC
Sat Jan 12, 2019 1:55 am
Forum: Questions & Answers
Topic: Sorting of Instancelist entries by Programmatic Identifiers on VLF-ONE
Replies: 2
Views: 1314

Re: Sorting of Instancelist entries by Programmatic Identifiers on VLF-ONE

VLF-ONE does not provide this method. Instead you can access and sort the column object directly using logic like:

Set Com(#AVLISTMANAGER.InstanceListBrowser.VisualIDColumns<2>) Sortposition(1) Sortdirection(Ascending)

See shipped example DF_T3002O
by TomC
Fri Sep 21, 2018 1:39 am
Forum: Questions & Answers
Topic: Searching all cells in a MD Datatable
Replies: 3
Views: 886

Re: Searching all cells in a MD Datatable

Even better, check out the example Web Page in the IDE:

xDemoWebHighlightListCells

This is where I originally got the syntax.
by TomC
Fri Sep 21, 2018 1:35 am
Forum: Questions & Answers
Topic: Searching all cells in a MD Datatable
Replies: 3
Views: 886

Re: Searching all cells in a MD Datatable

The following will check the value of a search edit field, against all cells in a data table. You will have to handle the processing to add/remove a found row, but it should not be difficult to do from here. Evtroutine Handling(#Search.Changed) Define_Com Class(#xDemoUnicode128) Name(#Cell) Selectli...
by TomC
Wed Sep 19, 2018 5:17 am
Forum: Questions & Answers
Topic: Drag and drop within the same Grid in a Visual LANSA component
Replies: 2
Views: 769

Re: Drag and drop within the same Grid in a Visual LANSA component

Have you looked at the sample form in the IDE xDemoDragandDrop?

It shows dragging and dropping within a single list view (to reorder), as well as from one list view to another.
by TomC
Wed Aug 15, 2018 2:18 am
Forum: Questions & Answers
Topic: Text Rotation
Replies: 2
Views: 1355

Re: Text Rotation

There might be a better way to do this, but if you place a label onto a panel (fit height/width) and set the rotation property of the label to 270 it should work. The label should be transparent, and the panel is used to fill in the background. If you wanted to add the 45 degree angle, look to use t...
by TomC
Tue Mar 27, 2018 8:05 am
Forum: Questions & Answers
Topic: Email with Attachment
Replies: 5
Views: 1705

Re: Email with Attachment

I have recently used this BIF successfully. I seem to remember having an issue with the attachment, and adding the second argument (the attachment name) resolved the issue. I could be wrong, but my RDMLX looks like the following: #std_textL := '/lansa_dcxpgmlib/jsm/instance/Order_' + #FOHMEM.AsStrin...
by TomC
Fri Feb 23, 2018 6:32 am
Forum: Questions & Answers
Topic: VL Web Center Multiple Buttons
Replies: 2
Views: 774

Re: VL Web Center Multiple Buttons

Hi Joe,

Make each of the buttons alignment Center, and set the flow to Center Horizontal. This should do exactly what you are asking.

Image
by TomC
Wed Oct 25, 2017 2:02 am
Forum: Questions & Answers
Topic: Getting a framework business object name
Replies: 3
Views: 1195

Re: Getting a framework business object name

From the command handler source, you can use the following:

To return the business object User Object Type name or caption:
#COM_OWNER.avObjectType
#COM_OWNER.avObjectCaption

To return the command handler User Object Type name or caption:
#COM_OWNER.avCommandType
#COM_OWNER.avCommandCaption
by TomC
Tue Oct 17, 2017 8:51 am
Forum: Questions & Answers
Topic: Data Matrix Barcodes
Replies: 1
Views: 509

Re: Data Matrix Barcodes

Adding a bit more information regarding a new potential custom widget, getusermedia does apparently work now from mobile devices in both Safari 11 and Chrome.

https://webrtc.github.io/samples/src/co ... media/gum/

Ideally I would still use xDeviceBarcodeScanner.
by TomC
Tue Oct 17, 2017 8:28 am
Forum: Questions & Answers
Topic: Data Matrix Barcodes
Replies: 1
Views: 509

Data Matrix Barcodes

I have a request to scan Data Matrix type barcodes from VL-Web. Using the shipped widget, xDeviceBarcodeScanner, it looks like we can only scan UPCA, Code128, QRCode, Code39, and ITF-14. So first question, anyone have thoughts as to how we could extend this widget to incorporate other barcode types?...