The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Text label fill color & border color.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

nikita_zubov

Russia
1 Posts

Posted - 07/31/2018 :  1:51:51 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2016 b9.3.226
Operating System: Win 7 x64

Hello!
I have a text label with a black line background style in graph window.
How can I control a label fill color and label border color using LabTalk script.

Hideo Fujii

USA
1582 Posts

Posted - 07/31/2018 :  2:47:01 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi nikita_zubov,

The snippet below tells how to do:
text.BACKGROUND=1; //0:None 1:Box  2:Shadow 3:Marble
text.FILLCOLOR=3;  //1:BLACK 2:RED 3:GREEN, etc.
text.LINEWIDTH=5;  //Border line width
Here, "text" is the name of the label object, and you may need to change according to your label.

Sorry, I couldn't find the property to control the line color.

--Hideo Fujii
OriginLab

Edited by - Hideo Fujii on 07/31/2018 4:31:00 PM
Go to Top of Page

yuki_wu

896 Posts

Posted - 07/31/2018 :  10:51:13 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I am sorry that we don’t have a property to control the border color so far, but we have added this issue to our improvement tracking database (ID: ORG-18738). Hope we could use it in the future.

Regards,
Yuki

OriginLab
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000