On Fri, 28 Jan 2000, Craig Spooner wrote:

> I have a field which contains short phrases that have been set to the 
> "group" textStyle so that the clickText function will return the 
> whole phrase.  I would like to set the style to Bold when the user 
> clicks on the phrases, then back to "normal" when something else gets 
> clicked.  The only way I can think to do it is to set everything to 
> "plain," but then I lose the grouped text!
> 
> What I guess I want is something like "set the textStyle ... to 
> "notBold"  Is that possible?

You can combine styles:
set the textStyle of char x to y of field z to "bold,group"

If you don't want tons of "group" style runs to be created where they
didn't exist before, get the old style and only add group if group was
already applied to that run.
  Regards,
    Scott

> Thanks,
> 
> Craig
> 
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
> \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> 
> Craig Spooner
> Instructional Multimedia Specialist
> Office of Instructional Services
> Colorado State University
> (970) 491-2516
> 
> This is the MetaCard mailing list.
> Archives: http://www.mail-archive.com/metacard%40lists.best.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> 

********************************************************
Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...


This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm

Reply via email to