Theme color on #PRIM_MD.Edit

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.
Post Reply
Pratibha
Posts: 15
Joined: Wed Oct 31, 2018 6:53 pm

Theme color on #PRIM_MD.Edit

Post by Pratibha » Fri Jan 17, 2020 7:46 pm

Hello,

I would like to implement the same color of the text and the input underline. How is it possible. Have tried with all possibilities of focusedstyle, mouseoverstyle, Themedrawstyle, Style. But unsuccessful. Can anyone please guide?
screen1.PNG
screen1.PNG (7.01 KiB) Viewed 173 times

Regards,
Pratibha

dannyoorburg
Posts: 176
Joined: Mon Jan 04, 2016 9:50 am
Location: Australia

Re: Theme color on #PRIM_MD.Edit

Post by dannyoorburg » Sat Jan 18, 2020 6:48 am

Hi,

I think you might need this property

https://docs.lansa.com/14/en/lansa016/p ... ncolor.htm

Cheers,
Danny

Pratibha
Posts: 15
Joined: Wed Oct 31, 2018 6:53 pm

Re: Theme color on #PRIM_MD.Edit

Post by Pratibha » Wed Jan 22, 2020 8:07 pm

Hello Danny,

Have tried is not working. it is at the time When the component is clicked or mouseover it changes color I want darkblue color in place of light blue.
How can I change the clicked and mouseover theme property of the input field.

dannyoorburg
Posts: 176
Joined: Mon Jan 04, 2016 9:50 am
Location: Australia

Re: Theme color on #PRIM_MD.Edit

Post by dannyoorburg » Thu Jan 23, 2020 5:58 am

Isn't it just using another theme?

Or creating your own with the exact primary colour you're after?

JamesDuignan
Posts: 76
Joined: Thu Nov 26, 2015 1:43 pm

Re: Theme color on #PRIM_MD.Edit

Post by JamesDuignan » Fri Jan 24, 2020 8:44 am

Hi Pratibha,

See the sample below. The from what you are asking so far it does appear the captioncolour property is what needs to be set.

If this does not give you what you are looking for, can you please send the definition of the edit field and more of a description about what you are wanting

Code: Select all

Define_Com Class(#PRIM_MD.Edit) Name(#Edit) Caption('Caption') Displayposition(2) Left(152) Parent(#Com_owner) Tabposition(2) Top(115) Captioncolor(Theme700) Style(#Style3)
Regards,
James

Post Reply