Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8608

Re: PopupWindow Problem

From A Retey <awnl@gmx-topmail.de>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: PopupWindow Problem
Date 2012-02-19 11:28 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jhqmde$f6n$1@smc.vnet.net> (permalink)
References <jho24f$5t1$1@smc.vnet.net>

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

PopupWindow Problem Don <donabc@comcast.net> - 2012-02-18 11:30 +0000
  Re: PopupWindow Problem A Retey <awnl@gmx-topmail.de> - 2012-02-19 11:28 +0000
  Re: PopupWindow Problem David Bailey <dave@removedbailey.co.uk> - 2012-02-20 07:44 +0000

csiph-web