MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: PopupWindow Problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125033] Re: PopupWindow Problem
  • From: A Retey <awnl at gmx-topmail.de>
  • Date: Sun, 19 Feb 2012 06:28:00 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jho24f$5t1$1@smc.vnet.net>

Hi,
>
> thisContent = Style["Max. No. on Graph", Bold];
> PopupWindow["xxx",  thisContent,  Background->LightYellow]
>
> I would like to add to thisContent an explanation of what "Max. No. on Graph" means
> in Plain text.
>
> For example:
>
> "Max. No. on Graph -  This option means ..."
> where only "Max. No. on Graph" is in Bold and
> "This option means ... " is in Plain text.
>
>
> The simple, intuitive solution,
>
> thisContent =  StringJoin[Style["Max. No. on Graph", Bold], " This option means... "]
>
> does not work.
> ...
> How can I do this?

Row is your friend, you can think of it as a StringJoin for stuff that 
isn't strings...

thisContent =
   Row[{Style["Max. No. on Graph", Bold], "  This option means ... "}];
PopupWindow["xxx", thisContent, Background -> LightYellow]

hth,

albert



  • Prev by Date: NProbability
  • Next by Date: Wickham-Jones ExtendGraphics for OS X?
  • Previous by thread: Re: PopupWindow Problem
  • Next by thread: Re: PopupWindow Problem