HomeBuy SoftwareDownload SoftwareLatest NewsGet HelpAbout Applian

CoolCalc for the Pocket PC
Users Guide

 

Contents

QuickStart

Basic Calculator
Basic RPN Calculator
Tip Calculator
Scientific RPN Calculator
Scientific Calculator
Loan Calculator
Time Value of Money Calculator
Computer Math Calculator
Currency Converter
Date Calculator
Margin Calculator

Creating Macros
Customizing Calculators
Setting Button Properties
Menu Reference
Function Reference

Quick Start

Welcome to CoolCalc, the easiest, most powerful calculator for your Pocket PC. Only CoolCalc provides you with these awesome capabilities:

  • Easy access to 12 handy calculators.
  • Download from an ever-expanding library of free add-on calculators.
  • Customize the built-in calculators.
  • Create your own functions and calculator layouts.

You can use CoolCalc for a 15 day trial period before you need to register. When you're ready to register CoolCalc, just point your browser here:

http://www.applianmobile.com/pocketpc

The Basic, Basic RPN, and Tip calculators are yours to use as long as you like. The other calculators require you to register if you want to use them after the trial period.

Basic Stuff

To move between different calculators, use the Go menu, and select the calculator you wish to use.

Every calculator button can tell you what it does. Tap the properties button on the menu bar at the bottom of the display,  then tap one of the calculator buttons. Try it now!

About Installation and File Locations

CoolCalc installs its files into 2 directories:

  • CoolCalc's Program files reside in \Program Files\CoolCalc
  • All macro files (*.mac) and layouts (*.lay) are initially installed into your \My Documents folder. You may move these to \Program Files\CoolCalc if you prefer. However, moving these files causes them not to appear when you use the File, Open menu command.

 

The Basic Calculator

basic.gif (6706 bytes)

The Basic Calculator is self-explanatory, with the exception of the following buttons:

  • Memory: Press the Memory button to save the contents of the display in memory. The box to the right of the Memory button has the value currently stored. To recall the memory, tap on the box to the right of the Memory.
  • SWP: This button swaps the last 2 values entered. For example, suppose you want to find 5 divided by 2, but pressed 2 before 5. Before tapping on the equals key, press SWP to reverse the order of the values.
  • Blank Buttons: One of the advantages of having a simple, uncluttered calculator, is leaving some space for your own commonly used functions. CoolCalc's macro feature lets you assign a series of button presses to a single button. For example, you could make a "tip" function to calculate a 15% tip on your restaurant bill. See how to do this in the Macros section.

The Basic RPN Calculator

basicrpn.gif (7015 bytes)

The Basic RPN Calculator has a stack view, two memory slots, and the ability to enter numbers in Scientific notation.  Here's an explanation of some of the non-obvious choices:

  • STO1, RCL1, STO2, RCL2: These buttons store and recall values into memory.  STO1 and RCL1 operate on memory register #1, and STO2 and RCL2 operate on register #2.
  • EEX: This function lets you enter numbers in Scientific notation. You can also use the +/- button to modify the exponent. Try it!
  • ENT: RPN calculators have no = button.   Instead, you type in a number, press ENT to "enter" it, type in a second number, and press the operation. This has proven quite popular on HP calculators.
  • Stack: This display shows you the RPN stack.  Each time you press ENT or do an operation, the contents of this window change.  Note that although the number in the main display is technically a part of the stack, it does not show in the stack window. 

The Tip Calculator

tipcalc.gif (5918 bytes)

The Tip Calculator makes it easy to figure out how much everybody in your party owes for dinner. Simply enter the amount, the number of parties, and the desired tip percentage, and the Tip Calculator tells you how much each payer owes.

For example, if you receive a bill of $125 which you want to split three ways, and leave a 15% tip, here's how you figure out how much everybody owes:

  1. Enter 125, then press Set Amount.
  2. Enter 3, then press Set No. People.
  3. Enter 15, then press Set Tip %.
  4. Press the ? button next to Tip $.

The amount everybody owes shows in the display as $47.92.

The Scientific RPN Calculator

scirpn.gif (8605 bytes)

This calculator is for hard-core engineers who know HP's RPN system. (If you don't know what RPN is, you should skip this section). CoolCalc's stack can go 100 levels deep, and this calculator has a stack view window, so you know exactly where you are. Most of these functions will be very familiar to you, but the following functions may need some clarification:

  • ARC: This function modifies the behavior of the sin, cos, and tan buttons, to give you the arcsine, arccosine and arctangent. For example, to find the arcsine of .7071, press ARC, then sin, and you'll get your answer: 45. (Note: CoolCalc defaults to doing trigonometric functions in degrees, but you can easily shift to working in Radians by tapping the RAD button. The RAD button will convert the value in the display from degrees to radians as well. You can use the DEG button to go back to degrees.
  • HYP: This is like the ARC button, but makes sin, cos, and tan into the hyperbolic sine, hyperbolic cosine and hyperbolic tangent functions.
  • ClStk: Clears the entire stack.
  • Roll: Pops the last value off of the stack.
  • STO, RCL: Stores and recalls a single value in memory.

 

The Scientific Calculator (non-RPN)

scicalc.gif (8573 bytes)

The non-RPN Scientific Calculator has all of the standard scientific functions, plus a few empty buttons for macros. Here's some of the CoolCalc specific functions you might not understand immediately:

  • Sto1, Rcl1, Sto2, Rcl2: This calculator has 2 memory slots. Sto1 saves the value of the display into memory #1, and Rcl1 recovers that value; likewise with Sto2 and Rcl2.
  • The blank buttons are saved for your own custom functions (see Macros).

The Loan Calculator

loans.gif (7277 bytes)

The Loan Calculator helps you plan loan scenarios. You can determine what a monthly payment will be, or given a target monthly payment, how much you can borrow. The buttons on the left hand side let you set different variables, which appear on the top of the display. The "?" buttons calculate a variable given the current values of the other three variables.

The Time Value of Money Calculator

tvm.gif (7336 bytes)

Similar to the Loan calculator, the Time Value of Money calculator lets you do "what-if" scenarios involving money, time and interest rates. Use the buttons on the left hand side to set your variables, and use the "?" buttons to find the value of a variable given the current values of the other variables.

The Computer Math Calculator

compmath.gif (8257 bytes)

The Computer Math Calculator does all the basic functions you need if you work with computers. You can display and convert binary (BIN), octal (OCT), decimal (DEC) and hexadecimal (HEX) numbers. You can also manipulate 16 bit or 32 bit numbers (the 16 bit and 32 bit keys). (The "32" you see on the top right of the screen shows you what bit size you're currently working with, and the current base is shown just to the right). STO and RCL are a single value memory. The remaining functions let you shift and rotate numbers, and do logical operations.

The Currency Converter

currency.gif (6639 bytes)

The Currency Converter is a great travelers aid. Just enter your exchange rate by pressing the "Set Exchange rate" button, then enter a value to convert to or from Dollars.

The Date Calculator

datecalc.gif (6487 bytes)

The Date Calculator lets you calculate the number of days between a starting and ending date. In addition, given a start date and a number of days, you can figure out the end date.

Example:

You arranged a legal contract that has a deadline of 100 days after signing, and you want to know when that date was. You signed the contract on January 7, 1999. What date falls 100 days after 1/7/99?

Enter 1/7/99, then tap Set Start Date. Next, enter 100 and tap Set Days. Finally, tap the ? button to the right of "End Date", and you'll get your answer: 4/17/1999.

Note: You can enter years as 2 digits or 4 digits.

The Margin Calculator

margins.gif (6646 bytes)

The Margin Calculator helps you calculate Costs, Price and Margin. For example, enter 100, then press Set Cost. Next enter 200, and press Set Price.  Finally, press the ? button next to the margin value, and the margin is calculated.  You could also use the same procedure to solve for Price or Cost by entering any two of the other variables, and then pressing the ? button next to the third.

Creating Macros

Macros are simple way for you to create your own personal functions by recording a series of button presses. For example, here's how to program a "tip" key into the basic calculator:

  1. First, make the Basic calculator appear. Select Go, then Basic from the menu.
  2. Enter a sample value before starting to record. (Remember, creating a macro is just like recording a series of button presses.) Enter 10.
  3. Now start recording. Select File, Record Macro from the menu.
  4. You will be asked for a name of the macro. Enter "Tip".
  5. Now start entering the macro. To add the standard 15% enter X 1.15 =
  6. You're done entering the macro. Select File, End Record Macro.
  7. You will be prompted with the following: "OK to assign next button pressed to new macro?". Select Yes.
  8. Now, tap one of the blank buttons. On the face of that button should appear "Tip".
  9. Congratulations! You've successfully created your first macro.

Macros For Advanced Users:

You can also edit a macro. Select File, Edit Macro from the menu, then choose Tip. Each button you pressed shows up as a single line in the macro. You can change any of these lines, but be careful, as a mistake can destroy your macro! Make sure that all lines have two double quote characters in them.

Customizing Calculators

CoolCalc allows you to change the appearance and function of any button, as well as adding or deleting them. The key to this is using Program Mode.

To enter Program Mode, select View, Program Mode from the menu. You'll notice that the menu changes slightly. To go back to using the calculator, select View, Run Mode from the menu.

Once you enter Program Mode, you select a button, and then alter its position, size, appearance or function as follows:

  • To select a button: Tap the button to select. A large border will appear around the button, indicating that it is selected.
  • To move a button: Place the stylus in the center of the selected button, and drag the button around the screen. You can also open the pop-up keyboard, and use the arrow keys to move the selected button.
  • To resize a button: Place the stylus on the edge of a button, and drag the edge around.
  • To align other buttons with the selected button: Say you want to align other buttons with the top of a "master" button. Select the "master" button, then select Align from the menu, then select Top. From now on, any button you press will be aligned with the top of the "master" button. IMPORTANT: When you're done aligning, select Align from the menu, then select Off. You can align position, size, functions, colors and even sounds.
  • To undo any button movement: To undo a move or align, select Edit, then Undo Move from the menu. You can undo the last 100 button moves.
  • To change the button function, sound or appearance: Select the button, then press the properties icon(to the right of the menu). The button properties dialog appears. (See Button Properties .)

Don't forget to save your work! Once you've finished modifying a calculator, you'll want to save it. To save it under its current name, select File, Save from the menu. If you want to save it as a different calculator, select File, Save As. All new calculators are saved in the \My Documents folder.

When you've created a new calculator, you will want to place it on the Go menu. Simply open your new calculator, and select Go, Add to Menu.

Setting Button Properties

To change the function or appearance of any calculator button:

  1. Enter Program Mode (select View, Program Mode from the menu.)
  2. Tap the button you want to change.
  3. Tap the properties icon on the menu bar.
  4. The button properties dialog appears as shown below:

button_properties.gif (6343 bytes)

You can customize each button with the following options:

Function: This allows you to attach a function to the button. Calculator specific functions such as "plus" or "minus" always start with a letter from "a" to "z". Other functions, such as "_PlayMacro", start with the "_" character. This was done to separate layout functions from calculator functions.

Parameter: Some functions require a parameter. For example, the _PlayMacro function needs the name of the macro to play.

Alt. Keycap: This field lets you dictate how you want the button to appear. If you leave this field blank, then a default value will be used. If the Format field is "Text", then the text string you specify here will appear on the button. If you set the Format to "Bitmap", then the bitmap file (*.bmp) image will appear on the button.

Font: You can select a small, medium or large font to draw the text on the button. The small, medium and large fonts can be changed by the Edit menu command while in Program Mode.

Align: You can have the button text or bitmap image aligned left, center, or right.

Format: This is the display format for the button: Money, Text, Real Number, Integer, or Bitmap File. Most of the time, you should set this to Text or Bitmap. Money, Real Number and Integer are used with the _Variable or _Display functions.

Sound: Select the name of a sound file you want to hear when the button is pressed. The sound file listed reside in the \Windows directory on your device.

X, Y, Width, Height: These specify the position and size of the button. You can also change the position and size by dragging the button, or the edge of a button.

Set Text Color, Set Bkgd. Color: You can change the color of the text or background in most buttons.  You can pick a standard color, or enter values between 0 and 255 for the Red, Green, and Blue components of the color.  Look at some of the samples, or experiment! 

 

Menu Reference

This section describes the various menu functions. Note that the menu bar changes between Run Mode and Program Mode. (You can change modes by selecting View from the menu.)

File Menu

Open: Opens an existing layout, replacing the current layout.

Save: Saves the current layout, and all changes made to it.

Save As: Lets you save the current layout under a new name.

Properties: Lets you view the file name and function library for the current layout, and lets you change the title.

Edit Macro: Lets you select a macro file to edit using the built-in macro text editor.

Record Macro: Starts the process of recording a macro. To stop recording the macro, select End Record Macro from this same menu.

Refresh GO Menu: Updates the GO menu to reflect the addition of a CoolCalc add-on.

Help: Opens CoolCalc help.

About: Get the version number and other information about CoolCalc..

Edit Menu

Note: some menu items only appear in Program Mode (see the View menu).

Copy: Copies the contents of the display to the clipboard for pasting into other applications.

Execute Function: Lets you choose a function to execute manually. This is handy when the calculator you are using doesn't have a button for the function you wish to execute.

Sounds Enabled: This lets you turn on and off CoolCalc's sounds. If the menu item is checked, then sounds are enabled. This menu item is a toggle; if sounds are currently on, then selecting this item will turn sounds off, and vice-versa. Note that this only disables CoolCalc's sounds, not the screen tap noises that occur in other applications.

Undo Move: Undoes the effect of the last button move. The last 100 moves can be undone here.

Small Font, Medium Font, Large Font: Lets you modify the typeface, size, bold and italics for the designated small font, medium font, or large font for the current layout. Each button is be displayed using one of these three fonts. (See Button Properties.)

New Button: Allows you to create a new button in the current layout. Important: Once you select this option, you must tap the location for the new button.

Delete Button: Deletes the selected button. If the button is not blank, you will be asked to confirm the deletion.

View Menu

This menu lets you choose between Run Mode and Program Mode; note that there is a check mark next to the current mode.

Run Mode: The buttons all behave as they are programmed to do, and the menu bar changes.

Program Mode: Pressing a button selects it, and the menu bar changes to allow you to change button position and behavior.

Numeric Display: You can change the appearance of numbers in the display -- choose between engineering, scientific, floating or fixed decimal notations.

Go Menu (Run Mode Only)

NOTE: This menu is visible in Run Mode only! (See View menu.)

This menu lets you jump directly to various calculator screens, and maintain the list of screens in this menu.

Add to Menu: The current screen is added to the list in the Go menu. You can specify how the menu item should read.

Remove from Menu: The current screen is removed from the list in the Go menu.

Align Menu (Program Mode Only)

NOTE: This menu is visible in Program Mode only! (See View menu.)

This lets you align various buttons with the currently selected button. Important: once you have finished aligning buttons, you must turn off Align by selecting Off from the Align menu. The current align mode has a check mark by it.

Off: Turns off aligning.

Top: The next button or buttons pressed will align themselves with the top of the currently selected button.

Bottom: The next button or buttons pressed will align themselves with the bottom of the currently selected button.

Left: The next button or buttons pressed will align themselves with the left side of the currently selected button.

Right: The next button or buttons pressed will align themselves with the right side of the currently selected button.

Width: The next button or buttons pressed will take on the width of the currently selected button.

Height: The next button or buttons pressed will take on the height of the currently selected button.

Size: The next button or buttons pressed will take on the width and height of the currently selected button.

Sound: The sound assigned to the currently selected button will be copied to any buttons you tap.

Swap: The size and position of the next button pressed will be swapped with the size and position of the currently selected button.

Color: The color of the selected button will be copied to the next buttons you tap.

 

Function Reference

 

_functions (underbar functions) vs. functions

CoolCalc's function set is divided into two types of functions: calculator functions, and layout functions. To distinguish between the two, layout functions always start with the underbar character: "_". Also, note that the calculator can function in two modes: RPN, or non-RPN. Some functions won't work in certain modes; for example, the Enter function is meaningless in non-RPN mode, and the Equals function is meaningless in RPN mode.

When you look at a macro via the macro editor, you'll see something after each function name. These are parameters, and all functions can take a single parameter, although not all of them use one. Parameters are always text strings. If you look at a macro file in the macro editor, you will see functions like _AddDisplay:"1". The "1" is the parameter to the AddDisplay function, and this function adds the digit one to the display.

Another important point: some layout functions can not be assigned to buttons. These will not appear in the list of functions when you request the button properties. For example, you cannot have a button that changes the typeface of the small font. However, if you look at the layout macros, you will see some of these functions.

Calculator Function List

10 to the X: Calculates 10 to the power of the value in the display.

Absolute value: Make the value in the display positive.

Arc: Changes the result of the Sine, Cosine and Tangent functions to Arcsine, Arccosine or Arctangent. For example, to calculate the arc sine, you could press ARC, then SIN.

Arc Cosine: Calculate the arc-cosine of the display (in degrees or radians, depending upon the mode set using Set Radians Mode or Set Degrees Mode).

Arc Sine: Calculate the arc-sine of the display (in degrees or radians, depending upon the mode set using Set Radians Mode or Set Degrees Mode).

Arc Tangent: Calculate the arc-tangent of the display (in degrees or radians, depending upon the mode set using Set Radians Mode or Set Degrees Mode).

Change Sign: Changes the value in the display from positive to negative, or negative to positive.

ClearStack: Clears all values previously saved by pressing the Enter key (RPN mode), or by pressing the left parenthesis key (non-RPN mode). Use this in combination with the _Clear function to reset the calculator.

Convert Divide: Divide the value in the display by the parameter. This and Convert Multiply are used to quickly and easily make conversion calculator functions..

Convert Multiply: Multiply the value in the display by the parameter. (See Convert Divide.)

Cosine: Calculate the cosine of the display (in degrees or radians, depending upon the mode set using Set Radians Mode or Set Degrees Mode).

Divide: Divides the last two values.

E to the x: Calculate e to the power shown in the display.

Enter: Pushes the value in the display onto the stack (RPN mode only).

Equals: Finishes the calculation (non-RPN mode, only).

Factorial: Calculates the factorial (n!) of the value in the display.

Fractional Part: Changes the display to show only the fractional part. For example, 97.432 becomes 0.432.

Hyperbolic: Changes the result of the Sine, Cosine and Tangent functions to Hyperbolic Sine, Hyperbolic Cosine or Hyperbolic Tangent. For example, to get the hyperbolic sine, you could press HYP, then SIN.

Hyperbolic Cosine: Calculate the hyperbolic cosine of the display (in degrees or radians, depending upon the mode set using Set Radians Mode or Set Degrees Mode).

Hyperbolic Sine: Calculate the hyperbolic sine of the display (in degrees or radians, depending upon the mode set using Set Radians Mode or Set Degrees Mode).

Hyperbolic Tangent: Calculate the hyperbolic tangent of the display (in degrees or radians, depending upon the mode set using Set Radians Mode or Set Degrees Mode).

Integer part: Changes the display to show only the integer part. For example, 97.432 becomes 97.

Left Parenthesis: Used to do complicated calculations in non-RPN mode. This has the same effect as a "(" would in a formula.

Log base 10: Calculate the logarithm of the display.

Minus: Subtraction.

Multiply: Multiplication.

Natural Logarithm: Calculate the log to the base of e using the value in the display.

Percent: Percentage function. This mimics the percent function of standard calculators. For example, to figure out the total bill including the tip for a restaurant bill of $70, you could do: 70 + 15 % =

Plus: Perform Addition.

Random: Generates a random number between 0 and 4294967296 (2^32).

Reciprocal: Takes the reciprocal of the value in the display. (One divided by the value in the display).

Right Parenthesis: Ends a calculation started by a Left Parenthesis. This works only in non-RPN mode, and has the same effect as a ")" would in a formula.

Roll Stack: Removes the top entry from the RPN stack.

RPN Mode: Turns RPN mode on or off. This function requires a parameter of "On" to turn RPN mode on, and a parameter of "Off" to turn RPN mode off. The parameter is case sensitive.

Set Degrees Mode: All trig functions will calculate using degrees. Also converts the value in the display from radians to degrees.

Set Radians Mode: All trig functions will calculate using radians. Also converts the value in the display from degrees to radians.

Show Modes: This button will display the current modes of the calculator as follows: DEG for Degrees Mode, RAD for radians mode, ARC if the ARC button has been pressed, and HYP if the HYP (Hyperbolic) button has been pressed.

Sine: Calculate the sine of the display (in degrees or radians, depending upon the mode set using Set Radians Mode or Set Degrees Mode).

Square: Squares the display; i.e. multiplies the value in the display by itself.

Square root: Takes the square root of the value in the display.

Swap last 2 values: RPN mode only. Switches the last value pushed onto the stack via the Enter function with the value currently in the display.

Tangent: Calculate the tangent of the display (in degrees or radians, depending upon the mode set using Set Radians Mode or Set Degrees Mode).

View Stack: This displays the RPN stack, with the most recently entered number at the top of the display. The stack can be up to 100 entries, and the View Stack button will show as many entries as will fit in the size of the display.

Y to the x: The first value entered is raised to the power of the value in the display.

 

Programmers Calculator Function List

Add Digit: Adds a digit to the display.

And: Performs the AND operation.

Change Sign: Calculates the twos complement of the displayed number.

Clear: Clears the display.

Divide: Performs integer division.

Drop Digit: Removes the last digit from the number in the display. You may continue entering digits after doing this function.

Equals: The equals key on the calculator.

Memory Recall: Places the value previously stored by the Memory Store function onto the display.

Memory Store: Stores the value in the display into memory.

Minus: Perform subtraction.

Multiply: Perform multiplication.

Not: Calculates the ones complement of the number. Each bit in the number is inverted.

Plus: Perform addition.

Rotate Left: The bits in the number are shifted left, with the leftmost bit copied into the rightmost bit.

Rotate Right: The bits in the number are shifted right, with the rightmost bit copied into the leftmost bit.

Set Base: The base of the display is set to the value in the parameter. This can be any number from 2 to 32.

Set Bit Size: The size of the number in the display can be 16 or 32 bits; the parameter dictates the bit size.

Shift Left: All bits in the display number are moved one position to the left, and the rightmost bit becomes a zero.

Shift Right: All bits in the display number are moved one position to the right, and the leftmost bit becomes a zero.

Show Base: Displays the current base used in the display.

Show Bit Size: Displays the current bit size of the number in the display (16 or 32).

Show Calc Display: Shows the calculator display.

Xor: Perform a logical XOR function on 2 numbers.

 

Layout Function List

(blank): This does nothing. Blank buttons needed to be assigned to some function. (Note that the name of this function starts with a space character. This insures it is the first function to appear in the list).

_AddButton: (Layout only) Starts the definition of a new button. The button won't be created until the left, right, top and bottom points of the button are specified via the _SetButtonLeft, _SetButtonRight, _SetButtonTop, and _SetButtonBottom functions are called.

_AddDisplay: Adds the parameter text to the display.

_Backspace: Erases the last character entered via _AddDisplay from the display.

_Clear: Clears the display.

_Display: This doesn't do anything in itself, but any button that has the _Display function assigned to it will show the value in the display. Note that the button format should be Real Number.

_EnterText: Clears the display, then enters the parameter into the display. This is useful for setting up constants such as pi or e.

_EraseVariables: Erases all variables.

_Help: Launches help. The help file to be launched is the parameter.

_Label: (Layout Only) This does nothing, but a button assigned to the _Label function will display the parameter, but won't have the gray background and border normally associated with a button.

_ModifyLargeFont: (Layouts only). The ensuing font functions will relate to the Large Font.

_ModifyMediumFont: (Layouts only). The ensuing font functions will relate to the Medium Font

_ModifySmallFont: (Layouts only). The ensuing font functions will relate to the Small Font

_PlayMacro: The macro specified in the parameter is played. This can be a new layout, or any other type of macro.

_Precision: The parameter value is used to set the precision for real number display.

_RecallRegistryVariable: Inserts the registry variable named in the parameter into the display. (Registry variables are saved permanently in the registry).

_RecallVariable: Inserts the variable named in the parameter into the display.

_ResetButtons: (Layout only). This erases all buttons from the screen. Macros that launch a new layout MUST call this function before any new buttons are defined.

_SetButtonAlignment: (Layout only). The parameter is the alignment ("Left", "Center", or "Right") for the new button we're defining. This must be preceded by the _AddButton function.

_SetButtonBottom: (Layout only). Sets the bottom coordinate for the button currently being added.

_SetButtonFont: (Layout only). The parameter dictates the font to assign to the button currently being added. The parameter can be "0" for Small, "1" for Medium or "2" for Large.

_SetButtonFormat: (Layout only). The parameter dictates the format to assign to the button currently being added. The parameter can be "0" for money, "1" for a non-integer number, "2" for text, "3" for an integer, and "4" for a bitmap file.

_SetButtonFunction: (Layout only). The parameter has the name of the function to assign to the button currently being added.

_SetButtonKey: (Layout only). The parameter is the keyboard equivalent for the button. You can see a list of legal keystrokes from the button properties menu (Go into Program Mode, then hold down Alt and select a button).

_SetButtonKeycap: (Layout only). The parameter has the text for the button display of the button currently being added.

_SetButtonLeft: (Layout only). Sets the left coordinate for the button currently being added.

_SetButtonParameter: (Layout only). The parameter has the text of the parameter to assign to the button currently being added.

_SetButtonSound: (Layout only). The parameter has the name of a sound file to play when the button is pressed. The .wav extension is not needed in the name of the sound file. The sound file must reside in the \Windows directory.

_SetButtonRight: (Layout only). Sets the right coordinate for the button currently being added.

_SetButtonTop: (Layout only). Sets the top coordinate for the button currently being added.

_SetDefaultButtonHeight: (Layout only) New buttons get the value of the parameter as their height.

_SetDefaultButtonWidth: (Layout only) New buttons get the value of the parameter as their width.

_SetDisplayHeight: (Layout only) The height of the screen in which this layout was created. This is used so that if the layout is displayed on another device with a different screen size, the layout will scale properly.

_SetDisplayWidth: (Layout only) The width of the screen in which this layout was created. This is used so that if the layout is displayed on another device with a different screen size, the layout will scale properly.

_SetFontBold: (Layout only) The boldness of the font being defined is set. A parameter of "0" means non-bold, "1" means bold. (See also _ModifySmallFont, _ModifyMediumFont or _ModifyLargeFont)

_SetFontFace: (Layout only) The typeface of the font being defined is set. The parameter has the name of the typeface. (See also _ModifySmallFont, _ModifyMediumFont or _ModifyLargeFont)

_SetFontItalic: (Layout only) The italics of the font being defined is set. A parameter of "0" means non-italic, "1" means italic. (See also _ModifySmallFont, _ModifyMediumFont or _ModifyLargeFont)

_SetFontSize: (Layout only) The size of the font being defined is set. The parameter is the size is in points. (See also _ModifySmallFont, _ModifyMediumFont or _ModifyLargeFont).

_SetFunctionLibrary: (Layout only) Assign a function library to the current layout. This MUST be a part of every layout macro.

_SetRegistryVariable: The parameter contains the name of a registry variable to be assigned to the value of the display. Registry variables are stored in the system registry, and hence, are permanently saved, even when the CoolCalc program is terminated.

_SetStatus: The parameter holds the text to be displayed in the status display.

_SetTitle: (Layout only) Sets the title of the current layout to the parameter string.

_SetVariable: The parameter contains the name of a variable to be assigned to the value of the display.

_ShowRegistryVariable: A button with this function assigned to it displays the value of the registry variable named in the parameter. Make sure to set the format of the button properly when using this function; for example, a numeric variable should have type Real Number.

_ShowStatus: A button with this function assigned to it displays the value of the current status string. The status string is set with the _SetStatus function, but may change depending upon whether Program Mode is active, or if a macro is being recorded. The status button is usually placed alongside the top menu bar.

_ShowVariable: A button with this function assigned to it displays the value of the variable named in the parameter. Make sure to set the format of the button properly when using this function.

 

 

APPLIAN HOME   |   ORDER   |   DOWNLOAD   |   NEWS   |   SUPPORT   |   COMPANY 

Copyright © 1997-2005 Applian Mobile Inc..
http://www.applian.com info@applian.com