RoboDK Forum
Display panel——革命制度党ntable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+ - - -论坛:通用RoboDK问题(//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK)
+--- Thread: Display panel (/Thread-Display-panel)



Display panel-ANDYF-09-22-2022

Hi
Can you make it possible to attach a display panel to a frame and also give the option for a transparent background?
Also, how do you edit the text of the display panel from the API?
Regards
Andy


RE: Display panel-ANDYF-09-23-2022

Also I can't seem to change the font size through the editor


RE: Display panel-Albert-09-25-2022

Hi Andy,

To change the font size it is better to export the text as HTML:
  1. Select Edit right beside the text
  2. In the Text editor, select Edit-Copy as HTML in the editor
  3. Edit the font-size parameter in points (edit the HTML text in a text editor)
  4. Select Edit-Paste as HTML in the editor.
You can also change the text using the API by setting an item parameter:
item.setValue("DisplayText", "Your Text")

It is possible to display station parameters by wrapping them in % sign, you can also display the time by typing %Time%. We'll provide more information and examples in the next few days but let us know if you are looking for something specific.

We are trying to add support for transparency (at this moment is not possible).