INFIMG

Contents


Infimg displays an icon in the status bar.

 

Syntax

   Infimg image_no   Titled title_exp

 

Parameters

Element

Description

Restrictions

image_no

Whole number of an icon number

title_exp

Alphanumeric expression of the icon title

 

Examples

  # Loading of the IMG variable with the icon number
$NUM_IMAGE
Local Integer IMG
Case NUMERO
When 1: IMG = 260:
# Information Panel
When 2: IMG = 238:
# Paperclip
When 3: IMG = 279:
# Padlock
When 4: IMG = 132:
# Text Sheet
When 5: IMG = 146:
# White cross on red background
When 6: IMG = 155:
# Paper attached with a blue thumbtack
When Default: IMG = 0
Endcase
Return

# Display of an icon
Infimg IMG Titled ""

# Deletion of an icon
Infimg -IMG Titled ""

 

Description and Comments

Infimg displays or deletes an icon from the status bar at the bottom of the screen.

The following icon numbers should be specified:

Image_no

Icon

Meaning

260

Information Panel:

Comment

238

Paperclip

Attachments

279

Padlock

Locked Element

132

Text Sheet

Related Text

146

White Cross on Red Background

Read only

155

Paper attached with a blue thumbtack

Memo

To display an icon, the image_no is positive.

To delete an icon, the image_no is negative.

The Titled clause will display a title when you leave the mouse on the icon. This parameter is mandatory. It does not work in this version.

 

This instruction is only used by the supervisor. Rather, you will use the following:

·         To Display an icon, the SET_IMAGE subroutine of the GESECRAN process

·         To Delete an icon, the RESET_IMAGE subroutine of the GESECRAN process

With the icon code defined below as a parameter:

Icon Code

Icon

1

Information Panel:

2

Paperclip

3

Padlock

4

Text Sheet

5

White Cross on Red Background

6

Paper attached with a blue thumbtack

 

Associated Errors

Error

Description

 

Associated Keywords

 


Contents


Copyright © Sage 1999 - 2007