Search found 29 matches

by pkoopmanpk
Fri Apr 19, 2019 11:13 pm
Forum: Questions & Answers
Topic: TRIM_TREE (Item)LostFocus not firing?
Replies: 2
Views: 11939

TRIM_TREE (Item)LostFocus not firing?

On a webpage I created a PRIM_TREE and a PRIM_PANL that implements PRIM_TREE.iTreeDesign. While testing it looks like some events are not firing. When tabbing out of the last element in the list, it looks like the TRIM_TREE.ItemLostFocus and TRIM_TREE.LostFocus are not firing. When shift-tabbing out...
by pkoopmanpk
Fri Apr 19, 2019 4:53 pm
Forum: Questions & Answers
Topic: Give focus to an Edit field in a PRIM_MD.List or PRIM_LIST?
Replies: 3
Views: 10923

Re: Give focus to an Edit field in a PRIM_MD.List or PRIM_LIST?

This is a solution I found. It uses a PRIM_TREE and a PRIM_PANL that implements PRIM_TREE.iTreeDesign Component PKTSTTRE: Function Options(*DIRECT) Begin_Com Role(*EXTENDS #PRIM_PANL *implements #PRIM_TREE.iTreeDesign *ListFields #LISTFIELDS) DisplayPosition(1) Height(33) LayoutManager(#Table) Left(...
by pkoopmanpk
Fri Apr 19, 2019 4:45 pm
Forum: Questions & Answers
Topic: Give focus to an Edit field in a PRIM_MD.List or PRIM_LIST?
Replies: 3
Views: 10923

Re: Give focus to an Edit field in a PRIM_MD.List or PRIM_LIST?

Hope this helps. Thank you for your reply. Cells are a property of PRIM_GRID? As far as i know PRIM_GRIDs can't be used in VL web? PRIM_GRID would be perfect, but I got an error when I copied the code from one of my VL windows projects. Also, it isn't shown in the controls tab when I have open a We...
by pkoopmanpk
Wed Apr 17, 2019 8:24 pm
Forum: Questions & Answers
Topic: Give focus to an Edit field in a PRIM_MD.List or PRIM_LIST?
Replies: 3
Views: 10923

Give focus to an Edit field in a PRIM_MD.List or PRIM_LIST?

Is it possible to give focus to a specific PRIM_MD.ListEdit item in a PRIM_MD.List or a cell in a PRIM_LIST? I need to give focus to the first empty field in a list. But I can not find a way to do this. Code sample 1 using a PRIM_MD.List: Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME<MaterialD...
by pkoopmanpk
Tue Mar 19, 2019 7:51 pm
Forum: Questions & Answers
Topic: VLF ONE #PRIM_MD.Input caption styling
Replies: 5
Views: 5518

Re: VLF ONE #PRIM_MD.Input caption styling

Thank you all for your input. • You can create your own custom VLF-ONE extended theme and associate it with a shipped or custom VL-Web theme. To use a custom VL-Web theme you need to set the UseCustomApplicationTheme property in the VLF-ONE extended theme. It looks like the caption style settings ar...
by pkoopmanpk
Wed Mar 13, 2019 12:50 am
Forum: Questions & Answers
Topic: VLF ONE #PRIM_MD.Input caption styling
Replies: 5
Views: 5518

VLF ONE #PRIM_MD.Input caption styling

I am looking for a way to change the style of captions on PRIM_MD.Input controls in VLF ONE. The default style seems to be black (0:0:0) with a 54% transparency, which users find hard to read. <div lansahandle="1056" style="... color: rgba(0, 0, 0, 0.54); border-color: rgba(0, 0, 0, 0.12); ..."> <di...
by pkoopmanpk
Tue Jul 10, 2018 8:57 pm
Forum: Questions & Answers
Topic: Integrator PDFDocumentService: Mixed font in cell?
Replies: 1
Views: 783

Re: Integrator PDFDocumentService: Mixed font in cell?

Answer to self. I found a solution by overlaying two tables with different styles. With that I won't be able to style the number, but that was a nice to have in the first place.
by pkoopmanpk
Mon Jul 09, 2018 6:05 pm
Forum: Questions & Answers
Topic: List Positioning
Replies: 3
Views: 1333

Re: List Positioning

Have you looked at the EnsureVisible property?

https://docs.lansa.com/14/en/lansa016/prim_tvit.htm

Turning it on for the first item in your treelist should do the trick I think.
by pkoopmanpk
Mon Jul 09, 2018 5:50 pm
Forum: Questions & Answers
Topic: Integrator PDFDocumentService: Mixed font in cell?
Replies: 1
Views: 783

Integrator PDFDocumentService: Mixed font in cell?

Is there a trick to use mixed fonts in a table cell in PDFDocumentService? I have to generate an EAN like code in one line, and a description in the next line. It could look something like this: --- 12.12345. 12345 .1 Product description --- <style name="Size10" font="Times-Roman" size="10" /> <styl...