Button_Bitmap_Create_View

Creates a button with the specified bitmap name. This command is the same as Button_Bitmap_Create_Emulation, except that the screen position is used instead of text position, allowing the button to always be visible.

If Button_Bitmap_Create_View is used to create a button at position 1,1, that button will always be in the upper-left corner of the Terminal Emulation view screen. A Button_Bitmap_Create_Emulation button will be hidden if the emulation text at that location is hidden.

A bottom and/or right value of 1000 represents the bottom or right side of the screen. For example, a button at position 1,990 would start 11 columns left of the upper-right corner of the screen.

Each time the button is pressed, the Boolean variable specified will be set to TRUE. You will need to reset the variable if you want to detect future button presses. The Wait_For_Screen_Update action can be used to wait for a button to be pressed. All buttons created by the script will be removed when the script exits.

Parameters

Bitmap Name

The name of the bitmap.

Row

The top of the bitmap starts in this text row.

Column

The left side of the bitmap starts in this text column.

Pressed

Indicates whether the button has been pressed by the user.

Format

Button_Bitmap_Create_View ("Bitmap Name", Row, Column, Pressed)

Example

Script( Button_Bitmap_Create_View_Test )
Boolean( Pressed )
Activate( From_Menu )
Button_Bitmap_Create_View( "STOPCONTROL", 1000, 1000, Pressed )
While_Not( Pressed )
Wait_For_Screen_Update
End_While
Button_Remove_All
Return

See Also

Button_Bitmap_Create_Emulation, Button_Create_Emulation, Button_Create_View, Button_Remove, Button_Remove_All

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal