Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
A.Acheson
in reply to: Rossco44

Here is the set color method. And if you look to a sample here you can see how to add that in. The snippet required is shown below. 

 

Dim oStyle As TextStyle = oSketch.TextBoxes.Item(1).Style
' Change the highlight color to green.
Dim oGreen As Color = ThisApplication.TransientObjects.CreateColor(0, 255, 0) oStyle.Color = oGreen

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan