Einzelnen Beitrag anzeigen
Alt 12.10.2012, 00:25   #112
leecher
Moderator
DESK

E r g e b n i s / R e s u l t

Offers a variety of controls over the desktop accessories

B e s c h r e i b u n g / D e s c r i p t i o n

Many developers have requested a way to prevent users accessing the
desk or print screen at inconvenient moments.

This function can prevent parts of the desktop appearing and,
additionally, can also cause them to appear.

S y n t a x

Code:
bool = call ('DESK' , option)
P a r a m e t e r

option - the DESK function can perform many operations depending on
the option passed to it. These are the options -

0 reset everything - turn everything back on

1 disable the desk accessories
2 disable the print screen
3 turn off the screen
4 turn off all pop-ups

101 enable the desk accessories
102 enable the print screen
103 turn on the screen
104 turn on all pop-ups

201 bring up the desktop
202 bring up the print screen
203 bring up the macro
204 bring up the alarm
205 bring up the stop watch
206 bring up the calculator


R e t u r n s

A boolean value.

B e i s p i e l / E x a m p l e

Code:
attach 'DESK'

a = call ('DESK' , 1)      ! the desk will not appear when F8 is pressed

detach 'DESK'              ! the desk is STILL disabled and can only
			   ! be re-enabled during this run of Open
			   ! Access by calling DESK with an option of
			   ! 0 or 101.
Q u e r v e r w e i s / C r o s s R e f e r e n c e

DESK_ON, DESK_OFF & DESK_UP
PRT_ON, PRT_OFF & PRT_UP
CALC
leecher ist offline   Mit Zitat antworten