home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
x
/
volume19
/
wkshTree
/
part01
/
MenuShell
< prev
next >
Wrap
Text File
|
1993-04-28
|
748b
|
31 lines
# Create menuShell from button pressed by user
MenuShell()
{
cps POPUP "WkshTree:Menu" popupWindowShell $PANE \\\n
maxHeight:100 maxWidth:200
acb $POPUP popdownCallback "PopdownCB $POPUP"
cps MENUSHELLPOP "Menu" menuShell $POPUP_UCA \\\n
pushpin:out
cmw TMP ca controlArea $MENUSHELLPOP_MP \\\n
layoutType:fixedcols measure:1
cmw SAVE Save... oblongButton $TMP \\\n
buttonType:$BUTTON
cmw OPEN Open... oblongButton $TMP \\\n
buttonType:$BUTTON
cmw PROP Properties... oblongButton $TMP \\\n
buttonType:$BUTTON
cmw EXIT Exit... oblongButton $TMP \\\n
buttonType:$BUTTON
cmw STRING text staticText $POPUP_UCA \\\n
string:"MenuShell: Press MenuButton for menu"
addbuttons $POPUP_LCA \\\n
Ok " "
pu $POPUP GrabNone
}