Antwort schreiben...
 
Themen-Optionen Thema durchsuchen
Alt 12.10.2012, 00:23   #111
leecher
Moderator
CALC

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

Passes a value to the calculator and makes it appear

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

The CALC function is similar to the compiler CALCULATOR statement.
However, using this function may be passed a value and that is placed
in the calculator.

The function returns the current calculator value.

S y n t a x

Code:
answer = call ('CALC' , value)
P a r a m e t e r

value - an integer or decimal value that is placed in the calculator
memory

R e t u r n s

A decimal value.

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

Code:
attach 'DESK'
a = call ('CALC' , 3.142)   ! the value is passed to the calculator
			    ! and the calculator appears 
detach 'DESK'
Angehängte Dateien
Dateityp: oac DESK.OAC‎ (15.5 KB, 3x aufgerufen)
leecher ist offline   Mit Zitat antworten
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
Alt 12.10.2012, 00:27   #113
leecher
Moderator
DESK_OFF

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

Disables the desktop

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

This quick routine prevents the desk from appearing when the user
presses F8.

S y n t a x

Code:
bool = call ('DESK_OFF')
P a r a m e t e r

There are no parameters for this procedure

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_OFF')      ! the desk will not appear when F8 is pressed
detach 'DESK'
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
leecher ist offline   Mit Zitat antworten
Alt 12.10.2012, 00:28   #114
leecher
Moderator
DESK_ON

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

Allows the desktop to appear

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

This quick routine re-enables the desk, so that it will appear
when F8 is pressed.

S y n t a x

Code:
bool = call ('DESK_ON')
P a r a m e t e r

There are no parameters for this procedure

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_ON')       ! the desk will now appear when F8 is pressed
detach 'DESK'
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_OFF
leecher ist offline   Mit Zitat antworten
Alt 12.10.2012, 00:29   #115
leecher
Moderator
DESK_UP

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

Makes the desktop pop-up

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

A quick routine to make the desktop appear, as though the user had
pressed F8.

S y n t a x

Code:
bool = call ('DESK_UP')
P a r a m e t e r

There are no parameters for this procedure

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_UP')       ! the desk appears immediately unless the
			   ! the desktop is disabled. 
detach 'DESK'
leecher ist offline   Mit Zitat antworten
Alt 12.10.2012, 00:30   #116
leecher
Moderator
PRT_OFF

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

Disables the <print screen:Alt F3>

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

This quick routine disables the print screen, so that it will not appear
when Alt F3 is pressed.

S y n t a x

Code:
bool = call ('PRT_OFF')
P a r a m e t e r

There are no parameters for this procedure

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 ('PRT_OFF')      ! the print screen function is disabled 
detach 'DESK'
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
PRT_ON
leecher ist offline   Mit Zitat antworten
Alt 12.10.2012, 00:31   #117
leecher
Moderator
PRT_ON

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

Allows <print screen:Alt F3> to occur

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

This quick routine re-enables the print screen, so that it will appear
when Alt F3 is pressed

S y n t a x

Code:
bool = call ('PRT_ON')
P a r a m e t e r

There are no parameters for this procedure

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 ('PRT_ON')       ! the print screen printer selection will now 
			  ! appear when Alt F3 is pressed
detach 'DESK'
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
PRT_OFF
leecher ist offline   Mit Zitat antworten
Alt 12.10.2012, 00:32   #118
leecher
Moderator
PRT_UP

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

Pops up the <print screen:Alt F3> menu

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

This quick routine performs a print screen.

S y n t a x

Code:
bool = call ('PRT_UP')
P a r a m e t e r

There are no parameters for this procedure

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 ('PRT_UP')       ! the print screen function appears 
detach 'DESK'
leecher ist offline   Mit Zitat antworten
Alt 12.10.2012, 00:33   #119
leecher
Moderator
SHOW_OFF

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

Disable the display of screens

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

This simple to use routine turns off Open Access's ability to alter
the screen.

Although this is a function covered by the DESK function, this is easier
to call.

S y n t a x

Code:
bool = call ('SHOW_OFF')
P a r a m e t e r

There are no parameters for this procedure

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('SHOW_OFF')    ! The screen refresh is turned off 
detach 'DESK'
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
SHOW_ON
leecher ist offline   Mit Zitat antworten
Alt 12.10.2012, 00:34   #120
leecher
Moderator
SHOW_ON

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

Re-enable the display of screens

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

This simple to use routine turns back on Open Access's ability to alter
the screen.

Although this is a function covered by the DESK function, this is easier
to call.

S y n t a x

Code:
bool = call ('SHOW_ON')
P a r a m e t e r

There are no parameters for this procedure

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('SHOW_ON')    ! The screen refresh is turned back on
detach 'DESK'
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
SHOW_OFF
leecher ist offline   Mit Zitat antworten


Antwort schreiben...

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche