templeos-info/public/Wb/Home/Doc/Menus.DD.HTML

65 lines
3.6 KiB
Plaintext
Raw Normal View History

2024-03-24 21:24:44 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="generator" content="TempleOS V5.03">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="/style/templeos.css">
<script src="/script/templeos.js"></script>
<style type="text/css">
.cF0{color:#000000;background-color:#ffffff;}
.cF1{color:#0000aa;background-color:#ffffff;}
.cF2{color:#00aa00;background-color:#ffffff;}
.cF3{color:#00aaaa;background-color:#ffffff;}
.cF4{color:#aa0000;background-color:#ffffff;}
.cF5{color:#aa00aa;background-color:#ffffff;}
.cF6{color:#aa5500;background-color:#ffffff;}
.cF7{color:#aaaaaa;background-color:#ffffff;}
.cF8{color:#555555;background-color:#ffffff;}
.cF9{color:#5555ff;background-color:#ffffff;}
.cFA{color:#55ff55;background-color:#ffffff;}
.cFB{color:#55ffff;background-color:#ffffff;}
.cFC{color:#ff5555;background-color:#ffffff;}
.cFD{color:#ff55ff;background-color:#ffffff;}
.cFE{color:#ffff55;background-color:#ffffff;}
.cFF{color:#ffffff;background-color:#ffffff;}
</style>
</head>
<body>
<pre id="content">
<a name="l1"></a><span class=cF0>A pull-down menu appears when you move the mouse to the top of the scrn. Menus
<a name="l2"></a>are created with </span><a href="/Wb/Adam/Menu.HC.HTML#l150"><span class=cF4>MenuPush</span></a><span class=cF0>(), </span><a href="/Wb/Adam/Menu.HC.HTML#l158"><span class=cF4>MenuFilePush</span></a><span class=cF0>(), </span><a href="/Wb/Adam/Menu.HC.HTML#l85"><span class=cF4>MenuNew</span></a><span class=cF0>() or </span><a href="/Wb/Adam/Menu.HC.HTML#l103"><span class=cF4>MenuFile</span></a><span class=cF0>() and
<a name="l3"></a>assigned to </span><span class=cF4>Fs-&gt;cur_menu</span><span class=cF0>. The format is:
<a name="l4"></a>
<a name="l5"></a></span><span class=cF2>
<a name="l6"></a>File
<a name="l7"></a>{
<a name="l8"></a> Open(,'O');
<a name="l9"></a> Save(,'S');
<a name="l10"></a> Exit(,CH_SHIFT_ESC);
<a name="l11"></a>}
<a name="l12"></a>Edit {
<a name="l13"></a> Cut(,,SC_DELETE|SCF_SHIFT);
<a name="l14"></a> Paste(,,SC_INS|SCF_SHIFT);
<a name="l15"></a>}
<a name="l16"></a>Misc {
<a name="l17"></a> Opt1(MSG_CMD,M_OPTION1);
<a name="l18"></a> Opt2(MSG_CMD,M_OPTION2);
<a name="l19"></a>}
<a name="l20"></a>Help
<a name="l21"></a>{
<a name="l22"></a> Help(,'?');
<a name="l23"></a> About(,'/');
<a name="l24"></a>}
<a name="l25"></a></span><span class=cF0>
<a name="l26"></a>The first arg is the msg code and it is optional with the default being </span><span class=cF4>
<a name="l27"></a></span><a href="/Wb/Kernel/KernelA.HH.HTML#l3189"><span class=cF4>MSG_KEY_DOWN_UP</span></a><span class=cF0>. The second arg is the msg </span><span class=cF2>arg1</span><span class=cF0> value which is </span><a href="/Wb/Kernel/KernelA.HH.HTML#l3426"><span class=cF4>ASCII</span></a><span class=cF0> of the key
<a name="l28"></a>in the case of </span><a href="/Wb/Kernel/KernelA.HH.HTML#l3176"><span class=cF4>MSG_KEY_DOWN</span></a><span class=cF0>. The third arg is the msg </span><span class=cF2>arg2</span><span class=cF0> value which is the </span><span class=cF4>
<a name="l29"></a></span><a href="/Wb/Doc/CharOverview.DD.HTML#l1"><span class=cF4>scan_code</span></a><span class=cF0> of the key in the case of </span><a href="/Wb/Kernel/KernelA.HH.HTML#l3176"><span class=cF4>MSG_KEY_DOWN</span></a><span class=cF0>.
<a name="l30"></a>
<a name="l31"></a>Press </span><span class=cF2>&lt;CTRL-SHIFT-l&gt;</span><span class=cF0> and &quot;Insert ASCII/ScanCode&quot;.
<a name="l32"></a>
<a name="l33"></a>See </span><a href="/Wb/Demo/PullDownMenu.HC.HTML#l1"><span class=cF4>::/Demo/PullDownMenu.HC</span></a><span class=cF0>.
</span></pre></body>
</html>