Search found 670 matches

by MarkD
Fri Sep 18, 2020 11:04 am
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 2851

Re: VLF-One Visual Notification on Main Panel

If you are clicking on the filter pane or the aXes pane (i.e. somewhere outside the slider pane) to make the slider pane close then that is probably the issue. Clicking on the aXes pane is behaving like clicking in any other 'external' web page - the click event goes into that web page, not up into ...
by MarkD
Wed Sep 16, 2020 9:24 am
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 2851

Re: VLF-One Visual Notification on Main Panel

What action are you taking to try to close the slider?
i.e. Is the action by mouse click or by some programatic logic?
If it's a click and focus is in the aXes window/pane then the event is probably getting absorbed by it.
by MarkD
Tue Sep 15, 2020 12:09 pm
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 2851

Re: VLF-One Visual Notification on Main Panel

Do you mean it fails to close when the timer to automatically close fires?

If yes, I'd try adding some avTrace operations into the timer logic to confirm that it actually runs at all.
by MarkD
Wed Aug 19, 2020 11:42 am
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 2851

Re: VLF-One Visual Notification on Main Panel

It should work if it's a top slider (only) and it has a push button somewhere in a filter or command handler to trigger the test programmatic display logic.
e.g.:

Code: Select all

Evtroutine Handling(#SHOWSLIDER.Click)
#Com_Owner.avSignalEvent Withid(ShowSlider)
Endroutine    
by MarkD
Tue Aug 18, 2020 10:37 am
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 2851

Re: VLF-One Visual Notification on Main Panel

Can you see if this does the basic of what you need ? Note: If possible, It's probably best to use this code verbatim at first, so we both know what logic is being used. Begin_Com Role(*EXTENDS #VF_AC028O) Height(160) Width(865) Define_Com Class(#PRIM_ATLI) Name(#AttachItem1) Manage(#TemporaryMessag...
by MarkD
Tue Aug 18, 2020 10:18 am
Forum: Questions & Answers
Topic: VL-WEB - list inside a list
Replies: 3
Views: 308

Re: VL-WEB - list inside a list

This shipped sample might be a good starting point. It's a tree with a 'flat' expanable section. If you extended that with a PRIM_LIST, you would effectively have a list within a list. Capture.PNG Personally I'd be careful to assess its performance though because its very easy to star creating 10s o...
by MarkD
Sat Aug 15, 2020 10:56 am
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 2851

Re: VLF-One Visual Notification on Main Panel

Can you elaborate on what you want to happen?

e.g. It looks you want a method to programtically float the slide in pane, that also makes it higher/taller when displayed.
However, if the user manually displays the pane it needs to display in its original size.
by MarkD
Fri Aug 14, 2020 12:02 pm
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 2851

Re: VLF-One Visual Notification on Main Panel

If you want to change the height when the slide-in pane is already visible, or just made visible, try: If (#Com_Owner.Parent *IsNot *null) (#Com_Owner.Parent *As #PRIM_PANL).Height := 100 Endif You need to do that after using #COM_OWNER.uFloatifClosed in this case. This is because your #VF_AC028O RP...
by MarkD
Fri Aug 14, 2020 11:55 am
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 2851

Re: VLF-One Visual Notification on Main Panel

I tried this top slide-in handler ........... Begin_Com Role(*EXTENDS #VF_AC028O) Height(113) Width(865) Define_Com Class(#PRIM_ATLI) Name(#AttachItem1) Manage(#TemporaryMessage) Parent(#CustomPanelBodyLayoutManager) Attachment(Center) Marginbottom(8) Marginleft(8) Marginright(8) Margintop(8) Define...
by MarkD
Mon Aug 10, 2020 11:45 am
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 2851

Re: VLF-One Visual Notification on Main Panel

In your RP descended from ancestor #VF_AC028O you should be able to code this:

#Com_Owner.uFloatifClosed

It means that the associated slide in pane should be floated (i.e. displayed) if it is not already being shown.
by MarkD
Sat Jun 20, 2020 2:52 pm
Forum: Questions & Answers
Topic: VL WEB and performance
Replies: 3
Views: 693

Re: VL WEB and performance

Have you tried tracing it with Fiddler?
I'd start there to get an understanding of what's happening when, and that nothing 'unexpected' is happening.
e.g. Each RP instance being created is hitting the server to fill a dop down, or some such expensive thing.
by MarkD
Fri Jun 12, 2020 11:43 am
Forum: Questions & Answers
Topic: VLF-One Interface
Replies: 3
Views: 653

Re: VLF-One Interface

This a general Visual LANSA question (definitely not specific to VLF-ONE applications). Here a simple Visual LANSA reusable part that defines a class that publicly exposes properties named TheLastName and The Address. It also exposes methods named MyMethod1 and MyMethod2, along with signallable even...
by MarkD
Wed Jun 10, 2020 10:44 am
Forum: Questions & Answers
Topic: VLF-One Interface
Replies: 3
Views: 653

Re: VLF-One Interface

There's quite a few different interfaces available.

Could you elaborate on the type of interface you want to create?

PS: If you are looking for documented help then use the "Help" menu option:
Capture.PNG
Capture.PNG (12.6 KiB) Viewed 626 times
Also, there's a large set of shipped examples, with source code.
by MarkD
Sat May 30, 2020 10:47 am
Forum: Questions & Answers
Topic: VLF-ONE Framework - Download iSeries Table to Excel
Replies: 2
Views: 564

Re: VLF-ONE Framework - Download iSeries Table to Excel

A quick way to create a CSV file on the server is to use the TRANSFORM_LIST built-in function - use the "AU" or "OU" option. https://docs.lansa.com/14/en/lansa015/index.htm#lansa/transform_list.htm Also, this is all just Visual LANSA stuff and nothing specific to VLF-ONE. i.e. VLF-ONE is just a Visu...
by MarkD
Sat May 30, 2020 10:42 am
Forum: Questions & Answers
Topic: VLF-ONE Framework - Download iSeries Table to Excel
Replies: 2
Views: 564

Re: VLF-ONE Framework - Download iSeries Table to Excel

There's several ways to do this. (1) - Create a CSV file on server and return that file as the payload of your server module. (2) - Create a CSV stream on the client from data returned by server module in a working list. (3) - Create a real XLS file using LANSA Integrator. Note: MS-Excel tends to op...
by MarkD
Thu May 21, 2020 11:14 am
Forum: Questions & Answers
Topic: Removing Ramp Messages from Previous Session
Replies: 3
Views: 1194

Re: Removing Ramp Messages from Previous Session

I don't think there is a persistence option (by default) on messages plucked from 5250 screens. Your arrive scripts so be using function GET_FORM_MESSAGE to get the visible message : https://docs.lansa.com/14/en/lansa050/index.htm#lansa/lansa050_0940.htm I would first run through the problematic 525...
by MarkD
Thu May 14, 2020 11:14 am
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 2851

Re: VLF-One Visual Notification on Main Panel

See https://docs.lansa.com/14/en/lansa048/i ... n_0040.htm for how to programtically display (float) and close a slider pane.
by MarkD
Thu May 14, 2020 11:10 am
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 2851

Re: VLF-One Visual Notification on Main Panel

I think that might be the way to go - change the height and then cause the slider itself to slide into view, instead of trying to change the slider's tab color. You could start a timer so that the slider contracts back to a tab again after 2 seconds (say) unless the user clicks on it to view their m...
by MarkD
Thu May 14, 2020 11:04 am
Forum: Questions & Answers
Topic: Removing Ramp Messages from Previous Session
Replies: 3
Views: 1194

Re: Removing Ramp Messages from Previous Session

See https://docs.lansa.com/14/en/lansa048/index.htm#lansa/lansa048_8220.htm for standard RAMP session exit points. If you decided to use avRAMP_SHOW_CURRENT_FORM then the current command handler reference (passed in a a parameter) should be used instead of #COM_Owner here: #AVFRAMEWORKMANAGER.avClea...
by MarkD
Fri May 08, 2020 3:30 pm
Forum: Questions & Answers
Topic: VLF-One Visual Notification on Main Panel
Replies: 25
Views: 2851

Re: VLF-One Visual Notification on Main Panel

Regarding the other questions .....
I think you can make a slider display itself when it detects some event.
This means you could alter its width to become temporarily skinnier, and to also open and slide in and then close again on a timer.
You can certainly put a badge onto the slider's main panel.