Search found 106 matches

by MarkDale
Fri Mar 22, 2019 4:59 pm
Forum: Questions & Answers
Topic: VLF-ONE instancelist headername
Replies: 2
Views: 2356

Re: VLF-ONE instancelist headername

There is a new method in the next VLF EPC (142057) for writing the column caption of an instance list

#avListManager.avSetColumnCaption Ucolumntype(V) Ucolumninstance(2) Ucaption(#DF_ELTX)

The overrride will appear in the column selection menu.
by MarkDale
Mon Mar 11, 2019 8:20 am
Forum: Questions & Answers
Topic: Error with BLOB Image
Replies: 2
Views: 2114

Re: Error with BLOB Image

This is just a guess, but there's a file called DC@FOL that lansa sometimes writes to, to lock things.

If there is a record on that for GOIM GOIMIMG *LOB_UNIQUE_FILENAME, you could try deleting that record and see if it clears the lock.
by MarkDale
Tue Mar 05, 2019 5:06 pm
Forum: Questions & Answers
Topic: Using Exec_Os400 command in V13
Replies: 14
Views: 7707

Re: Using Exec_Os400 command in V13

It worked for me. I'm using a V14SP2 environment, but I think it would be the same. My wam looked like this: Function Options(*DIRECT) Begin_Com Role(*EXTENDS #PRIM_WAM) * Map fields used in this form. Web_Map For(*BOTH) Fields(#STD_TEXT) Webroutine Name(UHandleEvent) Change Field(#std_text) To('Fre...
by MarkDale
Mon Feb 18, 2019 2:42 pm
Forum: Questions & Answers
Topic: Debug an RDMLX Trigger
Replies: 3
Views: 3393

Re: Debug an RDMLX Trigger

For me, if I am using an RDMLX function (old demo trigger PSLTRG1) as a trigger, it works.

I mark the debug line using F9, ensure that the function is compiled for debug, and then run either a web page or a form in debug mode. The line to be debugged comes up in the IDE.
by MarkDale
Sat Feb 09, 2019 12:58 pm
Forum: Questions & Answers
Topic: DateTime field visualization
Replies: 1
Views: 2119

Re: DateTime field visualization

I think the way to handle this is to change the locale for the language. See this link https://docs.lansa.com/14/en/lansa017/content/lansa/vlwebeng03_0055.htm#VLWebEng03_0055 So if you are running language ENG, and language ENG uses ISO language code (locale) en (which is en US), the dates will defa...
by MarkDale
Fri Feb 01, 2019 11:22 am
Forum: Questions & Answers
Topic: VLF-ONE instancelist headername
Replies: 2
Views: 2356

Re: VLF-ONE instancelist headername

When you override the instance list using low-level access to the instance list (as in DF_T3003O), you are just overriding the visible instance list, not the framework's internal definition of the instance list. The menus of columns and various other things are built using the framework's internal d...
by MarkDale
Fri Feb 01, 2019 11:03 am
Forum: Questions & Answers
Topic: Clear List Button Customization
Replies: 4
Views: 2274

Re: Clear List Button Customization

I don't think you can do that.

You could use a shorter caption.
Or you could disable Clear List for that business object and put your own clear list button on the filter.
by MarkDale
Fri Feb 01, 2019 8:56 am
Forum: Questions & Answers
Topic: Clear List Button Customization
Replies: 4
Views: 2274

Re: Clear List Button Customization

Hi Casey - whats the environment that this clear list button is in? e.g. is it VLF-ONE?
by MarkDale
Tue Jan 29, 2019 1:12 pm
Forum: Questions & Answers
Topic: VL Windows Signature Capture
Replies: 4
Views: 4113

Re: VL Windows Signature Capture

I think it might be possible to get canvas to work inside a web browser activeX. I can display this html in a web browser control in VLF-WIN. <!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> </head> <body> <canvas id="myCanvas" width="200" height="100" style="borde...
by MarkDale
Tue Dec 18, 2018 9:34 am
Forum: Questions & Answers
Topic: VL Windows Signature Capture
Replies: 4
Views: 4113

Re: VL Windows Signature Capture

One way to approach this might be to add an activeX web page into the application, and then use HTML and javascript to do the signature capture. If you search for "signature capture html5" there are html examples that might be able to do what you want. You might be able to control it using buttons w...
by MarkDale
Mon Nov 19, 2018 9:32 am
Forum: Questions & Answers
Topic: Override uSendToXL Without Custom Instance List
Replies: 8
Views: 3503

Re: Override uSendToXL Without Custom Instance List

I think the property you are looking for is the #Column.ColumnVisible property, rather than the #Column.Visible property.

This has confused me in the past, too.
by MarkDale
Wed Nov 14, 2018 4:08 pm
Forum: Questions & Answers
Topic: Override uSendToXL Without Custom Instance List
Replies: 8
Views: 3503

Re: Override uSendToXL Without Custom Instance List

There isn't any specific override of the Column<>.ColumnMouseEnter event in VF_UM040O. The list in VF_UM040O is currently defined like this: Define_Com Class(#Prim_list) Name(#MyList) Parent(#COM_OWNER) Displayposition(1) Tabposition(1) Height(312) Width(534) Left(0) Top(0) Columnlines(False) Rowlin...
by MarkDale
Wed Nov 07, 2018 8:49 am
Forum: Questions & Answers
Topic: VLF-ONE "Sub" Command
Replies: 2
Views: 2463

Re: VLF-ONE "Sub" Command

You can have a business object with no instance list simply by removing all the filters and defining the commands in the business object as "business object command" instead of "instance command". There is also a common activity for a business object to "Make this a one command, no instance list, bu...
by MarkDale
Mon Nov 05, 2018 1:19 pm
Forum: Questions & Answers
Topic: VLFONE Theme Customizer
Replies: 2
Views: 1565

Re: VLFONE Theme Customizer

Try adding these lines in your Theme customizer:

#Theme.IL_ApplyThemeDetails := True
#Theme.IL_FontSize.FontSize := 14


The Theme.IL* properties relate to the instance list
by MarkDale
Wed Oct 10, 2018 10:00 am
Forum: Questions & Answers
Topic: VL Web runtime script error handling
Replies: 4
Views: 2084

Re: VL Web runtime script error handling

There is a parameter on SET_REF for Com_Error.

If you used SET_REF ... COM_ERROR(*IGNORE)
or
SET_REF ... COM_ERROR(*SET_NULL)

would that help solve the problem?

Then you could test whether the component was null before using it.
by MarkDale
Wed Oct 10, 2018 9:11 am
Forum: Questions & Answers
Topic: Using STM_File_Read / Transform_File to process Text file
Replies: 3
Views: 1371

Re: Using STM_File_Read / Transform_File to process Text file

One thing you could try is saving and restoring the CSV file using the UTF-8 option.

To do that you use TRANSFORM_FILE and TRANSFORM_LIST, but you add a U to the format - e.g. in your case the format would be OU.

That might avoid the funny character problem.
by MarkDale
Thu Oct 04, 2018 11:10 am
Forum: Questions & Answers
Topic: Rich Text Editor
Replies: 2
Views: 1678

Re: Rich Text Editor

The VLF components that use the quill interface are named DF_Note_*. The quill interface widget itself has the name DF_Note_QuillInterface.
by MarkDale
Fri Aug 24, 2018 10:37 am
Forum: Questions & Answers
Topic: Override uSendToXL Without Custom Instance List
Replies: 8
Views: 3503

Re: Override uSendToXL Without Custom Instance List

You probably can't.

But as an experiment you could try creating a snap in instance list that extends VF_UM040O, and specifying a uSendToXL override method in that.
by MarkDale
Wed Aug 15, 2018 7:46 am
Forum: Questions & Answers
Topic: Missing #DF_SLIDLB in SP2
Replies: 2
Views: 1195

Re: Missing #DF_SLIDLB in SP2

Its a demo component that is no longer shipped, or used by the shipped VF_VLFONE_System demo. The demo now has that slider on the right, so there is an equivalent component called DF_SLIDRB. If you are using an old version of a framework, you could change it to use slider DF_SLIDRO as the left slide...
by MarkDale
Tue Jul 17, 2018 9:12 am
Forum: Questions & Answers
Topic: VLF-ONE Merging Frameworks
Replies: 9
Views: 6599

Re: VLF-ONE Merging Frameworks

How about 1. remove everything (VF_FP008s) from the Merge List except VF_FP002 (Associates) 2. remove everything from the reference list 3. merge the application, save and re start the framework 4. do the merge again - the new application is now an option for the parent of the new business objects N...