Search found 97 matches

by MarkDale
Mon Jun 24, 2019 10:49 am
Forum: Questions & Answers
Topic: Trouble with persistant virtual clipboard manager
Replies: 8
Views: 171

Re: Trouble with persistant virtual clipboard manager

Could you try it with a simple directory. e.g. Create a directory called C:\Temp and point UF_EXEC at that and see if it works. I noticed that C:\Users\Public\Public Documents\ is a bit unusual. When you look at it in explorer in the tree it looks like C:\Users\Public\Public Documents\ but when you ...
by MarkDale
Mon Jun 24, 2019 8:47 am
Forum: Questions & Answers
Topic: VLF-ONE Programming 101
Replies: 2
Views: 83

Re: VLF-ONE Programming 101

When your filter writes data to the instance list it should specify some identifying keys (AKeys and NKeys). For example, in shipped filter example DF_T41F1O, it writes an AKey1 #avListManager.AddtoList Visualid2(#xEmployeeIdentification) Visualid1(#xEmployeeSurname + ' ' + #xEmployeeGivenNames) Ake...
by MarkDale
Tue May 07, 2019 11:04 am
Forum: Questions & Answers
Topic: PRIM_LIST ItemClick with Page Scroll
Replies: 1
Views: 8857

Re: PRIM_LIST ItemClick with Page Scroll

It seems to work ok for me (under VL 142040). Sometimes you can get unusual behaviour if the cache is not cleared or if there are multiple versions of VL. Does the following example work ok for you? Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME<MaterialDesignBlue>) Define_Com Class(#PRIM_LIST)...
by MarkDale
Thu May 02, 2019 11:34 am
Forum: Questions & Answers
Topic: Layout Helper missing in V14SP2 (solved)
Replies: 3
Views: 8478

Re: Layout Helper missing in V14SP2

I think its been deprecated, because you used to be able to access the layout helper via the LayoutManager property (of forms panels etc), and thats gone too.

I guess the Layout tab is the replacement, and you have to click on each element to see how its layout is managed
by MarkDale
Mon Apr 29, 2019 8:38 am
Forum: Questions & Answers
Topic: VLF-WIN Custom Login Form (solved)
Replies: 2
Views: 4421

Re: VLF-WIN Custom Login Form

Have you tried modifying the following line in function UFU0003 ? (the multilingual text enroller) (in process UF_SYSBR) * MTXTUF_CHGIBMIPSW - Change IBM i Password Execute Subroutine(ADD_MTXT) With_Parms('UF_CHGIBMIPSW' *MTXTUF_CHGIBMIPSW) You can modify it to use a different multilingual variable....
by MarkDale
Wed Apr 17, 2019 8:37 am
Forum: Questions & Answers
Topic: avCloseForm for RAMP/Command Handlers
Replies: 2
Views: 8362

Re: avCloseForm for RAMP/Command Handlers

Ordinary command handlers can use avCloseForm:

#Com_Owner.avCloseForm

RAMP command handlers don't have any RDMLX source, but in the RAMP button script, you can add a line like:

/* Close this command handler, since the task is now done */
AVCLOSEFORM();
by MarkDale
Wed Apr 17, 2019 8:22 am
Forum: Questions & Answers
Topic: Scheduling thru Windows Task Scheduler
Replies: 1
Views: 8032

Re: Scheduling thru Windows Task Scheduler

Is there anything in the Windows event log? (Control panel --> Administrative Tools --> Event Viewer). Sometimes lansa puts messages there. (or x_err.log of course).
Could you modify your program WB_DATAF to output something right at the start, to see if it actually begins?
by MarkDale
Wed Apr 10, 2019 11:02 am
Forum: Questions & Answers
Topic: Allow Panes to be Shrunk and Expanded in VLF One
Replies: 5
Views: 10476

Re: Allow Panes to be Shrunk and Expanded in VLF One

Yes - it could be in a click event handler in the filter, or the filter could have a routine that listens for a signal, and in that routine it could use #Com_Owner.PaneMinimize.
by MarkDale
Tue Apr 09, 2019 11:40 am
Forum: Questions & Answers
Topic: Allow Panes to be Shrunk and Expanded in VLF One
Replies: 5
Views: 10476

Re: Allow Panes to be Shrunk and Expanded in VLF One

I am assuming this is programmatic Shrink/Expand of Panes. (The end user can minimize a pane using the minimize icon, though not the instance list or filter individually) This section in the VLF guide explains about expansion/shrinking of panels in VLF-ONE https://docs.lansa.com/14/en/lansa048/index...
by MarkDale
Tue Mar 26, 2019 11:51 am
Forum: Questions & Answers
Topic: Server Module erroring using Select with option(*STARTKEY *BACKWARDS)
Replies: 2
Views: 4299

Re: Server Module erroring using Select with option(*STARTKEY *BACKWARDS)

Its not surprising that the SELECT reads past the dealers you want, because that is what the *STARTKEY option does. It positions for the first read, and you have to have a test to stop it - either an *ENDWHERE or something in the SELECT loop. Maybe the reason the server module is failing is because ...
by MarkDale
Tue Mar 26, 2019 8:42 am
Forum: Questions & Answers
Topic: VLF-ONE Check Availability to Command in custom Instance List
Replies: 2
Views: 6619

Re: VLF-ONE Check Availability to Command in custom Instance List

I think you should be able to check access to a command reference by using the User Object Name Type of the command reference avCheckAvailability.PNG #AVFRAMEWORKMANAGER.avCheckAvailability Userobjectname(PEOPLE_DETAILS) Isavailable(#myreturnCode) Note its NOT the user object name type of the comman...
by MarkDale
Fri Mar 22, 2019 4:59 pm
Forum: Questions & Answers
Topic: VLF-ONE instancelist headername
Replies: 2
Views: 1918

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: 1631

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: 6154

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: 2
Views: 1877

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: 1753

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: 1918

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: 1743

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: 1743

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: 3445

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...