oh, sorry. That example has several problems.

 First, FGCOLOR and BGCOLOR are not used for toggles anymore. Mostly
because in Windows they do not work in the native system.

 Second, size = "EIGHTHxEIGHTH" is valid only for the dialog.

  The screenshot you sent is actually expected.

  Just fixed the example and committed to SVN.

  If you need a background color you can use the IupBackgroundBox behind
the toggle.

Best,
Scuri

On Thu, Jun 18, 2015 at 6:07 AM, John Huttley <[email protected]>
wrote:

> Hi Team,
>
> I'm looking at the toggle.lua example code.
> A screenshot of the 3.13 iup lua 5.2 for windows 64 runtime (3.14 behaves
> the same) running toggle.lua is attached.
>
> What is displayed doesn't match the formatting instructions other than the
> font.
>
>
> In addition it contains the line
>
> toggle9 = iup.toggle{title = "toggle with size EIGHTxEIGHT", size =
> "EIGHTHxEIGHTH" }
>
> which looks like a typo. but the obvious change  size = "EIGHTxEIGHT"
>  makes no visible difference.
>
> Can you advise please?
>
> Regards,
> John
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to