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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Text label fill color & border color.

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
nikita_zubov Posted - 07/31/2018 : 1:51:51 PM
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.
2   L A T E S T    R E P L I E S    (Newest First)
yuki_wu Posted - 07/31/2018 : 10:51:13 PM
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
Hideo Fujii Posted - 07/31/2018 : 2:47:01 PM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000