PmfTree textcolor problem

In this forum, you can report bugs, post suggestions for improvements and add other topics.

PmfTree textcolor problem

Postby roman66 » Tue 09. Jul 2024 12:50:39

Hi,
TextColor - property of the PmfTreeItem object.
.TextColor = "inherit"; - not work for me. Please check.
newbie
PM 9.0.28.0 64bit
roman66
 
Posts: 14
Joined: Tue 09. Jul 2024 12:07:38

Re: PmfTree textcolor problem

Postby Ondřej Kovařík » Mon 05. Aug 2024 9:07:54

Hello,
our testing of the PmfTreeItem object and the TextColor property did not reveal any error. I would like to ask you for more information:
- PROMOTIC system version
- where exactly and under what conditions the error occurs
- whether it is a local runtime or web
It would be very helpful to add a screenshot or a simple example in which the error occurs.
Ondřej Kovařík
 
Posts: 27
Joined: Thu 13. Dec 2012 10:10:15

Re: PmfTree textcolor problem

Postby roman66 » Thu 08. Aug 2024 11:03:02

Hi,
- PS ver. 9.028.0
- local runtime and web
- maybe i understand wrong the help documentation..
Attachments
color inherit x (Medium).jpg
color inherit fault
color inherit x (Medium).jpg (176.6 KiB) Viewed 2209 times
newbie
PM 9.0.28.0 64bit
roman66
 
Posts: 14
Joined: Tue 09. Jul 2024 12:07:38

Re: PmfTree textcolor problem

Postby Ondřej Kovařík » Fri 09. Aug 2024 8:58:37

Hello,
Thank you for the screenshot with the example.
The TextColor property value is inherited only in two levels: PmfTree.TextColor -> PmfTreeItem.TextColor. So the parent object mentioned in the documentation is the PmfTree object and not the parent tree item (PmfTreeItem object). So it is possible to set the text color for all tree items in one place in the PmfTree.TextColor property. Then the different text color must be set individually for each item in the PmfTreeItem.TextColor property. The text color is not inherited from the parent tree item.
We will improve the description in the PROMOTIC documentation to make this fact more obvious.
Ondřej Kovařík
 
Posts: 27
Joined: Thu 13. Dec 2012 10:10:15

Re: PmfTree textcolor problem

Postby roman66 » Fri 09. Aug 2024 10:51:06

ok, its clear now.
Thank you.
newbie
PM 9.0.28.0 64bit
roman66
 
Posts: 14
Joined: Tue 09. Jul 2024 12:07:38


Return to Bugreports, suggestions for improvements, other...

Who is online

Users browsing this forum: No registered users and 5 guests