ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Johannes Hüsing" <hannes@ruhrau.de>
Subject: interaction with radio buttons
Date: Sat, 1 Nov 2003 10:50:44 +0100	[thread overview]
Message-ID: <20031101095044.GA797@ruhrau.de> (raw)

Dear all,

using the example of radiobuttons in uptodate 1998-01, I fail to get
the buttons interactive. When using the pdf doc with Acrobat Reader,
the buttons are there but the cursor won't give me the finger when
it hovers over them, nor does clicking have any effect.

Is there anything I fail to observe?

Groetjes


Johannes

\setupoutput[pdftex]
\setupinteraction[state=start]

\setupcolors[state=start]

\useJSscripts[fld] 

\definesymbol [yes-a] [$\times$] 
\definesymbol [yes-b] [$\star$] 
\definesymbol [nop-a] [$\bullet$] 
\definesymbol [nop-b] [$-$]

\definefield [example-1] [radio] [setup 1] [ex-a,ex-b,ex-c] [ex-c]
\definesubfield [ex-a,ex-b,ex-c] [setup 1] [yes-a,nop-a]

\clonefield [ex-a] [ex-p] [setup 2] [yes-b,nop-b] 
\clonefield [ex-b] [ex-q] [setup 2] [yes-b,nop-b] 
\clonefield [ex-c] [ex-r] [setup 2] [yes-b,nop-b]

\copyfield [ex-a] [ex-x] 
\copyfield [ex-b] [ex-y] 
\copyfield [ex-c] [ex-z]

\setupfield [setup 1] [width=1cm,height=1cm,framecolor=red] 
\setupfield [setup 2] [width=.75cm,height=.75cm]

\starttext
\hbox to \hsize
{\field[ex-a]\hfil\field[ex-b]\hfil\field[ex-c]\hfil\hfil 
  \field[ex-p]\hfil\field[ex-q]\hfil\field[ex-r]\hfil\hfil 
  \field[ex-x]\hfil\field[ex-y]\hfil\field[ex-z]}

\stoptext
-- 
Johannes Hüsing   There is something fascinating about science. One gets
hannes@ruhrau.de  such wholesale returns of conjecture from such a 
                  trifling investment of fact.                Mark Twain

             reply	other threads:[~2003-11-01  9:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-01  9:50 Johannes Hüsing [this message]
2003-11-01 21:50 ` Patrick Gundlach
2003-11-02  5:58   ` Johannes Hüsing
2003-11-02 10:42     ` Johannes Hüsing
2003-11-12 20:00       ` Johannes Hüsing
2003-11-02 10:49     ` Patrick Gundlach
2003-11-03  9:13       ` Hans Hagen
2003-11-03 19:38       ` Johannes Hüsing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031101095044.GA797@ruhrau.de \
    --to=hannes@ruhrau.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).