Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 9:02 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Getting the current border colour?
PostPosted: March 25th, 2008, 7:21 pm 
Offline

Joined: March 21st, 2006, 10:37 pm
Posts: 31
Location: Grantham, Lincolnshire,UK
Is there a way to get the current border colour of a panel?

I can get the appearance object, but I cant work out how to get the actual colour?

I need to do a check to see if:

var colorTest = new RGB(128,0,0);

if (CURRENT_BORDER_COLOR == colorTest)
{
// Do this
}

So I need to match the colours between a colour object I know and the colour of a panel border.

How can I do this?


Top
 Profile  
 
 Post subject:
PostPosted: April 14th, 2008, 3:56 am 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
Zes,

I am confused what you mean by "panel". Do you really mean Publ.Properties>>> Layout Tab>>> Panels?

Otherwise for standard Graphical Objects, you might try searching that 'appearance' command here. I have not ever found any good info on "getting at" the attributes of an existing object that way. The examples seem only geared at changing things via that intermediate object.

If it is an issue that is really key to your pub, you could try emailing DW support after you've exhausted the forum.

_________________
_good things come to those who wait(0)_


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group