Sketchware Docs (Unofficial)
  • Introduction (Under Construction)
  • Official Docs
  • Introduction to Sketchware
    • Adding your app
    • Designing and Programming your app
  • Widgets and Layouts
    • Concept
    • Properties
    • List of Widgets and Layouts
  • Events
  • Blocks
    • Variable
    • List
    • Control
    • Operator
    • Math
    • File
    • View
    • Component
    • More Block
  • Components
    • About Components
    • Intent
    • SharedPreference
    • Calendar
    • Vibrator
    • Timer
    • Dialog
  • Configuration
  • AdMob Guide
  • Community
Powered by GitBook
On this page
  • Basic Example
  • Blocks

Was this helpful?

  1. Components

Dialog

The dialog component is used to display dialogs as seen in the Output tab below.

PreviousTimerNextConfiguration

Last updated 3 years ago

Was this helpful?

Basic Example

Blocks

Set title:

Sets the title for the specified dialog.

Set message:

Sets the message for the specified dialog.

OK Button clicked:

Runs the blocks inside when specified name of the OK button is clicked.

Blocks

Set title

Sets the specified title for the specified dialog.

Set message

Sets the specified message for the specified dialog.

OK Button Clicked

When the specified button that is in the OK position is clicked, run the blocks inside for the specified dialog.

Cancle Button Clicked

When the specified button that is in the Cancel position is clicked, run the blocks inside for the specified dialog.

Neutral Button Clicked

When the specified button that is in the Neutral position is clicked, run the blocks inside for the specified dialog.

Dialog show

Shows the specified dialog.

Input
Output
set title
set message
OK Button Clicked
Cancle Button Clicked
Neutral Button Clicked
Dialog show