summaryrefslogtreecommitdiff
path: root/help/opie-sh/node8.html
Unidiff
Diffstat (limited to 'help/opie-sh/node8.html') (more/less context) (ignore whitespace changes)
-rw-r--r--help/opie-sh/node8.html76
1 files changed, 76 insertions, 0 deletions
diff --git a/help/opie-sh/node8.html b/help/opie-sh/node8.html
new file mode 100644
index 0000000..9264660
--- a/dev/null
+++ b/help/opie-sh/node8.html
@@ -0,0 +1,76 @@
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2
3<!--Converted with LaTeX2HTML 2002-1 (1.68)
4original version by: Nikos Drakos, CBLU, University of Leeds
5* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
6* with significant contributions from:
7 Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8<HTML>
9<HEAD>
10<TITLE>Buttons</TITLE>
11<META NAME="description" CONTENT="Buttons">
12<META NAME="keywords" CONTENT="opie-sh-howto">
13<META NAME="resource-type" CONTENT="document">
14<META NAME="distribution" CONTENT="global">
15
16<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
17<META NAME="Generator" CONTENT="LaTeX2HTML v2002-1">
18<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
19
20<LINK REL="STYLESHEET" HREF="opie-sh-howto.css">
21
22<LINK REL="next" HREF="node9.html">
23<LINK REL="previous" HREF="node7.html">
24<LINK REL="up" HREF="node6.html">
25<LINK REL="next" HREF="node9.html">
26</HEAD>
27
28<BODY >
29<!--Navigation Panel-->
30<A NAME="tex2html134"
31 HREF="node9.html">
32<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 SRC="file:/usr/local/share/lib/latex2html/icons/next.gif"></A>
34<A NAME="tex2html130"
35 HREF="node6.html">
36<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 SRC="file:/usr/local/share/lib/latex2html/icons/up.gif"></A>
38<A NAME="tex2html124"
39 HREF="node7.html">
40<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 SRC="file:/usr/local/share/lib/latex2html/icons/prev.gif"></A>
42<A NAME="tex2html132"
43 HREF="node1.html">
44<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 SRC="file:/usr/local/share/lib/latex2html/icons/contents.gif"></A>
46<BR>
47<B> Next:</B> <A NAME="tex2html135"
48 HREF="node9.html">Icons</A>
49<B> Up:</B> <A NAME="tex2html131"
50 HREF="node6.html">Usage</A>
51<B> Previous:</B> <A NAME="tex2html125"
52 HREF="node7.html">General</A>
53 &nbsp <B> <A NAME="tex2html133"
54 HREF="node1.html">Contents</A></B>
55<BR>
56<BR>
57<!--End of Navigation Panel-->
58
59<H3><A NAME="SECTION00031200000000000000">
60Buttons</A>
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:
63
64<P>
65<PRE>
66opie-sh -m -0 "Ok" -1 "Cancel"
67</PRE>
68
69<P>
70<BR><HR>
71<ADDRESS>
72
732002-05-15
74</ADDRESS>
75</BODY>
76</HTML>