|
|
#111 |
|
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)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' |
|
|
|
|
|
#112 |
|
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)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.DESK_ON, DESK_OFF & DESK_UP PRT_ON, PRT_OFF & PRT_UP CALC |
|
|
|
|
|
#113 |
|
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')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'DESK_ON |
|
|
|
|
|
#114 |
|
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')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'DESK_OFF |
|
|
|
|
|
#115 |
|
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')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' |
|
|
|
|
|
#116 |
|
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')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'PRT_ON |
|
|
|
|
|
#117 |
|
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')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'PRT_OFF |
|
|
|
|
|
#118 |
|
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')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' |
|
|
|
|
|
#119 |
|
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')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'SHOW_ON |
|
|
|
|
|
#120 |
|
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')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'SHOW_OFF |
|
|
|