Reference MWAPI

Appendix C: Objects at a Glance

OBJECTS

This appendix was designed to be used as an aid during application development. Each object, or object type, is listed with its attributes, applicable event types, and syntax. Illustrations of the visual elements are included within Chapters 1 through 9, so you can envision how the window and element will look in your application. The goal is to provide a quick reference; the details will be found in Chapters 1 through 9.

LOGICAL DISPLAY

Attributes

  • BCOLOR

  • CLIPBOARD

  • COLOR

  • COLORTYPE

  • FCOLOR

  • FFACE

  • FOCUS

  • FSIZE

  • FSTYLE

  • KEYBOARD

  • PEN

  • PLATFORM

  • PTR

  • PTYPE

  • SIZE

  • SPECTRUM

  • TBCOLOR

  • TFCOLOR

  • TYPEFACE

  • UNITS

Notes
  1. Use $PD when referring to the current logical display.

  2. Attribute syntax:

    S ^$DI(display name, display attribute)=value

WINDOW

The MWAPI defines two types of windows: application and MTERM. Application windows provide the basis for a GUI front end complete with the ability to have child windows and elements. MTERM windows provide terminal emulation to M applications using legacy code.

Notes
  1. A window name is limited to 31 characters.

  2. An M process can not have more than 31 windows.

APPLICATION

Attributes

  • ACTIVE

  • BCOLOR

  • COLOR

  • DEFBUTTON

  • DISPLAY

  • EVENT

  • FCOLOR

  • FFACE

  • FSIZE

  • FSTYLE

  • ICON

  • ICONIFY

  • ID

  • ITITLE

  • MENUBAR

  • MIN

  • MODAL

  • NEXTG

  • PARENT

  • POS

  • PTYPE

  • RESIZE

  • SCROLL

  • SIZE

  • SIZEMIN

  • SIZEWIN

  • TBCOLOR

  • TFCOLOR

  • TIED

  • TITLE

  • TYPE

  • UNITS

  • TYPE

  • VISIBLE

Event Types

  • CHAR

  • CLICK

  • CLOSE

  • DBLCLICK

  • FOCUS

  • HELP

  • KEYDOWN

  • KEYUP

  • MAX

  • MIN

  • MOVE

  • PDOWN

  • PDRAG

  • PMOVE

  • PUP

  • RESIZE

  • RESTORE

  • UNFOCUS

Note
  1. TYPE attribute value equals APPLICATION.

MTERM

Attributes

  • DISPLAY

  • MODAL

  • POS

  • RESIZE

  • SIZE

  • TITLE

  • TYPE

  • UNITS

Event Types

  • NONE

Notes

UNLIMITED FREE ACCESS TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Windows
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.