summaryrefslogtreecommitdiff
path: root/help/opie-sh/node8.html
Unidiff
Diffstat (limited to 'help/opie-sh/node8.html') (more/less context) (show whitespace changes)
-rw-r--r--help/opie-sh/node8.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/help/opie-sh/node8.html b/help/opie-sh/node8.html
index 9264660..90045ed 100644
--- a/help/opie-sh/node8.html
+++ b/help/opie-sh/node8.html
@@ -8,62 +8,62 @@ original version by: Nikos Drakos, CBLU, University of Leeds
8<HTML> 8<HTML>
9<HEAD> 9<HEAD>
10<TITLE>Buttons</TITLE> 10<TITLE>Buttons</TITLE>
11<META NAME="description" CONTENT="Buttons"> 11<META NAME="description" CONTENT="Buttons">
12<META NAME="keywords" CONTENT="opie-sh-howto"> 12<META NAME="keywords" CONTENT="opie-sh-howto">
13<META NAME="resource-type" CONTENT="document"> 13<META NAME="resource-type" CONTENT="document">
14<META NAME="distribution" CONTENT="global"> 14<META NAME="distribution" CONTENT="global">
15 15
16<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> 16<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
17<META NAME="Generator" CONTENT="LaTeX2HTML v2002-1"> 17<META NAME="Generator" CONTENT="LaTeX2HTML v2002-1">
18<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> 18<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
19 19
20<LINK REL="STYLESHEET" HREF="opie-sh-howto.css"> 20<LINK REL="STYLESHEET" HREF="opie-sh-howto.css">
21 21
22<LINK REL="next" HREF="node9.html"> 22<LINK REL="next" HREF="node9.html">
23<LINK REL="previous" HREF="node7.html"> 23<LINK REL="previous" HREF="node7.html">
24<LINK REL="up" HREF="node6.html"> 24<LINK REL="up" HREF="node6.html">
25<LINK REL="next" HREF="node9.html"> 25<LINK REL="next" HREF="node9.html">
26</HEAD> 26</HEAD>
27 27
28<BODY > 28<BODY >
29<!--Navigation Panel--> 29<!--Navigation Panel-->
30<A NAME="tex2html134" 30<A NAME="tex2html134"
31 HREF="node9.html"> 31 HREF="node9.html">
32<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" 32<IMG WIDTH="20" HEIGHT="20" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 SRC="file:/usr/local/share/lib/latex2html/icons/next.gif"></A> 33 SRC="file:/usr/local/share/lib/latex2html/icons/forward.gif"></A>
34<A NAME="tex2html130" 34<A NAME="tex2html130"
35 HREF="node6.html"> 35 HREF="node6.html">
36<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" 36<IMG WIDTH="20" HEIGHT="20" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 SRC="file:/usr/local/share/lib/latex2html/icons/up.gif"></A> 37 SRC="file:/usr/local/share/lib/latex2html/icons/up.gif"></A>
38<A NAME="tex2html124" 38<A NAME="tex2html124"
39 HREF="node7.html"> 39 HREF="node7.html">
40<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" 40<IMG WIDTH="20" HEIGHT="20" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 SRC="file:/usr/local/share/lib/latex2html/icons/prev.gif"></A> 41 SRC="file:/usr/local/share/lib/latex2html/icons/back.gif"></A>
42<A NAME="tex2html132" 42<A NAME="tex2html132"
43 HREF="node1.html"> 43 HREF="node1.html">
44<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" 44<IMG WIDTH="20" HEIGHT="20" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 SRC="file:/usr/local/share/lib/latex2html/icons/contents.gif"></A> 45 SRC="file:/usr/local/share/lib/latex2html/icons/folder.gif"></A>
46<BR> 46<BR>
47<B> Next:</B> <A NAME="tex2html135" 47<B> Next:</B> <A NAME="tex2html135"
48 HREF="node9.html">Icons</A> 48 HREF="node9.html">Icons</A>
49<B> Up:</B> <A NAME="tex2html131" 49<B> Up:</B> <A NAME="tex2html131"
50 HREF="node6.html">Usage</A> 50 HREF="node6.html">Usage</A>
51<B> Previous:</B> <A NAME="tex2html125" 51<B> Previous:</B> <A NAME="tex2html125"
52 HREF="node7.html">General</A> 52 HREF="node7.html">General</A>
53 &nbsp <B> <A NAME="tex2html133" 53 &nbsp <B> <A NAME="tex2html133"
54 HREF="node1.html">Contents</A></B> 54 HREF="node1.html">Contents</A></B>
55<BR> 55<BR>
56<BR> 56<BR>
57<!--End of Navigation Panel--> 57<!--End of Navigation Panel-->
58 58
59<H3><A NAME="SECTION00031200000000000000"> 59<H3><A NAME="SECTION00031200000000000000">
60Buttons</A> 60Buttons</A>
61</H3> 61</H3>
62You can specify up to three buttons to appear on the bottom of the dialog. If you do not specify any buttons, there will be a single ``Ok'' button for the user to press. To specify the text of a button, use ``-n'', where n is the number of the button whose text you want to specify, starting with 0, and ending at 2. If you do not specify the text of a button, it will not be displayed. The number of the button the user presses is the return code of the program (if the user presses either of the built-in buttons on the top of the dialog, you will get a return code of -1). For example, the following will display a message box with two buttons, ``Ok'' and ``Cancel''. If the user presses ``Ok'', the return code is 0, if they press ``Cancel'', it is 1: 62You can specify up to three buttons to appear on the bottom of the dialog. If you do not specify any buttons, there will be a single ``Ok'' button for the user to press. To specify the text of a button, use ``-n'', where n is the number of the button whose text you want to specify, starting with 0, and ending at 2. If you do not specify the text of a button, it will not be displayed. The number of the button the user presses is the return code of the program (if the user presses either of the built-in buttons on the top of the dialog, you will get a return code of -1). For example, the following will display a message box with two buttons, ``Ok'' and ``Cancel''. If the user presses ``Ok'', the return code is 0, if they press ``Cancel'', it is 1:
63 63
64<P> 64<P>
65<PRE> 65<PRE>
66opie-sh -m -0 "Ok" -1 "Cancel" 66opie-sh -m -0 "Ok" -1 "Cancel"
67</PRE> 67</PRE>
68 68
69<P> 69<P>