Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Introduction

CrawRAD is a visual IDE for Rust. You draw a form, set properties in the Object Inspector, write the event code, and CrawRAD generates and runs a real Rust app — native, web or mobile — from the same form.

How this manual is organised

The manual follows four kinds of page. Each kind answers a different question, so you always know where to look:

PartAnswersRead it when
Tutorials“Teach me.”You are new and want to learn by building something.
How-to guides“How do I…?”You know what you want and need the steps.
Reference“What exactly is…?”You need the precise detail of a component, property, menu or shortcut.
Concepts“Why does it work this way?”You want to understand the ideas behind the IDE.

Greyed-out chapters in the menu are planned and not written yet.

Install CrawRAD

CrawRAD is a visual RAD IDE for Rust. It builds native desktop, web, and console applications using the standard Rust toolchain.

What you need

Before building and running applications in CrawRAD, ensure your system has:

  1. Rust toolchain: rustc and cargo version 1.85.0 or newer (supporting Rust edition 2024).
  2. System build tools:
    • Windows: the C++ build tools (MSVC linker and Windows SDK).
    • macOS: Command line developer tools.
    • Linux: A C compiler (cc), pkg-config, and development libraries for X11, Wayland, and ALSA (libx11-dev, libxcursor-dev, libxkbcommon-dev, libasound2-dev).

If any of these tools are missing when you first launch CrawRAD, the built-in Environment Check helps you set them up.

Installing CrawRAD

Windows

CrawRAD is distributed for 64-bit Windows as an installer and as a portable archive:

  • Setup installer (CrawRAD-<version>-windows-x64-setup.exe):
    1. Run the setup executable.
    2. Choose the destination folder (defaults to Program Files\CrawRAD or a per-user directory).
    3. Optionally select the Create a desktop shortcut task.
    4. Complete the wizard. The installer creates a CrawRAD Start menu group and shortcuts to launch CrawRAD and its uninstaller.
  • Portable archive (CrawRAD-<version>-windows-x64.zip):
    1. Extract the .zip archive to any directory.
    2. Launch crawrad-ide.exe.

Linux and macOS

The Beta downloads are for Windows. Packages for Linux (AppImage and .tar.gz) and macOS (.dmg) are already prepared in the source tree and will be published in a following release.

First start and the Environment Check

On its first start, CrawRAD inspects your system. If any required development tool is missing or outdated, the Environment Check dialog opens automatically. You can also open this dialog at any time from Help > Check Environment….

The dialog inspects five tools:

ToolStatusPurpose
System build toolsRequiredThe linker and system libraries Rust needs to build an app.
Rust toolchain (rustc · cargo)RequiredBuilds and runs every project. Needs 1.85 or newer (edition 2024).
rust-analyzerRequiredCompletion, hover, go to definition and errors as you type.
Debugger (lldb-dap)OptionalBreakpoints and stepping. Run works without it.
Web target (wasm32-unknown-unknown)OptionalOnly for Web App projects.

Installing missing tools

When tools are missing, the dialog provides action buttons:

  1. Install all missing (N): Runs the automated installation pipeline in the background for all tools that can be installed automatically.
  2. Individual tool buttons:
    • Download and install: Downloads rustup-init and installs the Rust toolchain.
    • Install: Uses rustup to update the compiler (rustup update stable), add rust-analyzer (rustup component add rust-analyzer), or add the WebAssembly target (rustup target add wasm32-unknown-unknown).
    • Open download page: Opens the download page in your browser for system build tools on Windows.
    • Copy command: Copies the package manager install command to the clipboard on Linux.
    • How to install: Displays instructions to install lldb-dap for your operating system.
  3. Check again: Re-probes the machine and refreshes every status indicator.
  4. Stop install: Cancels an in-progress background installation.
  5. Cancel: Closes the dialog. You can continue designing forms even before all build tools are installed.

Where CrawRAD keeps settings

CrawRAD stores its global configuration, desktop profiles, recent projects list, and assistant history in your user configuration folder:

  • Windows: %APPDATA%\CrawRAD\ (for example, C:\Users\<username>\AppData\Roaming\CrawRAD\)
  • Linux and macOS: $XDG_CONFIG_HOME/crawrad/ or ~/.config/crawrad/

Project-specific notes and options are stored directly inside the opened workspace under .crawrad/ and Cargo.toml.

How to uninstall

  • Windows: Run Uninstall CrawRAD from the Start menu, or open Windows Settings > Installed apps and uninstall CrawRAD. For portable .zip installations, delete the extracted folder.

To remove all configuration files, delete the CrawRAD settings folder in %APPDATA%\CrawRAD (Windows) or ~/.config/crawrad (Linux and macOS).

Tutorials

A tutorial is a lesson. It takes you from an empty screen to a working app, one step at a time, and every step shows what you should see. You do not need to understand everything first — understanding comes from doing.

Your first app

About 10 minutes · Windows, Linux, macOS · No Rust experience needed

You will build a window with a button and a label. When you click the button, the label says hello. Along the way you will:

  • create a project from a template;
  • place components on a form;
  • set a property in the Object Inspector;
  • write your first event handler and run the app.

1. Create the project

Choose File › New Project…. In the dialog, pick Desktop › GUI Application, keep the name my_app, choose a folder under Location, and click Create Makepad project.

The right side of the dialog shows what will be created: a Cargo workspace named my_app, with the project inside it.

Checkpoint. The Designer opens with an empty form called form_main.

2. Place a button and a label

Open the Toolbox on the left rail. Click Button, then click on the form where it should go. Do the same with Label, a little below the button.

The small orange badge on the button comes from the form checker, which points out details worth a look. You can leave it for now.

3. Set the button’s caption

Click the button to select it. Open the Object Inspector on the left rail: the box at its top names what is selected, button1 · Button. Set Caption to Say hello and press Enter.

Tip. The box at the top of the Object Inspector is also a list. Open it to pick any component of the form, the form itself included.

4. Make room for the text

The label will show a longer text than label1. Click the label, then drag the handle on its right edge until the label is about three times wider.

A label keeps the size you give it, so text longer than the label is cut off at run time. Making it wide now avoids that.

5. Write the handler

Double-click the button. CrawRAD switches to Code view, opens form_main.rs and creates the click handler, with the cursor already inside it, at the right indentation. Type:

self.label1.text = "Hello from CrawRAD!".into();

The whole handler now reads:

/// `button1.on_click`
pub fn button1_click(&mut self) {
    self.label1.text = "Hello from CrawRAD!".into();
}

Save with Ctrl+S.

Checkpoint. form_main.rs is yours: CrawRAD never regenerates it. The /// `button1.on_click` line is how CrawRAD knows which event this function answers.

6. Run it

Press F5 (F9 in the Classic keymap). The first build takes a while; the next ones are quick. When the window opens, click Say hello.

Checkpoint. The label reads Hello from CrawRAD!

What you learned

Next: A form that reads a database.

A form that reads a database

About 10 minutes · Windows, Linux, macOS · No Rust experience needed

You will build a window that lists the contacts stored in a small SQLite database. You will not write a single line of code. Along the way you will:

  • place non-visual components on a form;
  • point one component at another in the Object Inspector;
  • ask the database for rows with an SQL query;
  • see real rows from the database while you design;
  • run the app and see the same rows live.

1. Create the project

Create a GUI Application named contacts, the same way you did in Your first app.

Checkpoint. The Designer opens with an empty form called form_main.

2. Add the database file

This tutorial uses a ready-made database with one table, contacts, and eight rows. Copy contacts.db from the examples/contacts/contacts/ folder of the CrawRAD repository into your project, in the inner contacts folder: the one that holds Cargo.toml and src/.

contacts/
├── Cargo.toml
└── contacts/
    ├── Cargo.toml
    ├── contacts.db   ← here
    └── src/

3. Place a provider and a connection

Open the Toolbox on the left rail. Under Data, click SQLite Provider (rusqlite), then click near the top left corner of the form. Do the same with Connection, just to its right.

Both are non-visual components: they show as small icons on the form, and they do not appear in the running window. The provider, sqlite1, is the SQLite driver. The connection, conn1, is what the rest of the form talks to.

4. Point the connection at the database

Click conn1 to select it. In the Object Inspector, under Behavior:

  • open the Provider list and pick sqlite1;
  • set Url to sqlite:contacts.db and press Enter.

5. Ask for rows with a Dataset

In the Toolbox, under Data, click Dataset, then click on the form to the right of conn1. With dst1 selected, in the Object Inspector under Behavior:

  • open the Connection list and pick conn1;
  • click the ··· button beside SQL, type the query below, and click OK.
SELECT name, email, city FROM contacts ORDER BY name

The Dataset is the question you ask the database. The chain is now complete: dst1 asks through conn1, and conn1 uses the driver sqlite1.

6. Show the rows in a Grid

In the Toolbox, under Additional, click Grid, then click on the form below the three icons. Drag the Grid’s bottom right handle until it fills most of the form.

With the Grid selected, find the Data category in the Object Inspector and open the DataSource list: pick dst1. The Grid fills with the columns and rows of your query, already in name order.

Checkpoint. The foot of the Grid reads design-time rows · 8 of 8 · dst1 (contacts.db). These rows come straight from the database file. They are a preview: nothing is written back.

7. Run it

Save with Ctrl+S, then press F5 (F9 in the Classic keymap). When the window opens, the app has read the database on its own.

Checkpoint. The foot of the Grid reads Row 1 of 8.

What you learned

  • A database form is a chain of components: the Grid points at a Dataset, the Dataset at a connection, and the connection at a provider. You make each link in the Object Inspector, with no code.
  • A Grid bound to a Dataset shows real rows while you design. See Data at design time.

Next: A form that edits a database.

A form that edits a database

About 15 minutes · Windows, Linux, macOS · No Rust experience needed

You will build a window that lists the contacts of a small SQLite database and lets you change them: pick a row, edit it in three boxes, and save it, add a new contact, or delete one. Once again you will not write a line of code. Along the way you will:

  • open a whole table with a Dataset, instead of a query;
  • bind an Edit to one field of the Dataset;
  • add actions that insert, save, delete and cancel;
  • give each button an action;
  • run the app and check that the changes reach the database file.

This tutorial continues A form that reads a database. If you have not done that one yet, do it first: the first steps are the same.

1. Create the project and the chain

Create a GUI Application named contacts_edit and copy contacts.db into its inner contacts_edit folder, as in steps 1 and 2 of the previous tutorial. Then place SQLite Provider (rusqlite), Connection and Dataset, and link them the same way: conn1 gets Provider sqlite1 and Url sqlite:contacts.db, and dst1 gets Connection conn1.

2. Open the whole table

This time, leave the Dataset’s SQL empty. Instead, with dst1 selected, set Table (under Behavior) to contacts and press Enter.

A Dataset with a table and no SQL is in table mode: it reads every row of the table, and it knows which table to write back to. A Dataset with an SQL query can only read.

3. Add the Grid

In the Toolbox, under Additional, click Grid and place it below the icons, across the top half of the form. In its Data category, set DataSource to dst1. The Grid stays empty in the Designer; the rows and the four columns of the table, id included, appear when the app runs.

4. Add three Edits bound to fields

Under Standard, place a Label and an Edit side by side below the Grid, three times. Set the Labels’ Caption (under Appearance) to Name, Email and City.

Select the first Edit. Its Data category, right below Appearance, has three rows:

  • Dataset: pick dst1;
  • Field: pick name (once the Dataset is set, the list shows the table’s columns: id, name, email, city);
  • Mode: leave TwoWay. The Edit shows the field, and what you type goes back to it.

Do the same for the other two Edits, with the fields email and city.

Finally, link each Label to its Edit: select the Label and, under Behavior, set FocusControl to the Edit beside it. Without it, the Form check in the title bar warns that the Label labels an Edit but its FocusControl is empty.

5. Add the actions

Under Standard, place an ActionList next to the other icons. With it selected, choose Edit › New action four times. The IDE adds action1 to action4 and selects each new one as it goes. Select each action in turn (the drop-down at the top of the Object Inspector lists them) and set its Caption under Appearance, then its Dataset and Dataset Operation under Behavior:

ActionCaptionDatasetDataset Operation
action1Insertdst1Insert
action2Savedst1Post
action3Deletedst1Delete
action4Canceldst1Cancel

Post is the name of the operation that writes the row you are editing to the database. The action does the work, and it also knows when it makes sense: Save and Cancel are only enabled while you are editing a row, Insert and Delete only while you are not.

6. Give each button an action

Place four Buttons in a row at the bottom of the form. Select the first one and, under Behavior, set Action to action1, the Insert action. On the form, the button now shows the action’s caption. Do the same for the other three buttons with action2 (Save), action3 (Delete) and action4 (Cancel).

7. Run it and edit

Save with Ctrl+S and press F5 (F9 in the Classic keymap).

Click the row of Chloe Martin. The three Edits show her record.

Click in City, replace Lyon with Marseille. As soon as you type, the row is being edited: Save and Cancel light up, Insert and Delete go grey.

Click Save. The Grid reloads from the database and shows Marseille.

Checkpoint. Close the app and open it again: Chloe Martin still lives in Marseille. The change is in contacts.db, not only on screen.

If you change a field and click Cancel instead, the Edits go back to the saved values and nothing is written.

8. Add and delete a contact

Click Insert. The Edits are now a new, empty row. Type a name, an email and a city, then click Save.

The Grid now has nine rows. The database gives the new contact its id.

To delete it, make it the current row (after the save it already is; otherwise click its row in the Grid, so the Edits show it) and click Delete.

The row is gone from the database, and the Grid is back to eight rows.

Tip. After a save the Grid reloads and keeps the row you saved as the current one. After a delete, a neighbouring row becomes current and the Edits show it. Always check which record the Edits show before you press Delete.

What you learned

  • A Dataset with a Table and no SQL can write: the Grid moves its current row, and the bound Edits show and change that row.
  • An Edit’s Data category binds its text to one field of a Dataset.
  • An action with a Dataset Operation inserts, saves (Post), deletes or cancels, and enables itself only when that makes sense. A button just points at it.

The finished project is in examples/contacts-edit in the CrawRAD repository.

Next: Publishing your app for the web.

Publishing your app for the web

About 15 minutes · Windows, Linux, macOS · No Rust experience needed

You will build a small greeter that runs in the browser: type your name, click a button, and the page greets you. Then you will take the files CrawRAD made and serve them yourself, the way you would put them on a website. Along the way you will:

  • create a project from the Web App (WASM) template;
  • add a form to it and design it;
  • run it in your browser;
  • find the folder that holds the finished page and serve it.

This tutorial assumes you have done Your first app: placing components and writing a handler work the same way here.

Before you start

A web project builds to WebAssembly, so Rust needs that target once:

rustup target add wasm32-unknown-unknown

1. Create the project

Choose File › New Project…. In the dialog, pick WebAssembly › Web App (WASM), name it web_greeter, choose a folder under Location, and click Create Makepad project.

The template marks the project as a web project in its Cargo.toml:

[package.metadata.crawrad]
platform = "web"

That line is what makes Run open the browser instead of a window.

Checkpoint. The project opens on its form, form_main, in the Designer, as a desktop project does. The template already wrote form_main.crawform, its generated code and the main.rs that starts the app from it.

2. Design the form

Place four components, as in the first tutorial:

ComponentNameSet
Labellabel1Caption What is your name?
Editedit1clear its text
Buttonbutton1Caption Greet
Labellabel2clear its text, and make it wide: it will hold the greeting

Select the form itself and set its Caption to Web Greeter. Then select label1 and set FocusControl to edit1: the form checker suggests it, since that label names the Edit.

The components and their properties are the same as on the desktop. The target only changes the code CrawRAD generates for them.

3. Write the handler

Double-click Greet. In form_main.rs, inside the new handler, type:

let name = self.edit1.text.trim().to_string();
self.label2.text = format!("Hello, {name}! Greetings from the web.");

Save with Ctrl+S.

4. Run it in the browser

Press F5 (F9 in the Classic keymap). The status bar shows the build, then building web_greeter for the browser…. The first time takes a few minutes: everything is compiled again for WebAssembly, in release mode.

When it is done, the status bar reads built — web_greeter running in the browser at http://127.0.0.1:…/ and your default browser opens that address. Type a name and click Greet.

Checkpoint. The page reads Hello, Ada! Greetings from the web.

CrawRAD serves the page itself, on your machine only. Stop takes the page down.

5. Find the files to publish

Every Run writes the whole page into one folder of the workspace:

web_greeter/target/crawrad-web/web_greeter/
├── index.html
├── web_greeter.wasm
├── makepad_platform/        (the page's JavaScript loader)
├── makepad_wasm_bridge/
└── makepad_…/resources/     (fonts and other resources)

That folder is the whole app. Nothing else is needed on the server: copy the folder as it is to any host that serves static files. It is large (about 54 MB, mostly fonts), so the first load over a slow link takes a while.

Note. Build alone does not write this folder. Run once after your last change, then copy it.

6. Serve it yourself

To check the folder the way a web server would show it, serve it with any static file server. With Python, from the workspace folder:

cd target/crawrad-web/web_greeter
python -m http.server 8123

Open http://127.0.0.1:8123/ in your browser.

The server must send .wasm files as application/wasm. Python’s server does, and so do the common web servers. Do not open index.html straight from the disk: browsers refuse to load WebAssembly from a file:// page.

What about databases?

A web page cannot open a SQLite file on the user’s disk, nor a network socket to a database server. In a web project the Toolbox keeps those components listed but greyed: both SQLite providers, the PostgreSQL and Redis providers, and the OpenDialog and SaveDialog. Rest the pointer on one to read why. They cannot be placed on the form. Keep the database forms of the previous tutorials for desktop projects.

What you learned

  • A project is a web project because of platform = "web" in its Cargo.toml. See Targets: native, web and mobile.
  • The form, the components and your handlers are the same as on the desktop.
  • Run builds WebAssembly, writes the page to target/crawrad-web/<name>, serves it and opens your browser. That folder is what you publish.

The finished project is in examples/web-greeter in the CrawRAD repository.

How-to guides

A how-to guide gets one task done. It assumes you already know your way around the IDE and goes straight to the steps, without teaching the basics again.

Configure the columns of a Grid

A Grid bound to a Dataset shows every column of the query, in query order, with the field name as the title. To choose which columns appear, their titles, widths and formats, give the Grid its own Columns.

Open the columns editor

Select the Grid. In the Object Inspector, find the Columns row and click its ··· button. Double-clicking the Grid on the form opens the same editor.

The editor lists only the columns. Click one and its properties open in the Object Inspector.

Add the columns

  • Add all fields adds one column per field of the Grid’s table. Numbers are right-aligned, a whole number gets a narrow column, a real number gets a thousands mask. Fields that already have a column are skipped, so pressing it again after the query changes adds only the new fields.
  • Add adds one empty column. Set its Field to the name of a field of the query.

Use Move up and Move down to change the order, and Delete to remove a column. As soon as the Grid has columns of its own, it shows only those.

Set up one column

Click the column in the editor, then in the Object Inspector:

ToSet
Change the header textTitle
Fix the widthWidth, or MinWidth / MaxWidth
Align the valuesAlignment
Format numbers or datesDisplayFormat
Show text for an empty valueNullText
Hide it without deleting itVisible = false
Stop the user from editing itReadOnly = true
Offer a fixed list of valuesPickList, one value per line

Colour a cell by its value

Each column has its own StyleRules collection. Add a rule, set When to a condition on the value and pick the Color, TextColor or font style to use when it matches.

Check it

The Designer shows real rows while you work (see Data at design time), so you see the titles, widths and formats against real data before you run the app. The running app uses the same widths.

Show real rows in the Designer

A Grid bound to a Dataset shows the first rows of its query while you design. This guide sets that up and controls how many rows you see.

Bind the Grid

You need the chain the app uses at run time:

  1. A provider, for example SQLite Provider (rusqlite) from the Data section of the Toolbox.
  2. A Connection whose Provider is that provider and whose Url points at the database, for example sqlite:contacts.db. A relative path is read from the project folder.
  3. A Dataset whose Connection is that connection and whose SQL is your query.
  4. The Grid’s DataSource, in the Data category, set to the Dataset.

The Grid fills with the columns and rows of the query. The tutorial A form that reads a database walks through the same steps with pictures.

Choose how many rows

Set the Grid’s DesignRows, in the Data category, to Off, 8, 20 or 50. The default is 8. Off shows the columns without rows.

Read the badge

The foot of the Grid says what you are looking at, for example design-time rows · 8 of 8 · dst1 (contacts.db). When the database cannot be reached, the badge turns amber and says why; the Grid keeps the last columns it knew and you keep working.

Good to know

  • The rows are a preview. Nothing you do in the Designer is written to the database.
  • If the Inspector’s Field rows say Columns not listed, the IDE could not run its small column reader (crawrad-dbprobe) from its own folder. Build the IDE with cargo ide so the reader is built too.

Add an event handler

An event handler is a function in your form’s .rs file that runs when something happens to a component: a click, a key, a change of value.

The quick way: double-click

Double-click a component on the form. CrawRAD switches to Code view, adds a handler for the component’s main event (for a Button, OnClick) and puts the caret inside it. Type the code and save.

Any event: the Events tab

  1. Select the component.
  2. In the Object Inspector, open the Events tab (the Edit events… command does the same).
  3. Find the event, for example OnKeyDown, type a name for the handler in its value and press Enter.

CrawRAD adds an empty function with that name and the event’s signature to your file. The signature of each event is listed in Components and properties.

To point several components at the same handler, type the same name in each. To unlink an event, clear its value.

What CrawRAD writes

#![allow(unused)]
fn main() {
/// `button1.on_click`
fn button1_click(&mut self) {
    // your code
}
}

The /// `button1.on_click` line is how CrawRAD knows which event the function answers. Keep it above the function.

Empty handlers go away

A handler the IDE created and you left empty is removed, together with its event link, the next time the form is generated. Once you write anything in it, it is yours and CrawRAD never touches it. See Forms: the designer file and your file.

Build your project

In CrawRAD, you can compile, type-check, clean, and profile your application binaries across multiple platforms directly from the Build window and toolbar.

Shortcuts are given for the default keymap, with the Classic keymap in parentheses.

Open the Build window

Open the Build window to configure target platforms, compilation profiles, compiler options, and build commands for your project.

  1. Open the project you want to build.
  2. Select Project > Build… from the main menu, click Build on the top toolbar, or press Ctrl+Shift+B (Shift+F9).
  3. The Build window opens with the title Build - <project> (displaying the open package name, or my_app).

You see the Build - <project> window, featuring a left action rail (⚙ Options, 🔨 Build, 📝 Check, 🧹 Clean, ❓ Help, and optionally 📏 Size) with ⚙ Options active, and the configuration pages on the right.

Select compilation profile and target platforms

Choose whether to compile in Debug or Release mode and select the operating system and architecture targets for the build.

  1. In the top configuration row, click the Profile: button to toggle between Debug ▾ and Release ▾.
  2. Under Target Platforms, check the box next to each platform to include:
    • ⊞ Windows 32-bit (x86) (i686-pc-windows-msvc)
    • ⊞ Windows 64-bit (x64) (x86_64-pc-windows-msvc)
    • 🐧 Linux 64-bit (x64) (x86_64-unknown-linux-gnu)
    • 🍎 macOS (Intel) (x86_64-apple-darwin)
    • 🍎 macOS (Apple Silicon) (aarch64-apple-darwin)
    • 🤖 Android (ARM64) (aarch64-linux-android)
    • 📱 iOS (ARM64) (aarch64-apple-ios)
    • 🌐 WebAssembly (wasm32) (wasm32-unknown-unknown)
  3. Alternatively, click a quick button under Selected Targets to choose a preset:
    • Click Select All to select all eight platforms.
    • Click Deselect All to clear all target selections.
    • Click Common Desktop to select Windows 64-bit, Linux 64-bit, and macOS Apple Silicon.
    • Click Mobile to select Android ARM64 and iOS ARM64.
    • Click Web to select WebAssembly wasm32.
  4. To remove an individual platform from the selection, click the × on its chip under Selected Targets.

You see the profile button toggle its label, checked targets update in the check list box, and removable chips appear under Selected Targets (or No targets selected displays when the list is empty).

Set build options, features, and environment variables

Configure compiler flags, Cargo feature selections, extra command-line arguments, and process environment variables.

  1. Under Build Options, check or uncheck the compiler switches:
    • Check Clean before build to remove previous build artifacts before starting.
    • Check Build all workspace members to compile every package in the workspace.
    • Check Verbose output (-v) to stream detailed compiler invocations.
    • Check Compiler messages to display compiler diagnostics.
  2. In the Features: text field, type comma-separated feature names (placeholder e.g. feature1,feature2).
  3. Check All features (–all-features) to activate every optional crate feature, or check No default features (–no-default-features) to disable default crate features.
  4. In Additional Arguments (passed to cargo), type extra command-line flags to forward to the compiler (placeholder --release, --offline, -j 4, --timings...).
  5. Under Environment Variables (optional), click the + button to add an environment variable row.
  6. Type the variable name into the Name field (initial default RUST_LOG or KEY) and its value into the Value field (initial default info or val), or click the × button on any row to delete it.

You see the checkboxes show their checked states, the input fields display the entered features and arguments, and the environment table lists the active variable key-value rows.

Run a build, check, or clean action

Start building, type-checking, or cleaning your project from the action rail.

  1. In the left rail of the Build window, click:
    • 🔨 Build to compile the project.
    • 📝 Check to run type and borrow checking without generating binaries.
    • 🧹 Clean to delete build artifacts for the current project.
  2. If the project contains an open form or editor changes, CrawRAD saves files and generates form code before launching the Cargo process.
  3. While the action runs, the button label updates to indicate active work and the window switches to the command page.
  4. To abort the operation while running, click Cancel in the command header row.
  5. Click Close in the footer or the × button in the title bar to dismiss the window.

You see the window switch to the command page showing the command header (Build, Check, or Clean), the metadata details, an animated progress bar with elapsed timer and step counter, and live output in the terminal panel.

Inspect compiler output and diagnostics

Read the live build stream, view categorized warnings and errors, or jump directly to code errors.

  1. On the command page, click >_ Output to view the raw compiler terminal stream.
  2. Click ⚠ Warnings (0) (displaying warning count with a dot ● when selected) to filter only compiler warnings.
  3. Click 🚫 Errors (0) (displaying error count with a dot ● when selected) to filter only compiler errors.
  4. Click 📋 Copy to copy the currently displayed console text to the system clipboard.
  5. Click 🗑 Clear to erase the log for the active command mode.
  6. If the build finishes with errors, press Ctrl+Shift+M to open the Problems panel at the bottom of the IDE, or click an error in the list to navigate directly to the file and line in the code editor.

You see the terminal panel display formatted diagnostics, the status bar report Status: ❌ Failed or Status: ✔ Success (Done.), and the code editor highlight error lines with colored squiggly bands and line numbers.

Track builds with the floating Progress and Release card

Monitor background build status and review release summaries without keeping the Build window open.

  1. Close the Build window while a build or run operation is active.
  2. Look at the lower-right corner of the IDE where the floating progress card appears.
  3. Observe the card’s progress icon, headline, current package detail, elapsed clock, and running progress bar.
  4. Click Show output on the card to reopen the Build window on the running command page, or click Cancel to abort the build task.
  5. When a Release build finishes, the card transitions to the Release report card, showing a headline like Release built in 0:42, the total executable size, and the size delta compared to the previous release (for example, +120 KB (mostly my_crate)).
  6. Click See what weighs to open the Build window directly to the Size page, or click Dismiss to hide the card.

You see a compact card floating in the corner displaying live build progress, which updates on release completion with final binary size, change delta, and action buttons.

When the size did not change, the card shows no delta line.

Analyze executable size and crate weight (Release report)

Inspect the binary footprint of your application across release builds and identify which crates and functions contribute most to the executable size.

  1. Run a build in Release profile so that CrawRAD records the binary size and symbol breakdown.
  2. Open the Build window and click 📏 Size (or 📏 Size • if new release data is unviewed) on the left rail.
  3. Read the executable name, build timestamp, total binary size, and comparison delta against previous releases.
  4. Inspect the historical size bar chart showing the growth or reduction across recent release builds.
  5. Review the crate table to see how much byte weight each crate adds to the binary, with the crate that grew most flagged with ▲.
  6. Scroll down to review the function symbol table to see the largest individual compiled routines.
  7. Click Shrink to open the binary optimization recommendations dialog.

You see the Size view displaying the binary name and date, the size trend bar chart, the crate size breakdown table, the function symbol list, and the Shrink button.

On Windows, a release build of your own computer’s target also asks the linker for a map file, and the function list comes from it. On other systems, and for other targets, the list is read from the program itself; it stays empty when the program carries no symbol table.

Build or clean an entire workspace

Compile or clean all packages across a multi-member Cargo workspace in a single step.

  1. Open a workspace root containing multiple member packages.
  2. To compile every workspace member, select Project > Build All from the main menu.
  3. To remove compiled artifacts for all workspace members, select Project > Clean All from the main menu.
  4. Alternatively, open the Build window, select the ⚙ Options page, check Build all workspace members, and click 🔨 Build.

You see CrawRAD execute cargo build --workspace or cargo clean, display the executed command in the status bar, and log progress for all workspace packages in the terminal panel.

Run and debug from the toolbar Run split button

Launch your application under the debugger, run without debugging, or execute in a specific localized language directly from the toolbar.

  1. Find the orange Run split button on the toolbar.
  2. Click the primary Run button (F5 (F9)) to generate forms, build the project, and launch the binary under the debugger.
  3. Click the down-chevron arrow (▾) on the right side of the split button to open the run menu.
  4. In the dropdown menu, select:
    • Run (F5 (F9)) to run with debugging enabled.
    • Run Without Debugging (Ctrl+F5 (Ctrl+Shift+F9)) to run without debugger hooks or breakpoint pauses.
  5. Under the Run in a language header, click any configured language to run the application with that locale applied.

You see the toolbar split button open a popup menu showing execution options with shortcuts, followed by a separator and the localized language options with a checkmark on the active language.

Save open files automatically before building

Automatically write all open editor buffers and documents to disk before every build or run action.

  1. Select Tools > Options… (or press Ctrl+, in the Modern keymap).
  2. In the list on the left, select IDE > Saving and Recovering (or Commonly Used, where the same switch is called Files: Save before Build).
  3. Check Save editor files before Build or Run.
  4. Click OK to save your preferences.

You see the checkbox enabled in the Options dialog. On subsequent builds, CrawRAD saves all modified open editor buffers to disk before starting Cargo.

Run and debug your app

Shortcuts are given for the default keymap, with the Classic keymap in brackets. All of them are in the Run menu.

Run

Press F5 (F9). CrawRAD generates the form code, builds the project and starts it under the debugger. The first build takes a while; later ones only rebuild what changed. A web project opens in your browser instead of a window (see Publishing your app for the web).

To run without the debugger, use Run Without Debugging, Ctrl+F5 (Ctrl+Shift+F9). Breakpoints are ignored.

If the build fails, the errors are listed with their file and line.

Stop on a line

Put the caret on a line of your code and press F9 (F5) to add a breakpoint; press it again to remove it. Run the app. When it reaches the line it stops, and the Run and Debug panel shows the call stack and the local variables.

Step through the code

ToShortcut
Run to the next line, over any callF10 (F8)
Go into the call on this lineF11 (F7)
Run until the current function returnsShift+F11 (Shift+F8)
Carry on to the next breakpointF5 (F9)
Stop where it is, nowF6
End the programShift+F5 (Ctrl+F2)

Watch a value

Select an expression in the editor, or put the caret on a word, and use Add Watch (Ctrl+F5 in the Classic keymap). The value is shown in the Run and Debug panel each time the program stops.

All the commands are listed in Menus and commands.

Add notes and documentation to your code

CrawRAD provides a sidecar note system that attaches public documentation, private developer context, or review comments to your code without cluttering your source files.

Full note content is stored in Markdown files under .crawrad/notes/ in the project root, while your source code keeps only a compact anchor or attribute.

The three kinds of notes

CrawRAD supports three note kinds:

  1. Documentation (Ctrl+Alt+D):
    • Public documentation in standard rustdoc format. Shows in cargo doc and docs.rs.
    • Attach it by placing the caret on a fn, struct, enum, trait, or const.
    • Adds a #[note("<id>")] attribute above the item. During build, the crawrad-note macro transforms the note into rustdoc attributes (#[doc = "..."]).
    • Warns if the function or struct signature changes after the documentation was written.
  2. Internal Note (Ctrl+Alt+N):
    • Private context for developers: reasons, history, and architectural decisions. Never exported to public docs.
    • Adds an anchor comment in your source file: // [crawrad:note#<id>].
  3. Comment (Ctrl+Alt+M):
    • A short review remark on a line.
    • Adds an anchor comment: // [crawrad:comment#<id>].
    • Can be marked as Resolved or reopened.

Add a note at the caret

  1. In the code editor, place the caret on the line or item you want to annotate.
  2. Press Ctrl+Shift+N (or select Tools > Notes…).
  3. Choose Add documentation, Add note, or Add comment from the popup menu (or use their direct shortcuts: Ctrl+Alt+D, Ctrl+Alt+N, or Ctrl+Alt+M).
  4. In the dialog, type your Markdown content.
  5. Click Save.

Write documentation notes

When editing a documentation note, a row of buttons inserts the usual rustdoc sections: Summary, # Examples, # Errors, # Panics and # Safety, plus Link item… to link another item. Beside them, CrawRAD suggests the sections the item’s signature asks for (for example # Errors for a function that returns a Result).

To test your example code without compiling the whole application, click Test example. CrawRAD runs the doctest in the background and reports pass or fail in the dialog.

Use Preview to check your formatted Markdown before saving.

Work with line comments

  1. Place the caret on a code line and press Ctrl+Alt+M. If another program on your computer already uses that shortcut, press Ctrl+Shift+N and choose Add comment.
  2. Type your review comment and click Save.
  3. When the issue is addressed, reopen the note dialog and click Resolve. Resolved comments are hidden from the gutter mark list while remaining searchable in the Notes panel.
  4. To reactivate a resolved comment, open it and click Reopen.

View all notes in the Notes panel

To inspect every note and comment in the open workspace:

  1. Open the Notes panel from View › Panels › Notes.
  2. Filter by kind with the chips at the top, each with its count: All, Documentation, Notes and Comments. A second filter picks the file, or All files.
  3. Click any note entry in the list to open the corresponding file and navigate directly to the line.

A note that needs attention carries a badge, such as Missing # Examples on a documentation note without an example. In alert lists only those.

Work in the code editor

The code editor provides language server intelligence powered by rust-analyzer, together with instant component introspection from form designs.

Shortcuts are given for the Modern keymap, the default,, with the Classic scheme in parentheses where they differ.

Open a file and move between Design and Code

Switch between Design and Code

Switch between the visual form designer canvas and the Rust code behind the form.

  1. Open a form (.crawform) in your project.
  2. Press F12 (or click Code in the bottom center bar).
  3. Press F12 again (or click Design in the bottom center bar) to return to the canvas.

CrawRAD switches the center view between the visual form canvas and the form’s .rs source code.

View form source

Inspect the generated .designer.rs code that creates the components and properties declared in the form.

  1. In either Design or Code view, press Alt+F12 (or select View > Toggle form source).
  2. Inspect the read-only generated Rust code.
  3. Press Alt+F12 again (or click Design in the bottom center bar) to return to the visual canvas.

The editor displays the generated form source with Read only indicated in the footer.

Open a file with Quick Open

Open any project file quickly by typing its name or jump straight to a line.

  1. Press Ctrl+P (Ctrl+O) or select File > Quick Open….
  2. Type part of a file name or path (for example, main or src/form). To jump directly to a line, append :line or :line:col (for example, main.rs:42 or :42).
  3. Use the Up and Down arrows to select a file from the filtered list.
  4. Press Enter to open the file in an editor tab. Press Esc to dismiss.

A floating search palette appears at the top center; pressing Enter opens the selected file in an editor tab.

Editor tabs and the unsaved dot

Switch between open source files and see which buffers have unsaved edits.

  1. Click any tab in the editor tab strip above the code editor to bring that file to the front. When two open tabs share the same file name, notice the directory slice hint (for example, inspector.rs …/ide_app).
  2. Type an edit into the active buffer.
  3. Look at the tab label: a dot appears next to the file name to indicate unsaved edits.
  4. Press Ctrl+S to save the file, or click the x button on a tab to close it.

The active tab is highlighted, the unsaved dot clears immediately when saved, and closing a tab removes it from the strip.

Track location with breadcrumbs

See the file path hierarchy and the symbol enclosing the caret at a glance.

  1. Open any Rust file in the code editor.
  2. Place the caret inside a function, struct, enum, or method implementation.
  3. Look at the breadcrumb bar directly below the editor area.

The breadcrumb displays the file icon (🦀 for .rs, 📄 for other files), folder segments, and the nearest symbol (a method icon with name() for functions, or a class icon with name for impl, pub struct, or pub enum).

Code completion, templates, signature help, and hover

Code completion

Trigger contextual suggestions from form components and the language server at the caret.

  1. Place the caret where you want to insert an identifier, and press Ctrl+Space (or type a period . after an identifier).
  2. The completion popup displays in two phases:
    • Phase 1 (Immediate): Form component properties and event fields list instantly.
    • Phase 2 (Background): Semantic completions stream in from rust-analyzer.
  3. Use the Up and Down arrows to navigate suggestions.
  4. Press Enter or Tab to insert the selected completion. Press Esc to dismiss the popup.

A completion popup opens below the caret showing matching component fields and language server items with documentation.

Code templates

Insert ready-made code snippets at the caret and step through tab stops.

  1. Place the caret on a new line or inside a code block.
  2. Press Ctrl+J (or choose Edit > Code Templates).
  3. Use Up and Down arrows to select a template from the list and press Enter.
  4. Press Tab to jump between snippet placeholder stops, or press Esc to exit the snippet.

The template code expands at the caret with placeholders highlighted for quick typing.

Signature help and parameter hints

Display the function signature and highlight the active parameter while typing arguments.

  1. Type ( or , inside a function call’s argument list, or press Ctrl+Shift+Space at any time.
  2. Read the parameter card that appears above the call.
  3. Notice the parameter corresponding to the current caret position highlighted in Rust orange.
  4. Press Esc to dismiss the signature card.

A parameter card floats over the caret showing the full function signature with the active argument highlighted in Rust orange.

Hover documentation

View type definitions, function signatures, and doc comments for any symbol.

  1. Rest your mouse pointer over any identifier, or place the caret on it and press Ctrl+K.
  2. Read the inferred type, signature, and rustdoc comments displayed in the card.
  3. Move the caret or press Esc to close the hover card.

A hover card appears displaying inferred types, full function signatures, and rustdoc comments.

Go to definition, back and forward, find references, and rename

Go to definition

Jump directly to where a function, struct, variable, or module is declared.

  1. Place the caret on any symbol name.
  2. Press Ctrl+F12 (Alt+Up), or hold Ctrl and click the symbol name.

CrawRAD opens the target file and positions the caret on the declaration.

Retrace your navigation history after jumping to definitions.

  1. After jumping to a definition, press Alt+Left (or select Go > Go Back).
  2. To navigate forward again to where you jumped from, press Alt+Right (or select Go > Go Forward).

The caret jumps back to your previous editing position, and forward again when requested.

Find all references

Locate every usage of a symbol across the workspace.

  1. Place the caret on an identifier.
  2. Press Shift+Alt+F12 (Ctrl+Shift+Enter), or select Go > Find References.
  3. In the References panel, on the left, read the uses grouped by file, with the line number and the line’s text.
  4. Click any row in the References panel to jump directly to that usage.

The References panel opens on the left, grouping every reference by file with line numbers and preview text while explicitly marking references in generated form source files.

Rename a symbol

Rename a variable, function, struct, or module safely across all workspace files in memory.

  1. Place the caret on the name and press F2 (Ctrl+Shift+E), or select Refactor > Rename Symbol.
  2. Type the new name and press Enter (or click Preview) to see every change. Nothing is applied yet.
  3. Click Apply to rename in every affected file, in memory.
  4. Press Ctrl+S or Ctrl+Shift+S to save modified files to disk.

A rename dialog opens with a proposed change preview, then updates all affected buffers in memory.

Note

Components and event handlers declared on forms cannot be renamed with Rename Symbol in the code editor. Rename them in the Object Inspector so form designs and code handlers stay in sync.

Code actions with the crab

Apply compiler quick fixes, trait implementations, imports, and AI explanations suggested for the current line.

  1. Look at the line number gutter: when rust-analyzer has a suggestion or diagnostic fix for your line, a small crab appears next to the line numbers. When it pulses, the first action is a preferred quick fix.
  2. Press Ctrl+. (or click the crab).
  3. In the popup menu, review available code actions (such as adding missing imports, implementing missing trait members, or converting expressions).
  4. Click an action or press Enter to apply it.

A quick fix menu opens displaying available actions; applying an action updates the buffer immediately. Code actions that would alter generated form source files (.designer.rs) are automatically refused.

Notes, documentation, and comments

Add documentation

Write public documentation in rustdoc format stored as a sidecar note.

  1. Place the caret on a fn, struct, enum, trait, or const declaration.
  2. Press Ctrl+Alt+D (or select Edit > Add documentation).
  3. Type your Markdown content in the dialog, or click section buttons (Summary, # Examples, # Errors, # Panics, # Safety) to insert recommended sections.
  4. Click Save.

CrawRAD writes #[note("<id>")] above the item, saves the Markdown content to .crawrad/notes/<id>.md, and displays a blue page icon in the gutter.

Add an architectural note

Record private developer context, architectural reasons, and design decisions directly attached to a line of code.

  1. Place the caret on any code line.
  2. Press Ctrl+Alt+N (or select Edit > Add note).
  3. Type a title, tags, and Markdown explanation in the dialog.
  4. Click Save.

CrawRAD appends // [crawrad:note#<id>] to the line, stores the note under .crawrad/notes/<id>.md, and places an amber folded note icon in the gutter.

Add a review comment

Leave a short review remark or task comment on a line that can be resolved or reopened.

  1. Place the caret on any line of code.
  2. Press Ctrl+Alt+M (or select Edit > Add comment).
  3. Type your review comment in the dialog and click Save.
  4. When the task is complete, click the teal gutter icon to reopen the comment and click Resolve.

CrawRAD appends // [crawrad:comment#<id>] to the line, places a teal chat bubble icon in the gutter, and badges the comment as Open or Resolved.

Manage notes with the popup and gutter icons

Open the unified notes popup or click gutter icons to view and edit attached notes.

  1. Place the caret on any code line and press Ctrl+Shift+N (or select Tools > Notes…).
  2. Review the Notes popup showing the line number and symbol signature, listing Add documentation, Add note, and Add comment with their status.
  3. Select any option to open that dialog.
  4. In the gutter, click any existing note icon (blue for documentation, amber for notes, teal for comments) to reopen and edit its dialog.

A compact popup menu opens at the caret showing note options; clicking any gutter icon reopens the corresponding sidecar note dialog. See Add notes and documentation to your code for full dialog details.

Breakpoints and log points

Set or remove a breakpoint

Stop execution at a specific line of code when running under the debugger.

  1. Place the caret on any executable line of code.
  2. Press F9 (F5), or click in the glyph margin to the left of the line number (or select Run > Toggle Breakpoint).
  3. Press F9 (F5) again or click the red dot to remove the breakpoint.

A solid red dot appears in the gutter glyph margin on that line; clicking or toggling again removes the dot.

Track the execution point

Identify where the debugger has paused execution.

  1. Set a breakpoint on a line and run the program under the debugger (F5 (F9)).
  2. Trigger the action that executes that line.
  3. Inspect the code editor when the application suspends.

A bright yellow arrow appears in the gutter glyph margin over the breakpoint dot, and a yellow highlight band stretches across the stopped line.

Bookmarks

Set or clear a numbered bookmark

Place or clear a persistent numbered bookmark on any line of code.

  1. Place the caret on the line you want to bookmark.
  2. Press Ctrl+Shift+1 through Ctrl+Shift+9.
  3. To remove the bookmark, place the caret on the same line and press the same chord again.

A small red flag appears at the left edge of the gutter glyph margin with the bookmark number (1–9) rendered inside it.

Jump to a numbered bookmark

Move the caret instantly to a previously set numbered bookmark in the file.

  1. From anywhere in the active file, press Ctrl+1 through Ctrl+9.

The editor scrolls smoothly and positions the caret directly on that numbered bookmark’s line.

Find, find and replace, and go to line

Find in editor

Search for occurrences of text in the active editor buffer.

  1. Press Ctrl+F.
  2. Type the search text in the find bar at the top left of the editor.
  3. Press Enter (or click >) to jump to the next occurrence, or Shift+Enter (or click <) for the previous occurrence.
  4. Press Esc (or click the x button) to dismiss the find bar.

The floating find bar appears, highlights matching occurrences, and shows match counts (such as 1/4).

Find and replace

Replace single or all occurrences of a search term in the active file.

  1. Press Ctrl+H (Ctrl+R), or click the > button at the left of the open find bar.
  2. Type the replacement text in the lower input field.
  3. Click Replace to replace the current match, or All to replace every match in the file.

The find bar expands to reveal the replace row with input field and action buttons, updating matches live.

Find next and previous

Navigate through search occurrences using dedicated function keys.

  1. With a search term entered, press F3 to jump to the next matching occurrence.
  2. Press Shift+F3 to jump to the previous matching occurrence.

The editor selection cycles forward or backward through matched text across the document.

Go to line and column

Jump the caret directly to a specific line number and optional column.

  1. Press Ctrl+G (Alt+G). The Go to Line / Column dialog opens.
  2. In the box, type the line number (for example, 120), or line and column separated by a colon (such as 120:15).
  3. Press Enter or click Go.

The editor scrolls immediately to the requested line and places the caret at the specified column.

Editing lines

Comment or uncomment lines

Toggle line comments across the current line or selection.

  1. Place the caret on a line or select multiple lines.
  2. Press Ctrl+/ or Ctrl+; (Ctrl+Shift+C).

CrawRAD inserts or removes // at the minimum indentation level across all selected lines.

Move lines up or down

Shift the current line or selected block of lines vertically.

  1. Place the caret on a line or select a range of lines.
  2. Press Alt+Up (Ctrl+Alt+Up) to move the lines upward.
  3. Press Alt+Down (Ctrl+Alt+Down) to move the lines downward.

The entire line or block moves past adjacent code lines, retaining cursor position and indentation.

Duplicate lines

Make an exact copy of the current line or selection above or below.

  1. Place the caret on a line or select multiple lines.
  2. Press Shift+Alt+Up to duplicate the lines upward.
  3. Press Shift+Alt+Down to duplicate the lines downward.

A duplicate of the line or block appears immediately above or below the original.

Delete line

Delete the entire line under the caret in a single keystroke.

  1. Place the caret anywhere on the line you want to remove.
  2. Press Ctrl+Shift+K (Ctrl+Y).

The entire line disappears and the lines below shift up to take its place.

Select next occurrence (multi-cursor)

Add multiple carets by selecting successive matching words for simultaneous editing.

  1. Place the caret inside a word or select a text span.
  2. Press Ctrl+D (Ctrl+Shift+D) to select the current word.
  3. Press Ctrl+D (Ctrl+Shift+D) again to find and select the next occurrence in the file.
  4. Type to edit all selected occurrences simultaneously, or press Esc to return to a single cursor.

Multiple selections and blinking cursors appear across matching words, updating all instances at once as you type.

Fold and unfold code blocks

Collapse or expand nested code blocks between braces to simplify reading long functions.

  1. Place the caret inside any block enclosed by braces { ... }.
  2. Press Ctrl+Shift+[ to fold the block.
  3. Press Ctrl+Shift+] to unfold the block.

The inner body of the block collapses into a single line or expands back to its full multiline structure.

Format document

Reformat the entire file automatically according to standard Rust formatting guidelines.

  1. Open any editable .rs file in the editor.
  2. Press Shift+Alt+F (Ctrl+D), or select Refactor > Format Document.

The entire file is formatted with rustfmt via rust-analyzer; pressing Ctrl+Z undoes all formatting in one step.

Word motion and file navigation

Jump across word boundaries and file boundaries using rapid navigation chords.

  1. Press Ctrl+Left to jump the caret to the start of the word on the left.
  2. Press Ctrl+Right to jump the caret to the end of the word on the right.
  3. Press Ctrl+Home to jump to the very beginning of the file.
  4. Press Ctrl+End to jump to the very end of the file.
  5. Hold Shift while pressing any of these chords to extend the selection.

The caret leaps cleanly across whitespace, identifiers, or symbol groups.

Inlay hints

Toggle inline type annotations and parameter names inferred by rust-analyzer.

  1. Open any Rust file in the editor.
  2. Choose View > Inlay Hints from the top menu.
  3. Observe subtle grey type hints appearing inline next to variable bindings and function arguments.
  4. Select View > Inlay Hints again to toggle them off.

Type and parameter hints appear directly within code lines in grey without altering file text on disk.

Check errors in the Problems panel

Review all build errors, panics, warnings, and compiler diagnostic messages across workspace files.

  1. Press Ctrl+Shift+M (or select View > Problems).
  2. Review diagnostics listed with their severity icon, file name, and line location.
  3. Click category chips at the top to filter items:
    • Errors: what stops the build.
    • Warnings: what the compiler warns about.
    • Full output: everything the build printed.
  4. Click any problem row to jump straight to that file and line in the editor.

The Problems panel docks at the bottom, providing filtered problem counts and direct links to error locations.

Change bars

Track lines added or modified during the current editing session using gutter change bars.

  1. In any saved file, edit a line of code or press Enter to add a new line.
  2. Look at the margin immediately to the right of the line numbers: a yellow bar indicates unsaved changes on that line.
  3. Press Ctrl+S to save the file.
  4. Look at the change bar again: it turns green, indicating lines added or modified during this session that are now safely saved to disk.

A thin 3-pixel vertical bar beside each edited line clearly distinguishes unsaved (yellow) from saved (green) edits.

Local history

Inspect snapshots of saved or reloaded files and restore individual change blocks or complete files.

  1. While viewing any source file in the editor, click the History tab in the center tabs bar at the bottom (or click an entry under Timeline in the Explorer).
  2. In the history entries list, select a snapshot (labeled with local time, relative date such as “today”, origin “Save” or “External”, and line count).
  3. Review the side-by-side diff comparing the historical snapshot on the left with your current buffer on the right.
  4. Click Previous or Next to step through diff change blocks.
  5. Click Restore this block to bring back only the selected block into your current buffer, or click Revert to this version to restore the whole version.
  6. Switch back to Code view (F12 or click the Code tab) to continue editing, or press Ctrl+Z to undo the restore.

The center view displays the side-by-side History diff with entries list and block navigation; restoring updates the buffer with an undo step on the stack.

Reuse a form and make your own components

CrawRAD lets you inherit existing forms to build specialized views, and create custom reusable components that appear directly in the designer palette.

Create a new inherited form

Inherited forms share all components, layout, and event handlers from a base form while storing only your specific additions and property overrides.

  1. Open the project containing the form you want to inherit.
  2. Select File > New Inherited Form….
  3. In the New Inherited Form dialog:
    • Use the Filter forms box to find your base form in the tree on the left.
    • Inspect the live preview and component summary on the right.
    • In the Form name field, type a unique name in snake_case (for example, customer_dialog).
  4. Click Create.

CrawRAD creates customer_dialog.crawform and its accompanying code file customer_dialog.rs.

How inherited forms work

  • Delta persistence: The inherited .crawform saves only changes relative to the base form. If you update the base form later, those updates automatically propagate to all inherited forms.
  • Inspect base elements: Inherited components appear on the canvas and in the Object Inspector.
  • Navigate to base: To open the parent form in the designer, choose Go to base form from the Go menu.
  • Event handlers:
    • In the Object Inspector > Events tab, select Override inherited event to write a handler in the child form that automatically calls the base handler first.
    • To revert an event back to the base form’s implementation, select Revert to inherited.

Create a new component

The New Component wizard scaffolds a self-contained component package with property definitions, ready to drop onto any form.

  1. Select File > New Component….
  2. Step 1 of 2 · Base:
    • In Name, type a PascalCase name for your component (for example, PriceEdit).
    • Under Inherit a component, select the native base class from the drop-down (for example, SpinEdit or Edit).
    • Under Available in, pick the scope:
      • This project: Installed into <project>/components/<name> and available only in the active project.
      • All my projects: Installed into the global configuration folder and available in every workspace.
    • Click Next.
  3. Step 2 of 2 · Properties:
    • Click + Property to add custom properties.
    • For each property, specify:
      • Name: A snake_case identifier (for example, currency_code).
      • Type: String, i64, f64, or bool.
      • Default: The initial default value (for example, USD or 0.0).
      • Category: Property inspector category (defaults to behavior).
      • Hint: A description displayed in hover tooltips.
    • Click Create.

CrawRAD writes the component crate files:

  • Cargo.toml: Declares dependencies on crawrad-component and crawrad-component-derive.
  • src/lib.rs: Defines your component struct with #[derive(Component)] and #[crawrad(inherits = "...")].
  • manifest.json: Component metadata and property descriptor.

The IDE catalog automatically reloads, and your new component appears under the My components category in the palette.

Install an external component package

To install a third-party component package:

  1. Select Component > Install Package….
  2. Select the folder containing the component’s manifest.json.
  3. CrawRAD checks the manifest. Once accepted, the package is copied into the components directory and registered in the palette.
  4. To inspect active or refused packages, select Component > Installed Packages….

Use the AI assistant

CrawRAD includes a built-in AI assistant interface, branded as Aefos AI, connected to external agents through the Agent Client Protocol (ACP) and Model Context Protocol (MCP).

Open and close the Chat panel

The Chat panel provides the interactive conversation surface for requesting code edits, explanations, and project guidance.

  1. To open the panel from the menu, select View > Panels > Chat.
  2. To open the panel from the command palette, press Ctrl+Shift+P, type Toggle panel, press Enter, and choose chat. The Chat has no shortcut of its own.
  3. To close the panel, click the ✕ close button in the panel header, or select View > Panels > Chat again.

You see the Aefos AI dockable tab appear in the right dock with its header, status line, message list or hero shortcuts, context toggles, and prompt input bar.

Use the Chat header buttons

The header buttons let you start a clean conversation, wipe messages, view past history, open ACP settings, or close the panel.

  1. Click New session (the page/plus icon) to start a new chat session, resetting the live agent connection and restoring the initial hero shortcuts.
  2. Click Clear (the trash/eraser icon) or type /clear to wipe all messages from the active session.
  3. Click History (the clock icon) to toggle the conversation history popup list.
  4. Click Settings (the gear icon) or type /settings to open Tools > Options directly at AI Assistant / Agent Client Protocol (ACP).
  5. Click Close (the ✕ button) to close the Chat panel.

You see the header title Aefos AI, the active agent badge (such as Claude, Gemini, Active, or No agent), the session status indicator (such as 🟢 New session and 0 messages), and the row of action buttons.

Pick the agent, model, mode, and effort selectors

The selectors at the bottom of the prompt bar control which agent responds, which model generates the output, whether reasoning effort is applied, and whether tool execution mode is active.

  1. To switch the active agent, type /use <agent-name> in the prompt (for example, /use claude or /use gemini), or open Tools > Options and choose the agent in AI Assistant / Agent Client Protocol (ACP).
  2. To change the model, click the model button at the bottom of the prompt bar (it shows Auto at first) and pick one from the Model list. The list is the one the agent offers.
  3. To change how hard the agent thinks, click the effort button next to it and pick Auto, Low, Medium, High, Xhigh or Max. It shows only when the agent supports it.
  4. To run a prompt in autonomous agent mode allowing tool usage, prefix the prompt with /agent (e.g. /agent create a login form).

You see the buttons show the model and the effort you picked.

Empty panel shortcut cards and the Rust Teacher card

When starting a session with no active messages, the panel displays hero action shortcut cards for common development tasks.

  1. Click ❓ Explain to populate /explain into the prompt for understanding selected code or components.
  2. Click ⇄ Refactor to populate /refactor into the prompt for restructuring code.
  3. Click 🧪 Test to populate /test into the prompt for generating unit tests.
  4. Click 📄 Document to populate /docs into the prompt for drafting documentation comments.
  5. Click 🔍 Find to populate /find into the prompt for semantic search across files and components.
  6. Click ⚡ Optimize to populate /refactor optimize into the prompt for performance optimizations.
  7. Click the Rust Teacher card (featuring the crab icon and the caption Learn why, not just how) to populate /teach into the prompt.

You see the hero block with the ⚡ Aefos AI badge, the heading What are we building today?, the subtitle Aefos is ready. Pick a shortcut or just start typing., the grid of six shortcut cards, and the dedicated Rust Teacher card.

Learn with the Rust Teacher

The Rust Teacher teaches language rules, lifetimes, borrows, and type mechanics grounded in compiler diagnostics and official reference material.

  1. To explain code line by line, select a code snippet in the editor and send /teach (or /teach <topic>).
  2. To understand why a compiler error occurred, place the caret on a line showing an error diagnostic and send /why.
  3. To obtain a minimal correction with an explanation, place the caret on an error line and send /fix-explain (or press Ctrl+. (Ctrl+.) and select Fix and Explain).
  4. To compare two language concepts or types, send /compare <a> <b> (for example, /compare Rc Arc, /compare &str String, or /compare ? unwrap).

You see explanations citing ownership transfers, reference scopes, borrow rules, compiler diagnostic codes, and direct quotations from compiler explanations and official documentation, with fixes displayed as code blocks or reviewable diffs.

Write a prompt, mention files, and run slash commands

The prompt bar allows typing natural language instructions, referencing project files with @, and executing built-in slash commands with /.

  1. Click the prompt input field (Ask anything, @ to mention, / for actions) and type your question or instruction.
  2. Type @ followed by the file’s path from the project folder (for example, @src/main.rs) to mention a project file in your request. No list opens: type the whole path. The file is read when you send. To mention the file you are editing without typing, choose Refactor › Add File to Chat.
  3. Type / at the beginning of the prompt to display the popup list of commands (>_ COMMANDS), navigate with the arrow keys, and press Enter to pick one.
  4. Submit the prompt by pressing Enter or clicking the send button (→). If the agent is currently working, the message is automatically placed into the Queued Messages list.
  5. Use any of the built-in slash commands:
    • /explain: Explain the selected code or visual component.
    • /refactor: Refactor selected code or optimize component structure.
    • /review: Review the selected code for problems, risks, and missing tests (read-only).
    • /test: Generate #[test] unit tests for the active code.
    • /docs: Generate documentation comments for active units.
    • /teach: Teach the selected code line by line (ownership, borrows, types).
    • /why: Explain why the compiler rejects the code on the caret’s line.
    • /fix-explain: Fix the diagnostic on the caret’s line and explain why.
    • /compare: Compare two language choices, e.g. /compare Rc Arc.
    • /find: Semantic search across components, actions, and code (opens Quick Open).
    • /plan: Show agent implementation plan card and approval controls (/plan auto toggles auto-approve).
    • /queue: Queue a prompt to send when the agent is free (/queue <prompt>).
    • /agent: Send the prompt in autonomous agent mode allowing tool usage.
    • /actions: Open the ActionList editor of the active form.
    • /memory: Open and edit global assistant instructions and memory.
    • /mcp: Manage connected Model Context Protocol (MCP) servers.
    • /acp: Show ACP status, test connections (/acp test), or query agent (/acp ask <query>).
    • /use: Switch the chat to another connected ACP agent (e.g. /use claude, or /use alone to list available agents).
    • /clear: Start a new conversation.
    • /settings: Open the IDE options at AI Assistant / Agent Client Protocol (ACP).
    • /new: Scaffold a new project from templates.
    • /help: List every slash command and usage description.

You see your message bubble appear on the right side with your avatar (ME), followed by the assistant’s live status row, tool execution cards, or markdown response on the left.

Attach files and selections

Attachments provide the agent with targeted code context without manual copying and pasting.

  1. Click the + button at the left of the prompt bar. The Add Context menu opens.
  2. Select one of the context options:
    • 🖼 Media: Appends @media:assets/ to reference media files.
    • @ Mentions: Appends @file for the active editor file.
    • ☑ Actions: Opens the slash commands popup.
    • 🧠 Memory: Opens the global instructions memory dialog.
    • 🔌 MCP Tools: Opens the ACP options dialog.
    • 🤖 Agents: Opens the ACP options dialog.
  3. To attach code directly from the editor, select code, right-click to open the context menu, and choose:
    • Add File to Chat: Adds @file to the prompt without sending.
    • Add Selection to Chat: Attaches the selected snippet as a chip above the prompt.
    • Explain Selection: Attaches the snippet and immediately sends an explanation prompt.
    • Review Selection: Attaches the snippet and requests a read-only code review.
  4. To remove an attached item before sending, click the ✕ button on its chip above the prompt bar. Up to 4 attachments can be included in a single prompt.

You see attachment chips appear above the prompt input bar showing the file path or selection line range and a close button.

Respond to permission requests

When an agent needs to execute terminal commands or write files to disk, CrawRAD pauses and displays an inline permission card in the chat.

  1. Inspect the tool name, target path, and command arguments presented in the card.
  2. Click Allow Once to approve this single operation.
  3. Click Allow Always to approve this tool and target for the rest of the session.
  4. Click Deny to refuse this specific operation.
  5. Click Deny Always to refuse this tool for the rest of the session.

You see the 🛡️ Permission Request card displaying the tool name in orange, the target path, command parameters, a 60-second countdown timer, and the decision buttons.

Review code proposed by the agent

When an agent proposes edits to a project file, CrawRAD opens the file and displays an interactive diff review bar before applying changes.

  1. When the agent produces file edits, inspect the proposed changes displayed directly in the code editor.
  2. Check the diff review bar above the editor tab showing the authoring tool and addition/deletion counts (e.g. (+5 / -2) — Proposed edits awaiting decision).
  3. Press Tab or click Accept (Tab) to accept the changes and update the editor buffer.
  4. Press Esc or click Reject (Esc) to reject the changes and restore the previous buffer content.

You see the diff review bar in the editor and syntax-highlighted additions and deletions, which remain pending until accepted or rejected.

Browse session history and resume conversations

Past chat sessions are stored locally in history so you can review previous discussions or resume earlier tasks.

  1. Click the History button (clock icon) in the Chat panel header.
  2. In the history popup, type in the Search conversations box to filter past sessions by keyword.
  3. Review the conversation rows displaying the title, turn count, timestamp, and active session indicator.
  4. Click any conversation row to load that conversation into the chat panel.
  5. Type a new message in the prompt bar to continue the conversation where you left off.

You see the History popup open below the header showing the conversation count, search field, and scrollable list of past conversations with active session markers.

Configure context chips with Form: ON and Sel: ON

The context toggle bar controls whether the active form and editor selection are automatically packaged into prompts sent to the agent.

  1. To toggle form context, click the Form: ON button on the toggle bar directly under the chat header.
    • When Form: ON, the active file path, language, and buffer content (or designer form name, component hierarchy, and component count) are included in the prompt context.
    • When Form: OFF, no file or form context is attached to the prompt.
  2. To toggle selection context, click the Sel: ON button on the toggle bar.
    • When Sel: ON, the exact selected editor text with line numbers or the list of selected component IDs on the designer canvas is included.
    • When Sel: OFF, selection context is omitted even when code or components are highlighted.

You see the button captions switch between Form: ON / Form: OFF and Sel: ON / Sel: OFF, and the assistant status indicates context filtering on each turn.

Connect an external agent over MCP

CrawRAD runs an embedded Model Context Protocol (MCP) server so external CLI agents running outside the IDE can inspect forms, edit code, and trigger builds.

  1. Open Tools > MCP Servers… (or select /mcp in chat) to inspect the registered MCP servers and their connection statuses.
  2. External agents connect to the IDE through crawrad-mcp-bridge, which ships with CrawRAD.
  3. To limit the tool list exposed to the agent and reduce token overhead, pass the --groups argument when starting the bridge:
    crawrad-mcp-bridge --groups design,code
    
  4. Choose from the available toolset groups:
    • design: Designer canvas, components, collections, layout, inspector, and forms.
    • code: Code editor, buffers, LSP, and files.
    • debug: Breakpoints, watches, stepping, and process control.
    • project: Project tree, Explorer, build, tools, and help.
    • chat: AI chat, ACP agents, and conversation history.
    • extensions: Extension-contributed tools.
    • all: Exposes all IDE tools.

You see the external agent connect to the IDE instance, query tools through crawrad-mcp-bridge, and perform edits that trigger standard audit logs and diff reviews in the IDE.

Set the IDE options

The Options dialog (Tools > Options…) allows you to customize IDE preferences, workspace defaults, editor typography, color themes, keyboard shortcut schemes, visual designer grid settings, and AI assistant configurations.

Open the Options dialog

The Options dialog centralizes all IDE-wide preferences, designer parameters, editor behaviors, and agent configurations.

  1. To open the dialog from the top menu bar, select Tools > Options…, or press Ctrl+, (no shortcut in Classic).
  2. To open the dialog from the command palette, press Ctrl+Shift+P (Ctrl+Shift+P), type Options..., and press Enter.
  3. Alternatively, click the gear icon at the bottom of the Activity Rail, or click the Settings gear button in the Chat panel header.

You see the modal Options dialog open displaying the top search bar with scope tabs, the category tree on the left, the settings pane on the right, and the Save and Cancel buttons in the footer.

Search settings and filter by scope

The search box and scope tabs let you quickly find any configuration setting across all pages without navigating the tree.

  1. Click the search input box (Search settings (e.g. font, save, grid, snap, ai, cargo)).
  2. Type a keyword such as font, line, save, grid, ai, or key.
  3. To clear the query and restore the full category tree, click the × button next to the search field.
  4. Click the User tab to view global user preferences or the Workspace tab to view settings scoped to the active project.

You see matching options appear dynamically under Search Settings: "<query>", or No settings found matching your search query. when no options match the search text.

Preferences: Commonly Used

The Commonly Used page aggregates the most frequently changed settings from different areas of the IDE in one place.

  1. In the left tree under Preferences, click Commonly Used.
  2. To change editor font scale, pick a size from the Editor: Font Size dropdown (choices: 9 pt to 20 pt, default: 11 pt).
  3. To toggle editor line numbers, click the Editor: Line Numbers checkbox (Show line numbers in editor margin, default: on).
  4. Highlight: To save open files before building, click the Files: Save before Build checkbox (Save editor files before Build or Run, default: off).
  5. Highlight: To configure designer alignment, toggle Display grid (default: on) and Snap to grid (default: on) under Designer: Grid & Snap.
  6. Highlight: To choose your AI agent service, select an option from the AI Assistant: Provider dropdown (default: the active ACP agent provider).

You see a single unified settings page showing the five most frequently adjusted controls with their scopes and explanatory descriptions.

IDE: Default Folders

The Default Folders page configures where new projects and workspaces are created and opened by default.

  1. In the left tree under IDE, click Default Folders.
  2. In the Default Projects Directory: field, type the absolute path where projects should be located.
  3. Alternatively, click Browse… to select a directory using the system folder picker.
  4. Leave the field empty (the default: empty / None) to use the working directory from which CrawRAD was launched.

You see the heading Default Folders, the subtitle Specify default directories for creating and searching Cargo projects., the path input box, and the Browse... button.

IDE: Environment Variables

The Environment Variables page displays system environment variable inheritance policies.

  1. In the left tree under IDE, click Environment Variables.
  2. Inspect the inheritance note displayed on the page.

You see the heading Environment Variables and the notice: System environment variables are inherited from the parent process.

IDE: File History & Backups

The File History & Backups page controls automated snapshot backups saved to .crawrad/history whenever files are saved.

  1. In the left tree under IDE, click File History & Backups.
  2. To enable or disable snapshot backups, toggle the Keep a backup copy of a file on every save checkbox (default: on).
  3. To set maximum revisions per file, select an option from File backup limit: (1, 2, 3, 5, 10, 15, 20, 30, 50, or 100 copies, default: 10 copies).
  4. To debounce frequent saves, select an interval from Merge saves closer than: (Off, 5 s, 10 s, 30 s, or 60 s, default: 10 s).
  5. To exclude large files from history, select an option from Skip files larger than: (256 KB, 1 MB, 5 MB, or 10 MB, default: 5 MB / 5120 KB).

You see the heading IDE / File History & Backups, the description A backup copy of the file is kept in .crawrad/history on every save., the master checkbox, and three parameter dropdown menus.

IDE: Saving and Recovering

The Saving and Recovering page configures project reopening, pre-build saving, autorecovery intervals, and desktop layouts.

  1. In the left tree under IDE, click Saving and Recovering.
  2. Under Autosave, toggle Reopen the last project on start (default: on).
  3. Highlight: Toggle Save editor files before Build or Run (default: off) to write every modified editor buffer to disk automatically before compiling or running.
  4. Toggle Save the project desktop on close (default: on) to preserve docks, splitters, open editor tabs, and caret positions per project.
  5. Select an automated saving strategy from Auto save editor files: (Off, After delay (1 s), On focus change, or On window change, default: Off). Form design files are excluded from autosave because saving regenerates visual code.
  6. Under Autorecover, toggle Keep recovery copies of unsaved files (default: on).
  7. Select the autorecovery frequency from the Every: dropdown (1 min, 5 min, 10 min, or 30 min, default: 10 min). Copies are kept in .crawrad/recover.
  8. Under Desktop profiles, view or change the Active profile: (Default), or click Save as… to store the current window arrangement, Remove to delete a profile, or Restore default to reset layout.

You see three grouped sections (Autosave, Autorecover, Desktop profiles) with checkboxes, interval dropdowns, explanatory labels, and profile management buttons.

User Interface: Form Designer

The Form Designer page controls visual grid display, snapping alignment, and spacing tolerances.

  1. In the left tree under User Interface, click Form Designer.
  2. Highlight: Under Grid options, toggle Display grid (default: on) to show or hide the dot grid pattern on the canvas.
  3. Highlight: Toggle Snap to grid (default: on) to snap components to grid multiples during moving and resizing.
  4. Highlight: In Grid size / snap tolerance, type a pixel size into the text input, or click the - and + buttons to adjust cell dimensions (range: 2 to 64 pixels, default: 8 pixels).
  5. Review the precision notice: Minimum: 2 (high precision)..

You see the heading Form Designer, two columns for Grid options and Grid size / snap tolerance, the numeric field with - and + buttons, and the precision footnote.

User Interface: Appearance

The Appearance page describes UI zoom behavior, IDE themes, and palette icon assets.

  1. In the left tree under User Interface, click Appearance.
  2. Highlight: Under Zoom, review the note explaining that window-wide scaling in this shell is driven dynamically via keyboard shortcuts:
    • Press Ctrl+= (Ctrl+=) or select View > Zoom > Zoom in (interface) to enlarge the whole IDE interface.
    • Press Ctrl+- (Ctrl+-) or select View > Zoom > Zoom out (interface) to shrink the whole IDE interface.
    • Press Ctrl+0 (Ctrl+0) or select View > Zoom > Zoom 100% (interface) to reset interface scale to 100%.
  3. Under Theme, review the platform styling note: One theme for now. The form you draw keeps the colours of the target platform, whatever the IDE wears.
  4. Click Icon sheet… to open the palette icon preview sheet.

You see the heading Appearance, the two grouped sections for Zoom and Theme with their descriptions, and the Icon sheet... button.

AI Assistant: Agent Client Protocol (ACP)

The Agent Client Protocol (ACP) page configures the active AI assistant agent, models, reasoning effort, and permission policies.

  1. In the left tree under AI Assistant, click Agent Client Protocol (ACP).
  2. Highlight: Under Agent in use, inspect the active agent card displaying the agent name, version, status dot (Ready 🟢, Signed out 🟡, or Not installed 🔴), status description, and action button (such as Install or Sign in).
  3. Click Change agent… to browse the ACP Registry catalog:
    • Search available agents using the Search agents input field.
    • Click Select on an installed agent to activate it, or Install to download an agent binary.
    • Click ‹ AI Assistant to return to the main ACP configuration view.
  4. Click Show advanced to inspect the agent command line, click Test connection to verify connectivity, or click Open terminal to start a terminal session.
  5. Under Defaults for new chats, pick the default Model (for example Auto). The list is the one the agent offers, the same as the chat buttons.
  6. Pick the default Effort (for example High), when the agent supports it.
  7. Under Permissions, configure automation boundaries:
    • Approve read operations without asking (on by default): the agent reads files without stopping to ask.
    • Let the agent use its own tools (off by default): the agent may use tools of its own besides the IDE’s.

You see the heading AI Assistant / Agent Client Protocol (ACP), the bordered Agent in use card with status indicators, Model and Effort dropdowns, permission checkboxes, and the ACP Registry card list when changing agents.

Editor: General

The General editor page controls font size, tab stop width, line numbering, inlay hints, and breadcrumb styling.

  1. In the left tree under Editor, click General.
  2. Select the font scale from Editor Font Size: (9 pt, 10 pt, 11 pt, 12 pt, 14 pt, 16 pt, 18 pt, or 20 pt, default: 11 pt).
  3. Select indentation width from Tab Indentation Size: (2 spaces, 4 spaces, or 8 spaces, default: 4 spaces).
  4. Toggle Show line numbers in editor margin (default: on).
  5. Toggle Show inferred types in grey inside the lines (inlay hints) (default: on).
  6. Toggle Highlight the line the caret is on (default: on).
  7. Toggle Breadcrumb in Chevron style (off: plain text) (default: on).

You see the heading Editor, the subtitle Configure typography, indentation, and margins for the code editor., two dropdowns, and four option checkboxes.

Editor: Color Scheme

The Color Scheme page customizes syntax token palettes, error/warning highlight bands, and diagnostics styling.

  1. In the left tree under Editor, click Color Scheme.
  2. Choose a preset from Color Theme Preset: (default: Modern Dark; the others are Classic Dark and Vivid Dark).
  3. Click Reset Default to revert any customized token colors back to the built-in theme defaults.
  4. To change a token colour (Keywords, Types, Functions, Identifiers, Numbers, Strings, Comments, Delimiters, Background), type a #RRGGBB value or click … next to it to pick one. The preset changes to Custom.
  5. Customize compiler diagnostic text and line highlight band colors under Diagnostics (message and line number · line band):
    • Error: and Error band:
    • Warning: and Warning band:
    • Info: and Info band:
  6. Review your custom palette rendered in real time in the Sample preview code box.

You see two columns of color inputs with color swatch buttons, hex inputs, and picker buttons, diagnostic styling controls, and the live syntax sample box.

Keyboard: Key Mappings

The Key Mappings page sets the active IDE keyboard shortcut preset between Modern and Classic schemes.

  1. In the left tree under Keyboard, click Key Mappings.
  2. Highlight: In Keymap Scheme Preset:, select your preferred scheme:
    • Modern (Default): the shortcuts most editors use today.
    • Classic: the shortcuts of the classic RAD IDEs.
  3. Read the summary description beneath the dropdown showing the primary keybindings for the selected preset.
  4. Scroll through the keybindings list displaying each command name on the left and its corresponding shortcut on the right.

You see the heading Keyboard Shortcuts & Keymap Scheme, the scheme selection dropdown, summary note, and a scrollable table of all actions and their active key bindings.

Save or cancel options changes

The footer buttons apply your configuration changes to disk or discard all modifications made during the dialog session.

  1. Click Save to write updated preferences to disk and apply them immediately across the IDE.
  2. Click Cancel or press Esc to discard all changes and revert settings to their previous values.

You see the dialog close and the IDE apply updated font sizes, color themes, grid dimensions, and keybinding schemes immediately without restart.

Set project options and the app icon

In CrawRAD, you can set the application window title, configure application icons across all target resolutions, and set up file-based logging directly from the Project Options dialog.

To open the dialog, select Project > Options… from the main menu.

The left navigation pane provides two configuration pages: Application and Log.

Application options and icon

On the Application page:

Title

  • In the Title field, type the window and taskbar title for your application.
  • If left blank, the title defaults to the [package] name defined in Cargo.toml.

Application icon

CrawRAD displays previews of your icon in four resolutions: 256×256, 48×48, 32×32, and 16×16.

  1. To load a custom icon, click Load icon….
  2. Select either:
    • An .ico file containing icon frames.
    • A .png image. CrawRAD automatically generates the multi-resolution .ico (with 16, 32, 48, and 256 pixel frames) and saves it as icon.ico in your project folder.
  3. To revert back to the default CrawRAD crab icon, click Default.
  4. Click OK to save your changes.

Platform icon behavior

  • Windows: The icon is embedded directly into the compiled .exe resource table, showing in File Explorer, on the taskbar, and in the Alt+Tab task switcher.
  • Every operating system: The icon is displayed in the window title bar and dock while the application runs.

What CrawRAD writes

CrawRAD stores these options under [package.metadata.crawrad] in your project’s Cargo.toml:

[package.metadata.crawrad]
title = "Inventory Manager"
icon = "custom"

The user comments, formatting, and other sections in your Cargo.toml remain untouched.

Configure application logging

Open the Log page to configure file logging for your application.

  1. Check Write the log points to a file to enable logging.
  2. In the File name field, type the log file pattern. You can click the marker chips to insert dynamic tokens:
    • {app}: Application package name.
    • {date}: Current date (YYYY-MM-DD).
    • {time}: Timestamp (HHMMSS).
    • {pid}: Operating system process ID.
    • {user}: Current user name.
  3. Under Folder, choose where log files are stored:
    • Next to the executable: Writes logs into the directory containing your compiled binary.
    • The user’s data folder: Stores logs in the user configuration directory (e.g., %APPDATA%\<app>\logs on Windows).
    • Custom: Type a directory path or click Browse… to select one.
  4. Set the Minimum level for Debug builds and Release builds:
    • Choose from Debug, Info, Warning, Error, or Off.
  5. Under Files, configure log rotation:
    • New file: every day, or every run. A new file every day needs {date} in the name; a new file every run needs {time} or {pid}.
    • Keep the last: Set the maximum number of log files to retain before older logs are purged.
  6. Click OK to save your settings.

Runtime override precedence

Log options can be adjusted in deployed applications without rebuilding. CrawRAD applies settings in the following order (first found wins):

  1. Command line flags passed at launch.
  2. Environment variables set on the machine.
  3. An override configuration file placed beside the executable.
  4. The defaults configured in this dialog and compiled into the executable.

Reference

The reference describes the IDE point by point: every component, every property, every menu command and every shortcut. It states facts and does not teach — use it to look things up.

The component and property pages are generated from the IDE’s own component catalogue, so they always match the version you are running.

Components and properties

This page is generated from the component catalogue; every component on the palette is listed here.

Additional

Badge

Class Badge · born as badge1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
CaptiontextNewAppearance
Kindone of: bkDefault, bkPrimary, bkInfo, bkWarning, bkDangerbkPrimaryAppearance
Outlinetrue / falsefalseAppearance
Countwhole number 0..999990Behavior
MaxCountwhole number 1..9999999Behavior
Associatereference to a Control—Behavior
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance

Events

EventHandler signature
OnClickfn(&mut self)

Bevel

Class Bevel · born as bevel1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
Shapeone of: Box, Frame, TopLine, BottomLine, LeftLine, RightLine, SpacerBoxAppearance
Styleone of: Lowered, RaisedLoweredAppearance

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)

BitBtn

Class BitBtn · born as bit_btn1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Actionreference to a Action—Behavior
CaptiontextBitBtnAppearance
Kindone of: bkCustom, bkOK, bkCancel, bkHelp, bkClose, bkYes, bkNobkCustomBehavior
GlyphpicturepictureAppearance
NumGlyphswhole number 1..41Appearance

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

Class Breadcrumb · born as breadcrumb1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Items (read-only)collection3 itemsAppearance
Separatortext›Appearance
ItemIndexwhole number -1..100000-1Behavior
Styleone of: bsText, bsChevronbsTextAppearance
SegmentColorcolor#45464BAppearance
CurrentColorcolor#E0612BAppearance
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

Card

Class Card · born as card1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
CaptiontextCardAppearance
Subtitletext—Appearance
CornerRadiuswhole number 0..1008Appearance
Elevationwhole number 0..31Appearance
ShowHeadertrue / falsetrueAppearance
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnClickfn(&mut self)

CategoryPanel

Class CategoryPanel · born as category_panel1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
CaptiontextCategoryPanelAppearance
Collapsedtrue / falsefalseBehavior
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance

Events

EventHandler signature
OnCollapsedfn(&mut self)
OnExpandedfn(&mut self)

CheckListBox

Class CheckListBox · born as check_list_box1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Items (read-only)collection3 itemsAppearance
CheckedItemscollection(empty)Appearance
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

Chips

Class Chips · born as chips1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Items (read-only)collection3 itemsAppearance
ItemIndexwhole number -1..100000-1Behavior
Removabletrue / falsefalseBehavior
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

ColorBox

Class ColorBox · born as color_box1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Selectedcolor#000000Behavior
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

Drawer

Class Drawer · born as drawer1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
CaptiontextDrawerAppearance
Sideone of: dsLeft, dsRightdsLeftAppearance
Openedtrue / falsefalseBehavior
ShowHeadertrue / falsetrueAppearance
Overlaytrue / falsetrueAppearance
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnClosefn(&mut self)

Grid

Class Grid · born as grid1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
ColCountwhole number 1..1005Behavior
RowCountwhole number 0..1000005Behavior
FixedColswhole number 0..100Behavior
FixedRowswhole number 0..101Behavior
DefaultColWidthwhole number 20..100080Appearance
DefaultRowHeightwhole number 16..50024Appearance
GridLinestrue / falsetrueAppearance
GroupBartrue / falsefalseAppearance
Editingtrue / falsefalseBehavior
Cellstext (several lines)—Appearance
DataSourcereference to a DbRowSource—Data
TableNametext—Data
DesignRowsone of: Off, 8, 20, 508Data

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)
OnSelectCellfn(&mut self, col: usize, row: usize)

Image

Class Image · born as image1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
PicturepicturepictureAppearance
Stretchtrue / falsefalseAppearance
Proportionaltrue / falsefalseAppearance
Centertrue / falsefalseAppearance
AutoSizetrue / falsefalseAppearance
Transparenttrue / falsefalseAppearance

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)

LinkLabel

Class LinkLabel · born as link_label1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
CaptiontextLinkLabelAppearance
URLtext—Behavior
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)

MaskEdit

Class MaskEdit · born as mask_edit1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Texttext—Appearance
PasswordChartext—Behavior
ReadOnlytrue / falsefalseBehavior
TextHinttext—Appearance
NumbersOnlytrue / falsefalseBehavior
MaxLengthwhole number 0..21474836470Behavior
Alignmentone of: taLeftJustify, taCenter, taRightJustifytaLeftJustifyAppearance
CharCaseone of: ecNormal, ecUpperCase, ecLowerCaseecNormalBehavior
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance
EditMasktext—Behavior

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)
OnReturnfn(&mut self)

MultiSelect

Class MultiSelect · born as multi_select1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Items (read-only)collection5 itemsAppearance
SelectedItemscollection(empty)Appearance
TextHinttextSelect…Appearance
DropDownCountwhole number 1..1006Appearance
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

Pagination

Class Pagination · born as pagination1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
PageCountwhole number 1..214748364710Behavior
PageIndexwhole number 0..21474836470Behavior
MaxButtonswhole number 1..1007Appearance
ShowArrowstrue / falsetrueAppearance
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

PaintBox

Class PaintBox · born as paint_box1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnPaintfn(&mut self, canvas: &mut Canvas)

ScrollBox

Class ScrollBox · born as scroll_box1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
AutoScrolltrue / falsetrueBehavior
HorzScrollBartrue / falsetrueAppearance
VertScrollBartrue / falsetrueAppearance
BorderWidthwhole number 0..201Appearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)
OnResizefn(&mut self)

Shape

Class Shape · born as shape1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
Shapeone of: Rectangle, Square, RoundRect, RoundSquare, Ellipse, CircleRectangleAppearance
PenWidthwhole number 0..1001Appearance
BrushColorcolor#FFFFFFAppearance
PenColorcolor#000000Appearance

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)

SpeedButton

Class SpeedButton · born as speed_button1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Actionreference to a Action—Behavior
Captiontext—Appearance
GlyphpicturepictureAppearance
NumGlyphswhole number 1..41Appearance
Flattrue / falsetrueAppearance
Downtrue / falsefalseBehavior
GroupIndexwhole number 0..10000Behavior
AllowAllUptrue / falsefalseBehavior

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)

SpinEdit

Class SpinEdit · born as spin_edit1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Valuewhole number -2147483648..21474836470Behavior
MinValuewhole number -2147483648..21474836470Behavior
MaxValuewhole number -2147483648..21474836470Behavior
Incrementwhole number 1..21474836471Behavior
EditorEnabledtrue / falsetrueBehavior
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

Splitter

Class Splitter · born as splitter1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
MinSizewhole number 1..200030Behavior
AutoSnaptrue / falsetrueBehavior
Beveledtrue / falsetrueAppearance

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMovedfn(&mut self)

Toggle

Class Toggle · born as toggle1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
CaptiontextToggleAppearance
Checkedtrue / falsefalseBehavior
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

TreeView

Class TreeView · born as tree_view1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Items (read-only)collection4 itemsAppearance
Imagesreference to a ImageList—Appearance
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnChangingfn(&mut self, allow_change: &mut bool)
OnClickfn(&mut self)
OnCollapsedfn(&mut self)
OnCollapsingfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnExpandedfn(&mut self)
OnExpandingfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

Dialogs

MessageDialog

Class MessageDialog · born as message_dialog1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 28 × 28Layout
Titletext—Appearance
Texttext—Appearance
Kindone of: mtInformation, mtWarning, mtError, mtConfirmationmtInformationAppearance
Buttonsone of: mbOK, mbOKCancel, mbYesNo, mbYesNoCancelmbOKAppearance

Events

EventHandler signature
OnClosefn(&mut self)

OpenDialog

Class OpenDialog · born as open_dialog1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 28 × 28Layout
TitletextOpenAppearance
FiltertextAll files (.)|.Behavior
FileNametext—Behavior
InitialDirtext—Behavior
DefaultExttext—Behavior

SaveDialog

Class SaveDialog · born as save_dialog1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 28 × 28Layout
TitletextSave AsAppearance
FiltertextAll files (.)|.Behavior
FileNametext—Behavior
InitialDirtext—Behavior
DefaultExttext—Behavior

Standard

ActionList

Class ActionList · born as action_list1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 28 × 28Layout
Enabledtrue / falsetrueBehavior
Imagesreference to a ImageList—Appearance

Button

Class Button · born as button1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Actionreference to a Action—Behavior
CaptiontextButtonAppearance
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

CheckBox

Class CheckBox · born as check_box1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
CaptiontextCheckBoxAppearance
Checkedtrue / falsefalseBehavior
Stateone of: cbUnchecked, cbChecked, cbGrayedcbUncheckedBehavior
AllowGrayedtrue / falsefalseBehavior
Alignmentone of: taLeftJustify, taRightJustifytaRightJustifyAppearance
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

ComboBox

Class ComboBox · born as combo_box1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Items (read-only)collection3 itemsAppearance
ItemIndexwhole number -1..100000-1Behavior
Texttext—Appearance
Styleone of: DropDownList, DropDownDropDownListAppearance
Sortedtrue / falsefalseBehavior
DropDownCountwhole number 1..1008Appearance
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)
OnSelectfn(&mut self)

Edit

Class Edit · born as edit1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Texttext—Appearance
PasswordChartext—Behavior
ReadOnlytrue / falsefalseBehavior
TextHinttext—Appearance
NumbersOnlytrue / falsefalseBehavior
MaxLengthwhole number 0..21474836470Behavior
Alignmentone of: taLeftJustify, taCenter, taRightJustifytaLeftJustifyAppearance
CharCaseone of: ecNormal, ecUpperCase, ecLowerCaseecNormalBehavior
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)
OnReturnfn(&mut self)

GroupBox

Class GroupBox · born as group_box1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
CaptiontextGroupBoxAppearance
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

ImageList

Class ImageList · born as image_list1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 28 × 28Layout
Widthwhole number 8..25616Appearance
Heightwhole number 8..25616Appearance
Images (read-only)collection(empty)Advanced

Label

Class Label · born as label1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
CaptiontextLabelAppearance
Alignmentone of: taLeftJustify, taCenter, taRightJustifytaLeftJustifyAppearance
Layoutone of: tlTop, tlCenter, tlBottomtlTopAppearance
WordWraptrue / falsefalseAppearance
AutoSizetrue / falsefalseAppearance
FocusControlreference to a WinControl—Behavior
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)

ListBox

Class ListBox · born as list_box1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Items (read-only)collection3 itemsAppearance
ItemIndexwhole number -1..100000-1Behavior
MultiSelecttrue / falsefalseBehavior
Sortedtrue / falsefalseBehavior
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

Class MainMenu · born as main_menu1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 28 × 28Layout
Imagesreference to a ImageList—Appearance

Memo

Class Memo · born as memo1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Linestext (several lines)Line1
Line2
Line3Appearance
ReadOnlytrue / falsefalseBehavior
WordWraptrue / falsetrueAppearance
WantReturnstrue / falsetrueBehavior
WantTabstrue / falsefalseBehavior
MaxLengthwhole number 0..21474836470Behavior
ScrollBarsone of: ssNone, ssHorizontal, ssVertical, ssBothssNoneAppearance
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

PageControl

Class PageControl · born as page_control1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
ActivePageIndexwhole number 0..1000Behavior
TabPositionone of: tpTop, tpBottomtpTopAppearance
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnChangingfn(&mut self, allow_change: &mut bool)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)
OnResizefn(&mut self)

Panel

Class Panel · born as panel1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
Captiontext—Appearance
BorderWidthwhole number 0..201Appearance
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)
OnResizefn(&mut self)

PopupMenu

Class PopupMenu · born as popup_menu1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 28 × 28Layout
Imagesreference to a ImageList—Appearance

Events

EventHandler signature
OnPopupfn(&mut self)

RadioButton

Class RadioButton · born as radio_button1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
CaptiontextRadioButtonAppearance
Checkedtrue / falsefalseBehavior
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

RadioGroup

Class RadioGroup · born as radio_group1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
CaptiontextRadioGroupAppearance
Items (read-only)collection3 itemsAppearance
ItemIndexwhole number -1..100000-1Behavior
Columnswhole number 1..161Appearance
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

ScrollBar

Class ScrollBar · born as scroll_bar1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Kindone of: sbHorizontal, sbVerticalsbHorizontalAppearance
Minwhole number -1000000..10000000Behavior
Maxwhole number -1000000..1000000100Behavior
Positionwhole number 0..10000000Behavior
SmallChangewhole number 1..100001Behavior
LargeChangewhole number 1..1000010Behavior

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)
OnScrollfn(&mut self)

System

Timer

Class Timer · born as timer1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 28 × 28Layout
Enabledtrue / falsetrueBehavior
Intervalwhole number 1..36000001000Behavior

Events

EventHandler signature
OnTimerfn(&mut self)

Win32

DateTimePicker

Class DateTimePicker · born as date_time_picker1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Kindone of: dtkDate, dtkTimedtkDateBehavior
DateTimetext2000-01-01Behavior
MinDatetext—Behavior
MaxDatetext—Behavior
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

ListView

Class ListView · born as list_view1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Items (read-only)collection4 itemsAppearance
ItemIndexwhole number -1..100000-1Behavior
RowSelecttrue / falsetrueBehavior
GridLinestrue / falsefalseAppearance
ShowColumnHeaderstrue / falsetrueAppearance
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnColumnClickfn(&mut self, column: usize)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)
OnSelectItemfn(&mut self, index: usize, selected: bool)

ProgressBar

Class ProgressBar · born as progress_bar1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Minwhole number -1000000..10000000Behavior
Maxwhole number -1000000..1000000100Behavior
Positionwhole number 0..10000000Behavior
Stepwhole number 1..1000010Behavior
Orientationone of: Horizontal, VerticalHorizontalAppearance
Smoothtrue / falsetrueAppearance

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

StatusBar

Class StatusBar · born as status_bar1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
SimpleTexttext—Appearance
SimplePaneltrue / falsetrueBehavior
Fontfont(default)Appearance
ParentFonttrue / falsetrueAppearance
Colorcolor#00000000Appearance
ParentColortrue / falsetrueAppearance

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

ToolBar

Class ToolBar · born as tool_bar1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
Flattrue / falsetrueAppearance
ShowCaptionstrue / falsefalseAppearance
ButtonWidthwhole number 16..25624Appearance
ButtonHeightwhole number 16..25624Appearance

Events

EventHandler signature
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

TrackBar

Class TrackBar · born as track_bar1 · targets: all

Properties

PropertyKindDefaultCategory
Nametext—Identity
Rectposition and size0, 0, 80 × 24Layout
Enabledtrue / falsetrueBehavior
Visibletrue / falsetrueBehavior
Hinttext—Behavior
ShowHinttrue / falsetrueBehavior
Cursormouse cursordefaultAppearance
PopupMenureference to a PopupMenu—Behavior
Anchorsany of: left, top, right, bottom[left,top]Layout
Alignone of: None, Top, Bottom, Left, Right, ClientNoneLayout
Marginsedges (left, top, right, bottom)3, 3, 3, 3Layout
AlignWithMarginstrue / falsefalseLayout
TabOrderwhole number 0..10000Behavior
TabStoptrue / falsetrueBehavior
Minwhole number -1000000..10000000Behavior
Maxwhole number -1000000..100000010Behavior
Positionwhole number 0..10000000Behavior
Orientationone of: Horizontal, VerticalHorizontalAppearance
PageSizewhole number 1..10002Behavior
Lookone of: Minimal, Box, RoundMinimalAppearance

Events

EventHandler signature
OnChangefn(&mut self)
OnClickfn(&mut self)
OnDblClickfn(&mut self)
OnEnterfn(&mut self)
OnExitfn(&mut self)
OnKeyDownfn(&mut self, e: KeyEvent)
OnKeyPressfn(&mut self, ch: char)
OnKeyUpfn(&mut self, e: KeyEvent)
OnMouseActivatefn(&mut self, e: MouseActivateEvent)
OnMouseDownfn(&mut self, e: MouseEvent)
OnMouseEnterfn(&mut self)
OnMouseLeavefn(&mut self)
OnMouseMovefn(&mut self, e: MouseMoveEvent)
OnMouseUpfn(&mut self, e: MouseEvent)
OnMouseWheelfn(&mut self)

Menus and commands

This page is generated from the command catalogue: every command the IDE offers, grouped by where you find it. The id is the name an agent uses to run the command over MCP. Shortcuts are shown for both keymap schemes, Modern (the default) and Classic, chosen in Tools > Options.

File

CommandShortcutClassic keymapWhat it doesId
New Project…——Create a Cargo project — cargo does it, CrawRAD asks the questionsproject.new
Add Project…——Create a new project inside the open workspace, and list it as a memberproject.add
Add Existing Project…——List a project folder inside the workspace as one of its membersproject.add_existing
Open Project…——Open a project folder — the one named, or the folder pickerproject.open_folder
Open Form…——Open a form (.crawform) — the one named, or the file pickerfile.open_form
Remove from Recent——Take a folder out of the recent projects — the list, never the diskproject.forget_recent
New Form…——Create a new form (.crawform) in the current projectfile.new_form
New Inherited Form…——Create a form that inherits the components and handlers of anotherfile.new_inherited_form
New Component…——Create a user component that inherits an existing one or composes severalfile.new_component
New File…——Create a new Rust file (.rs) in the current projectfile.new_file
Quick Open…Ctrl+PCtrl+OQuickly open any file in the workspacefile.quick_open
SaveCtrl+SCtrl+SSave what is in front — the edited file, or the formfile.save
Save All—Ctrl+Shift+SSave every changed file: the code in every tab, then the formfile.save_all
Reload——Discard changes and reload from diskfile.reload
Close——Close the form — the folder stays openfile.close
Recover Unsaved Work——Bring recovery copies back as unsaved edits — the file on disk stays as it isfile.recover_unsaved
Discard Recovery Copies——Delete recovery copies left by a crashfile.discard_recovery
Keep My Version——Keep your version of the file and overwrite disk on next saveeditor.keep_mine
Reload from Disk——Discard your edits and reload the file from diskeditor.reload_from_disk
Compare with Disk——Open diff review comparing your edits with the disk copyeditor.compare_with_disk

Explorer

CommandShortcutClassic keymapWhat it doesId
Set as Active Project——The project Run and Generate work on (the workspace’s default-members)project.set_active
Toggle folder——Open the member node in the Explorer, or close it when it is openexplorer.toggle_folder
Toggle badge legend——Show or hide What the badges mean at the foot of the Explorerexplorer.toggle_legend
Toggle open editors——Show or hide open editors section in Explorerexplorer.toggle_open_editors
Toggle outline——Show or hide outline section in Explorerexplorer.toggle_outline
Toggle timeline——Show or hide timeline section in Explorerexplorer.toggle_timeline
Open timeline entry——Open local history view comparing the selected entry with current bufferexplorer.open_timeline_entry
Toggle dependencies——Show or hide dependencies section in Explorerexplorer.toggle_dependencies
New File…——Create a new file in the selected folderexplorer.new_file
New Form…——Create a new form (.crawform) in the selected folderexplorer.new_form
New Folder…——Create a new directory in the selected pathexplorer.new_folder
Open——Open selected file in editor or designerexplorer.open
Reveal in File Explorer——Open system file manager showing this file or folderexplorer.reveal
Copy Path——Copy absolute file path to clipboardexplorer.copy_path
Copy Relative Path——Copy relative file path to clipboardexplorer.copy_rel_path
Rename…——Rename selected file or folderexplorer.rename
Delete——Delete selected file or folderexplorer.delete
Refresh Explorer——Refresh explorer file listexplorer.refresh
Collapse Folders in Explorer——Collapse all expanded folders in the explorer treeexplorer.collapse_all

Edit

CommandShortcutClassic keymapWhat it doesId
UndoCtrl+ZCtrl+ZUndo the last changeedit.undo
RedoCtrl+YCtrl+Shift+ZRedo the last undone changeedit.redo
CutCtrl+XCtrl+XCut the selected componentsedit.cut
CopyCtrl+CCtrl+CCopy the selected componentsedit.copy
PasteCtrl+VCtrl+VPaste components from the clipboardedit.paste
DeleteDelDelDelete the selected componentsedit.delete
Select allCtrl+ACtrl+ASelect every component on the formedit.select_all
CutCtrl+XCtrl+XCut the selected text to the clipboardeditor.cut
CopyCtrl+CCtrl+CCopy the selected text to the clipboardeditor.copy
PasteCtrl+VCtrl+VPaste the clipboard’s text at the careteditor.paste
Select allCtrl+ACtrl+ASelect all the text of the fileeditor.select_all
DuplicateCtrl+DCtrl+Shift+DDuplicate the selected componentsedit.duplicate
New action——Add an action to the selected ActionListaction.new
New page——Add a page to the selected PageControl, and open itpage.new
Standard actions…——Add standard actions to the selected ActionListaction.standard
Add all fields——Add one column per field of the grid’s tablecollection.add_all_fields
Lock controlsCtrl+Shift+LCtrl+Shift+LStop components from being moved or resized in the designer — the Inspector still edits themedit.lock_controls
Go to Line and Column——Put the caret on a line and column of the file open in the editoreditor.go_to
Trigger Suggest——Open the completion list at the caret: the component’s fields at once, rust-analyzer’s items when they arriveeditor.complete
Code Templates——Insert a ready snippet at the caret: Tab walks its stopseditor.templates
Toggle Bookmark——Numbered bookmark 1–9 on the caret’s line, or off it (Ctrl+Shift+1…9)editor.toggle_bookmark
Go to Bookmark——The caret to numbered bookmark 1–9 of the file in the editor (Ctrl+1…9)editor.go_to_bookmark
Add documentationCtrl+Alt+DCtrl+Alt+DPublic docs of this item, in the rustdoc format. Shows in cargo doc and docs.rs.editor.add_documentation
Add noteCtrl+Alt+NCtrl+Alt+NPrivate context for developers: why, history, decisions. Never becomes docs.editor.add_note
Add commentCtrl+Alt+MCtrl+Alt+MA short remark on this line, like a review comment. Open or resolved.editor.add_comment

View

CommandShortcutClassic keymapWhat it doesId
Toggle Design/CodeF12F12Switch between the form and the code behind itview.toggle_code
Toggle form sourceAlt+F12Alt+F12Show the form as text, in place of the drawingview.toggle_form_source
Preview——Run the form inside the IDE — no ruler, no handles, no gridview.toggle_live
ProblemsCtrl+Shift+MCtrl+Shift+MShow what the last build reported, and click to go thereview.toggle_problems
Inlay Hints——Show or hide the types rust-analyzer infers, in grey inside the lineseditor.toggle_inlay_hints
Toggle panel——Show the panel, or hide it when it is already the visible tablayout.toggle_panel
Reset Layout——Put every panel back where the IDE ships itlayout.reset
Show panel——Open the panel if it was closed, and focus itlayout.show_panel
Hide panel——Close the panel’s tab — the rail brings it backlayout.hide_panel
Float panel——Detach the panel over the window — it does not leave the IDElayout.float_panel
Move panel to side——Dock the panel against the left, right or bottom edgelayout.move_panel
Stack panel onto another——Put the panel in the same tab group as another panellayout.stack_panel
Apply Desktop Profile——Put the window, docks, Inspector split, font and zoom as the profile has themlayout.apply_profile
Save Desktop Profile——Keep the window, docks, Inspector split, font and zoom under a namelayout.save_profile
Delete Desktop Profile——Forget a saved desktop profilelayout.delete_profile
Zoom inCtrl+Shift+.Ctrl+Shift+.Enlarge the form on the canvas — the form itself does not changeview.zoom_in
Zoom outCtrl+Shift+,Ctrl+Shift+,Shrink the form on the canvas — the form itself does not changeview.zoom_out
Zoom 100%Ctrl+1Ctrl+1Back to actual size — the only zoom where the canvas measures what the app willview.zoom_reset
Zoom in (interface)——Enlarge the whole IDE — menus, panels and the canvas togetherview.ui_zoom_in
Zoom out (interface)——Shrink the whole IDE — menus, panels and the canvas togetherview.ui_zoom_out
Zoom 100% (interface)——Back to the system size — the IDE at the scale the desktop asked forview.ui_zoom_reset
Command PaletteCtrl+Shift+PCtrl+Shift+PSearch and run any command or capability across the IDEview.command_palette

Tools

CommandShortcutClassic keymapWhat it doesId
Manage Code Templates…——Add, change, import and export your code templateseditor.manage_templates
Options…Ctrl+,—Configure IDE settings, designer grid, build targets and ACP agentstools.options
MCP Servers…——Configure connected Model Context Protocol servers and tool integrationstools.mcp
AI Custom Instructions…——Global instructions and context shared with all AI assistant sessionstools.ai_memory
Notes…Ctrl+Shift+NCtrl+Shift+NAdd or edit documentation, a note or a comment at the carettools.sidecar_note

Go

CommandShortcutClassic keymapWhat it doesId
Go to DefinitionCtrl+F12Alt+UpAsk rust-analyzer where the symbol at the caret is defined and go there; Ctrl+Click does the sameeditor.goto_definition
Go BackAlt+LeftAlt+LeftBack to where the last Go to Definition lefteditor.navigate_back
Go ForwardAlt+RightAlt+RightForward again, to where Go Back lefteditor.navigate_forward
Find ReferencesShift+Alt+F12Ctrl+Shift+EnterEvery use of the name at the caret, its declaration included, in the References panel; the generated form source is markededitor.find_references
Show HoverCtrl+KCtrl+Krust-analyzer’s signature and docs for the name at the caret; resting the mouse on a name does the sameeditor.show_hover
Param HintsCtrl+Shift+SpaceCtrl+Shift+Spacerust-analyzer’s signature of the call around the caret, its current parameter marked; typing ( or , opens it, Esc closes iteditor.parameter_hints
Context MenuShift+F10Shift+F10The code editor’s context menu at the caret, as a right click opens it at the pointereditor.context_menu
Go to base form——Open the form this one inherits fromform.open_base

Refactor

CommandShortcutClassic keymapWhat it doesId
Format DocumentShift+Alt+FCtrl+DFormat the whole file with rust-analyzer (rustfmt); one Ctrl+Z undoes it. Not the generated form sourceeditor.format_document
Rename Symbol—Ctrl+Shift+ERename the name at the caret in every file, after a preview, in memory (F2 in the code editor). A component or a handler is renamed from the Object Inspectoreditor.rename_symbol
Quick Fix…Ctrl+.Ctrl+.rust-analyzer’s code actions and quick fixes at the caret (an import, a qualified path, a rewrite); the light bulb on the line says there are someeditor.code_actions
Apply Code Action——Apply one of the code actions offered at the caret (editor.code_actions lists them), by its index from 0; the generated form source is refusededitor.apply_code_action
Fix and Explain——Fix the compiler diagnostic on the caret’s line and explain why in chatchat.fix_explain
Add File to Chat——Put @file in the chat message, without sending itai.add_file_to_chat
Add Selection to Chat——Attach the selected code to the chat message, without sending itai.add_selection_to_chat
Explain Selection——Attach the selected code and ask the chat to explain itai.explain_selection
Review Selection——Attach the selected code and ask the chat for a read-only reviewai.review_selection

rust-analyzer

CommandShortcutClassic keymapWhat it doesId
Reload Workspace——Make rust-analyzer read the Cargo.toml files againlsp.reload_workspace
Restart Server——Stop rust-analyzer and start it againlsp.restart
Stop Server——Stop rust-analyzer; opening a Rust file starts it againlsp.stop

Run

CommandShortcutClassic keymapWhat it doesId
RunF5F9Generate, build and run — with the PROJECT’s generator, not the surface selectorproject.run
Toggle BreakpointF9F5Add or remove the breakpoint on the caret’s line of the file in the editordebug.toggle_breakpoint
Add Watch—Ctrl+F5Watch an expression in the Run and Debug panel — the selection or the word under the caret when none is givendebug.add_watch
Remove Watch——Remove a watch from the Run and Debug panel by its position (0 is the first)debug.remove_watch
Run Without DebuggingCtrl+F5Ctrl+Shift+F9Generate, build and run with no debugger attached — breakpoints are ignoredproject.run_without_debugging
Step OverF10F8Run the stopped program to the next line, over any calldebug.step_over
Step IntoF11F7Run the stopped program into the call on this linedebug.step_into
Step OutShift+F11Shift+F8Run the stopped program until the current function returnsdebug.step_out
PauseF6—Stop the running program where it isdebug.pause
Stop DebuggingShift+F5Ctrl+F2End the program under the debuggerdebug.stop

Project

CommandShortcutClassic keymapWhat it doesId
Open code——Open the generated project in your editorproject.open_editor
Open in editor——Open a file of the project in a tab, next to the designeditor.open
Generate—Ctrl+F9Generate the Cargo project — with the PROJECT’s generator, not the surface selectorproject.generate
Build…Ctrl+Shift+BShift+F9Configure targets, profiles and build projectproject.build_manager
Build All——Build all workspace members with cargo build –workspaceproject.build_all
Clean All——Remove what every workspace member built, with cargo cleanproject.clean_all
Options…——Configure project title and iconproject.options
Run Language——Select language for project execution (empty for system language)project.run_language

Help

CommandShortcutClassic keymapWhat it doesId
Welcome Page——Show the welcome page — templates and recent foldershelp.welcome
Check Environment…——Check the Rust toolchain and build tools this IDE needshelp.environment

Component

CommandShortcutClassic keymapWhat it doesId
Install Package…——Install a component package — the folder with its manifest.jsoncomponent.install
Installed Packages…——What the catalogue loaded — and what it refused, with the reasoncomponent.installed
Add component——Create a component of a class inside a parent, at a given rectanglecomponent.add
Set property——Change a property on one or more components, in a single undo stepcomponent.set_property
Add item——Create an item inside a collection, of the class it declarescomponent.add_item
Reorder——Move a component up or down among its siblingscomponent.reorder
Rename——Change the Name of a component — it is unique in the formcomponent.rename
Bind event——Point an event of a component at a handler function — empty unbinds itevent.bind
Override inherited event——Give an inherited component’s event a handler of this form that calls the base’s firstevent.override
Go to handler——Open this form’s handler of the event in the codeevent.go_to_handler
Go to inherited handler——Open the base form’s handler of the event in the codeevent.go_to_inherited
Revert to inherited——Point the event back at the base’s handler; the method you wrote stays in the codeevent.revert_inherited
Rename event handler——Give the handler of an event a new name, keeping its code — every event bound to it followsevent.rename
Bind property——Bind a component property to a data source — empty source unbinds itbinding.set

Align

CommandShortcutClassic keymapWhat it doesId
Align left——Align leftalign.left
Align centers——Align centersalign.centers
Align right——Align rightalign.right
Align top——Align topalign.top
Align middles——Align middlesalign.middles
Align bottom——Align bottomalign.bottom
Space equally, horizontally——Same gap between components, horizontallyalign.space_horizontally
Space equally, vertically——Same gap between components, verticallyalign.space_vertically

Size

CommandShortcutClassic keymapWhat it doesId
Same width——Match the width of the first selectedalign.same_width
Same height——Match the height of the first selectedalign.same_height
Same size——Match the size of the first selectedalign.same_size

In form

CommandShortcutClassic keymapWhat it doesId
Center horizontally in form——Center the selection in the form, horizontallyalign.center_in_form_h
Center vertically in form——Center the selection in the form, verticallyalign.center_in_form_v

Order

CommandShortcutClassic keymapWhat it doesId
Bring to front——Bring to frontorder.bring_to_front
Bring forward——Bring forwardorder.bring_forward
Send backward——Send backwardorder.send_backward
Send to back——Send to backorder.send_to_back
Renumber tab order——Renumber the tab sequence from 0, removing gapsorder.renumber_tab_order
Earlier in tab order——Move the selected component earlier in the tab sequenceorder.tab_earlier
Later in tab order——Move the selected component later in the tab sequenceorder.tab_later

Designer

CommandShortcutClassic keymapWhat it doesId
Designer Language——Switch visual designer language preview (empty for source English)designer.language
Select Component——Select a component of the form by id (the Object Inspector picker)component.select

Inspector

CommandShortcutClassic keymapWhat it doesId
Open property editor——Open whatever edits this property — the lines editor, the collection editor, the align pickerinspector.open_editor
Open collection editor——Open the dialog of a component’s child collection — the Columns of a Grid, the Panels of a StatusBarinspector.open_collection
Close property editor——Close the property editor without writing anythinginspector.close_editor
Edit events…——Show the Events tab of the selected componentinspector.show_events
Rename——Type a new Name for the selected component in the Inspectorinspector.rename
Toggle property group——Unfold the sub-rows of a property — Rect, Margins, Anchors — or fold them awayinspector.toggle_group
Toggle property category——Fold a category of the Object Inspector — Layout, Advanced — or open it backinspector.toggle_category
Pick picture file——Choose the image file a Picture property shows — the file dialog, or file to skip itinspector.pick_picture
Pick font——Choose the font a Font property shows — the native font dialog, or font to skip itinspector.pick_font
Set property name width——Move the splitter between the names and the values of the Object Inspector — the width of the name column, in pixelsinspector.set_name_width

Keyboard shortcuts

This page is generated from the code editor’s chord table. The shortcuts of the IDE commands are listed with each command in Menus and commands. The keymap scheme, Modern (the default) or Classic, is chosen in Tools > Options.

Code editor

ActionModernClassic
Comment or uncomment the linesCtrl+/, Ctrl+;Ctrl+/, Ctrl+;, Ctrl+Shift+C
Select the next occurrenceCtrl+DCtrl+Shift+D
FindCtrl+FCtrl+F
Find and replaceCtrl+HCtrl+R
Go to lineCtrl+GAlt+G
Quick Open (file.quick_open)Ctrl+PCtrl+O
Command Palette (view.command_palette)Ctrl+Shift+PCtrl+Shift+P
Find nextF3F3
Find previousShift+F3Shift+F3
Move the lines upAlt+UpCtrl+Alt+Up
Move the lines downAlt+DownCtrl+Alt+Down
Copy the lines upShift+Alt+UpShift+Alt+Up
Copy the lines downShift+Alt+DownShift+Alt+Down
Delete the lineCtrl+Shift+KCtrl+Y
Notes (tools.sidecar_note)Ctrl+Shift+NCtrl+Shift+N
Add documentation (editor.add_documentation)Ctrl+Alt+DCtrl+Alt+D
Add note (editor.add_note)Ctrl+Alt+NCtrl+Alt+N
Add comment (editor.add_comment)Ctrl+Alt+MCtrl+Alt+M
Fold the blockCtrl+Shift+[Ctrl+Shift+[
Unfold the blockCtrl+Shift+]Ctrl+Shift+]
Rename the symbolF2—
Show completionsCtrl+SpaceCtrl+Space
Code Templates (editor.templates)Ctrl+JCtrl+J

Moving the cursor

ActionKeys
One word left / rightCtrl+Left, Ctrl+Right
Start / end of the fileCtrl+Home, Ctrl+End
The same, extending the selectionadd Shift

Bookmarks

ActionKeys
Set bookmark 1 to 9Ctrl+Shift+1 … Ctrl+Shift+9
Go to bookmark 1 to 9Ctrl+1 … Ctrl+9

Project templates

This page is generated from the project template catalogue: every template File > New Project offers.

GUI Application

Creates a new Rust application with a graphical user interface using the Makepad framework. It starts with a blank form, open in the Designer, and the code generated from it.

Platforms: Windows, Linux, macOS.

Files created for a project named my_app (a Cargo workspace with the project inside it):

my_app/
├── Cargo.toml   (workspace)
├── .gitignore
└── my_app/
    ├── app.rc
    ├── build.rs
    ├── Cargo.toml
    ├── icon.ico
    ├── icon.png
    └── src/
        ├── form_main.designer.rs
        ├── form_main.crawform
        ├── form_main.rs
        └── main.rs

Console Application

Creates a lightweight Rust command-line tool with clean argument parsing, error handling, and terminal output. No UI dependencies or GPU overhead.

Platforms: Windows, Linux, macOS.

Files created for a project named my_app (a Cargo workspace with the project inside it):

my_app/
├── Cargo.toml   (workspace)
├── .gitignore
└── my_app/
    ├── Cargo.toml
    └── src/
        └── main.rs

Library Crate

Creates a reusable Rust crate structured for sharing components, models, and business logic across projects. Includes crawrad.toml manifest and unit tests.

Platforms: Windows, Linux, macOS.

Files created for a project named my_app (a Cargo workspace with the project inside it):

my_app/
├── Cargo.toml   (workspace)
├── .gitignore
└── my_app/
    ├── Cargo.toml
    ├── crawrad.toml
    └── src/
        └── lib.rs

Web App (WASM)

Compiles directly to WebAssembly and runs in any modern browser via Makepad WebGL/WebGPU backend. Zero client installation required.

Platforms: WebAssembly (Browser).

Files created for a project named my_app (a Cargo workspace with the project inside it):

my_app/
├── Cargo.toml   (workspace)
├── .gitignore
└── my_app/
    ├── Cargo.toml
    └── src/
        ├── form_main.designer.rs
        ├── form_main.crawform
        ├── form_main.rs
        └── main.rs

Mobile App

Cross-platform mobile application targeting Android and iOS with native touch gestures, responsive layout, and mobile window management.

Platforms: Android, iOS.

Files created for a project named my_app (a Cargo workspace with the project inside it):

my_app/
├── Cargo.toml   (workspace)
├── .gitignore
└── my_app/
    ├── Cargo.toml
    ├── src/
    │   ├── main.rs
    │   └── app.rs
    └── res/
        └── icon.png

Multi-window Desktop

Advanced desktop application with support for multiple native OS windows, dockable viewports, RAD forms, and custom window chrome.

Platforms: Windows, Linux, macOS.

Files created for a project named my_app (a Cargo workspace with the project inside it):

my_app/
├── Cargo.toml   (workspace)
├── .gitignore
└── my_app/
    ├── app.rc
    ├── build.rs
    ├── Cargo.toml
    ├── forms/
    │   └── main.crawform
    ├── icon.ico
    ├── icon.png
    └── src/
        ├── app.rs
        └── main.rs

Package / Plugin

Extends CrawRAD IDE with custom component palettes, visual inspectors, code generator backends, and tooling integrations.

Platforms: Windows, Linux, macOS.

Files created for a project named my_app (a Cargo workspace with the project inside it):

my_app/
├── Cargo.toml   (workspace)
├── .gitignore
└── my_app/
    ├── Cargo.toml
    ├── plugin.toml
    └── src/
        └── lib.rs

Custom Template

Start from an empty or custom template scaffold with flexible Cargo configuration and customizable project directory layout.

Platforms: Windows, Linux, macOS, WASM.

Files created for a project named my_app (a Cargo workspace with the project inside it):

my_app/
├── Cargo.toml   (workspace)
├── .gitignore
└── my_app/
    ├── app.rc
    ├── build.rs
    ├── Cargo.toml
    ├── icon.ico
    ├── icon.png
    └── src/
        ├── app.rs
        └── main.rs

Concepts

These pages explain the ideas behind CrawRAD: why a form has a file the IDE writes and a file you write, why the IDE switches between Design and Code, and how one form becomes a native, web or mobile app.

Projects and project groups

The folder you open in CrawRAD is a project group. A group holds one or more projects: usually an app and, when you need them, libraries it uses.

MyGroup/                      the folder you open: the group
  Cargo.toml                    lists the projects of the group
  app/
    Cargo.toml                  the app
    src/
      form_main.crawform        the form you design
      form_main.designer.rs     written by the IDE
      form_main.rs              yours

A group is a normal Cargo workspace, and every project in it is a normal Cargo package. You can build any of them with cargo outside the IDE, and the IDE never moves or restructures your folders.

The active project

One project of the group is active: it is the one Build and Run work on. CrawRAD keeps that choice in the group’s Cargo.toml (default-members), so cargo run in a terminal runs the same project the IDE does.

See Forms: the designer file and your file for what each file inside a project is for.

Forms: the designer file and your file

A form is what you draw in the Designer: a window with its components and their properties. CrawRAD keeps each form in three files, and each file has an owner.

FileOwnerWhat it holds
form_main.crawformthe IDEThe form itself: components, properties and event links, as JSON.
form_main.designer.rsthe IDEThe Rust code that builds the form.
form_main.rsyouYour code: the event handlers and anything else you write.

The Explorer shows the owner as a badge next to each file:

  • Rewritten — rewritten in full on every Generate. Anything you type there is lost.
  • Yours — written once and never touched again.
  • Yours now — written by the IDE the first time; from then on it is yours, and Generate only adds what is missing.

Your code is never overwritten

When you link an event in the Object Inspector (for example OnClick on a button), the IDE adds an empty handler to your file. It never changes or removes code you wrote.

The one thing Generate cleans up is a handler the IDE created that you left empty: Generate removes it, together with its event link, so the form does not keep links to code that does nothing. As soon as you write anything in the handler, it is yours like the rest of the file.

The project’s Cargo.toml is yours too

The project manifest is created by Cargo, not by the IDE, and it belongs to you. You add dependencies to it the normal Cargo way. CrawRAD reads it, for example to find out which target the project uses.

Design view and Code view

Every form opens in two views. The tabs at the bottom of the editor switch between them:

  • Design — the form as you draw it. You place components from the palette, move and resize them, and set their properties in the Object Inspector.
  • Code — your Rust file for the form, where you write the event handlers.
  • History — the local copies of the file, compared with what is in the editor now.

The two views are the same form. A property you set in Design ends up in the generated code; a handler you link in the Object Inspector appears in Code, ready for you to fill in.

Where state belongs

What the form looks like when it opens — texts, fonts, colours, sizes, positions — belongs in Design, as properties. Set them in the Object Inspector, not in code at start-up. Code is for what changes while the app runs: answering a click, loading data, reacting to the user.

Targets: native, web and mobile

CrawRAD does not interpret your form at run time. It generates a normal Rust project from it, written for one UI framework: the project’s target. Two targets are available today:

TargetWhat it isPlatforms
MakepadGPU-drawn UI with live reload of the design, shaders and effects.Windows, Linux, macOS, Web, Mobile
eguiImmediate-mode UI, small and quick to build.Windows, Linux, macOS, Web

You choose the target when you create the project. After that, CrawRAD reads it from the project’s Cargo.toml: a project that depends on makepad-widgets is a Makepad project, and one that depends on eframe is an egui project.

The same form, every target

A form does not change with the target. The components, their properties and your event code stay the same. Only the generated designer file is written for a different framework.

Web projects

A web project builds to WebAssembly. Run builds it and opens it in your browser.

Components and the palette

Everything you place on a form is a component: a button, an edit box, a grid, a data connection. The palette lists the components you can use, and the Object Inspector shows the properties and events of the one you select.

Visual and non-visual components

Most components are visible in the running app. Some are not — a data connection, an action list, an image list. They still sit on the form at design time, drawn as a small icon, so you can select them and set their properties.

Installing more components

A component can come as a package: a Rust crate with a manifest.json that tells the IDE what it brings before anything is compiled.

  • Component ▸ Install Package… installs a package from its folder.
  • Component ▸ Installed Packages… shows what the palette loaded, and what it refused and why.

The IDE checks a package before it installs it. It refuses a package that brings a component name already in use, or a property that would break the forms that use it. You get the reason before waiting for a build.

Data at design time

A Grid bound to a data source shows real rows from your database while you design, not placeholders. You see the real columns and the first rows of the table, so you can size and format columns against real data.

How it works

  • The Grid’s DataSource points at a Dataset, whose Connection reaches the database and whose SQL is the query. The Grid shows that query’s columns and rows.
  • The DesignRows property, in the Data category, sets how many rows the Designer shows: Off, 8, 20 or 50. The default is 8.
  • The rows are read-only in the Designer. They are a preview: nothing is written to the database.
  • A badge at the foot of the Grid says what you are looking at, for example design-time rows · 8 of 1,240 · customers (app.db).

When the database is not reachable

The form never waits for the database. If it cannot be reached, the Grid keeps the last columns it knew, the badge turns amber and says why, and you keep working.

At run time

Your app reads its own data when it runs. The design-time rows exist only in the IDE.