Search found 102 matches

by MarkDale
Tue Jul 30, 2019 8:41 am
Forum: Questions & Answers
Topic: VLF-WIN 2nd question of the day
Replies: 6
Views: 115

Re: VLF-WIN 2nd question of the day

I'm assuming the ancestor of these reusable parts is VF_AC010 (the VLF-WIN Command handler ancestor, and not some other intermediate ancestor that this site uses). The begin_com of VF_AC010 is defined like this: Begin_Com Role(*EXTENDS #PRIM_PANL) Help('Reference this object only as the ancestor of ...
by MarkDale
Fri Jul 26, 2019 9:40 am
Forum: Questions & Answers
Topic: VLF Changing Business Object Title Bar (RESOLVED)
Replies: 4
Views: 108

Re: VLF Changing Business Object Title Bar

I'm guessing that what you want to do is change the title above the command handlers. (The business object instance's title) You could do that by setting #Com_Owner.avTitleCaption in a command handler - e.g. in the uExecute routine. If it has to be done from the filter, then you could a) put a value...
by MarkDale
Thu Jul 25, 2019 9:25 am
Forum: Questions & Answers
Topic: VLF-WIN does not launch from IDE tool bar (SOLVED)
Replies: 3
Views: 73

Re: VLF-WIN does not launch from IDE tool bar

Older versions of the VLF did not allow you to use Renderstyle X.

The Tools menu option to start the framework was changed to use RenderStyle X.

So you might get this problem if you have upgraded lansa but have not initialized the partition with the VLF.
by MarkDale
Wed Jul 24, 2019 8:52 am
Forum: Questions & Answers
Topic: VLF Changing Business Object Title Bar (RESOLVED)
Replies: 4
Views: 108

Re: VLF Changing Business Object Title Bar

If the ancestor of your component is VF_AC007O, then you must be trying to set the caption from a Filter.

Would #Com_Owner.avTitleBarCaption do what you want?
by MarkDale
Mon Jul 22, 2019 11:11 am
Forum: Tips and Techniques
Topic: VF_BasicGoogleChart widget definition
Replies: 6
Views: 144

VF_BasicGoogleChart widget definition

If you need a copy of the definition of widget VF_BasicGoogleChart, used in the VLF when generating VLF-ONE Graph or Chart command handlers, it is available here:
VF_BasicGoogleChart QuickExport20190722105229.zip
(21.59 KiB) Downloaded 10 times
The compiled object is already shipped in VLF epc142057 (VF_BASICG.js)
by MarkDale
Mon Jun 24, 2019 10:49 am
Forum: Questions & Answers
Topic: Trouble with persistant virtual clipboard manager
Replies: 9
Views: 303

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.