Skip to content

Constants

Samuel Gomes edited this page Feb 12, 2024 · 2 revisions

InForm sets some global constants that are user-accessible.

Boolean

  • True
  • False

The traditional way of having boolean variables in QB64 is by setting True = -1, as it allows bit manipulation with operators like NOT, AND, OR, etc (False = NOT True).

  • __UI_Opaque
  • __UI_Transparent
  • __UI_Left
  • __UI_Center
  • __UI_Right
  • __UI_Top
  • __UI_Middle
  • __UI_Bottom

Buttons

  • MsgBox_OkOnly
  • MsgBox_OkCancel
  • MsgBox_AbortRetryIgnore
  • MsgBox_YesNoCancel
  • MsgBox_YesNo
  • MsgBox_RetryCancel
  • MsgBox_CancelTryAgainContinue

Icons

  • MsgBox_Critical
  • MsgBox_Question
  • MsgBox_Exclamation
  • MsgBox_Information

Default button

  • MsgBox_DefaultButton1
  • MsgBox_DefaultButton2
  • MsgBox_DefaultButton3
  • MsgBox_DefaultButton4

Modal

  • MsgBox_AppModal
  • MsgBox_SystemModal
  • MsgBox_SetForeground

Results

  • MsgBox_Ok
  • MsgBox_Cancel
  • MsgBox_Abort
  • MsgBox_Retry
  • MsgBox_Ignore
  • MsgBox_Yes
  • MsgBox_No
  • MsgBox_TryAgain
  • MsgBox_Continue

See also:

Clone this wiki locally