This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
dhunt
Posts: 65 Joined: Fri Feb 08, 2019 3:06 am
Post
by dhunt » Thu Feb 28, 2019 7:46 am
I am changing the background on both Floating panel and Floating_atFront and i get a border bottom when i have not set a border bottom? Am doing the linear brush wrong for these? I think i see that the background is being applied twice to the title and creating what looks like the border bottom.
Capture4.PNG (3.25 KiB) Viewed 20281 times
Code: Select all
Define_Com Class(#PRIM_THM.DrawStyle) Name(#FloatingPanel_Title) Style(#FloatingPanel_TitleStyle)
Define_Com Class(#PRIM_VS.Style) Name(#FloatingPanel_TitleStyle) Backgroundbrush(#LinearBrush1)
Define_Com Class(#PRIM_VS.LinearBrush) Name(#LinearBrush1) Colors(#BrushColors1)
Define_Com Class(#PRIM_VS.BrushColors) Name(#BrushColors1)
Define_Com Class(#PRIM_VS.BrushColor) Name(#BrushColor1) Color(255:255:255) Parent(#BrushColors1)
Define_Com Class(#PRIM_VS.BrushColor) Name(#BrushColor2) At(100) Color(220:221:222) Parent(#BrushColors1)
Define_Com Class(#PRIM_THM.DrawStyle) Name(#FloatingPanel_AtFrontTitle) Style(#FloatingPanel_AtFrontTitleStyle)
Define_Com Class(#PRIM_VS.Style) Name(#FloatingPanel_AtFrontTitleStyle) Backgroundbrush(#LinearBrush2)
Define_Com Class(#PRIM_VS.LinearBrush) Name(#LinearBrush2) Colors(#BrushColors2)
Define_Com Class(#PRIM_VS.BrushColors) Name(#BrushColors2)
Define_Com Class(#PRIM_VS.BrushColor) Name(#BrushColor3) Color(255:255:255) Parent(#BrushColors2)
Define_Com Class(#PRIM_VS.BrushColor) Name(#BrushColor4) At(100) Color(147:149:152) Parent(#BrushColors2)
MarkD
Posts: 692 Joined: Wed Dec 02, 2015 9:56 am
Post
by MarkD » Thu Feb 28, 2019 8:46 am
The names are suggestive of this being a VLF-ONE based application - but it's hard to be sure.
Coud you confirm or deny?
If yes, could elaborate a bit on the context of usage (e.g. Where and how is the code sample you provided used).
dhunt
Posts: 65 Joined: Fri Feb 08, 2019 3:06 am
Post
by dhunt » Thu Feb 28, 2019 9:27 am
Yes, VLF-One
Annotation 2019-02-27 161949.jpg (37.69 KiB) Viewed 20266 times
It is a linear brush setting in the fill section.
Capture5.PNG (13.32 KiB) Viewed 20266 times
MarkD
Posts: 692 Joined: Wed Dec 02, 2015 9:56 am
Post
by MarkD » Thu Feb 28, 2019 9:45 am
When you say "I am changing the background on both Floating panel and Floating_atFront ".
These are exposed #Prim_vs.Style properties of a VLF-ONE (VF_SY170O) theme object.
Where, when and how are you changing them?
dhunt
Posts: 65 Joined: Fri Feb 08, 2019 3:06 am
Post
by dhunt » Thu Feb 28, 2019 10:42 am
In a custom theme object, i am changing the background via the code above. it just seems to be doing it twice when i have a linear brush.
i also have a custom
this code below is just before the code i change.
Code: Select all
Begin_Com Role(*EXTENDS #PRIM_THM) Basetheme(MaterialDesignPink) Style(#StyleTheme)
i am also doing this in a theme customizer but that only applies the background that i set in the theme, correct?
Code: Select all
#CustomTheme.FloatingPanel_AtFrontTitleStyle.BackgroundBrush <= #SD1_THEME<FloatingPanel_AtFrontTitleStyle>.BackgroundBrush
MarkD
Posts: 692 Joined: Wed Dec 02, 2015 9:56 am
Post
by MarkD » Thu Feb 28, 2019 2:49 pm
Sorry, I'm a bit stumped by this one.
Those VLF-ONE styles are related to the title bars in the pseudo window panes (and some other places).
Could you redo the very small picture used right at the start of this thread to show more of the overall context?
i.e. I really can't understand what the very small picture is of.
dhunt
Posts: 65 Joined: Fri Feb 08, 2019 3:06 am
Post
by dhunt » Fri Mar 01, 2019 3:03 am
Annotation 2019-02-28 093006.png (25.79 KiB) Viewed 20239 times
if you open the picture in a new tab it should be bigger
MarkD
Posts: 692 Joined: Wed Dec 02, 2015 9:56 am
Post
by MarkD » Fri Mar 01, 2019 11:54 am
Sorry, I have no idea why that's happening.
I think you should submit this via your support team as a potential defect.