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:
| Part | Answers | Read 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:
- Rust toolchain:
rustcandcargoversion 1.85.0 or newer (supporting Rust edition 2024). - 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):- Run the setup executable.
- Choose the destination folder (defaults to
Program Files\CrawRADor a per-user directory). - Optionally select the Create a desktop shortcut task.
- 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):- Extract the
.ziparchive to any directory. - Launch
crawrad-ide.exe.
- Extract the
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:
| Tool | Status | Purpose |
|---|---|---|
| System build tools | Required | The linker and system libraries Rust needs to build an app. |
Rust toolchain (rustc · cargo) | Required | Builds and runs every project. Needs 1.85 or newer (edition 2024). |
| rust-analyzer | Required | Completion, hover, go to definition and errors as you type. |
Debugger (lldb-dap) | Optional | Breakpoints and stepping. Run works without it. |
Web target (wasm32-unknown-unknown) | Optional | Only for Web App projects. |
Installing missing tools
When tools are missing, the dialog provides action buttons:
- Install all missing (N): Runs the automated installation pipeline in the background for all tools that can be installed automatically.
- Individual tool buttons:
- Download and install: Downloads
rustup-initand installs the Rust toolchain. - Install: Uses
rustupto update the compiler (rustup update stable), addrust-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-dapfor your operating system.
- Download and install: Downloads
- Check again: Re-probes the machine and refreshes every status indicator.
- Stop install: Cancels an in-progress background installation.
- 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
.zipinstallations, 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.rsis 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
- A form has two files: the designer file, which CrawRAD writes, and
form_main.rs, which is yours. See Forms: the designer file and your file. - Double-clicking a component goes from Design view to Code view, straight to its handler. See Design view and Code view.
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.dband 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:
| Action | Caption | Dataset | Dataset Operation |
|---|---|---|---|
action1 | Insert | dst1 | Insert |
action2 | Save | dst1 | Post |
action3 | Delete | dst1 | Delete |
action4 | Cancel | dst1 | Cancel |
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 wroteform_main.crawform, its generated code and themain.rsthat starts the app from it.
2. Design the form
Place four components, as in the first tutorial:
| Component | Name | Set |
|---|---|---|
| Label | label1 | Caption What is your name? |
| Edit | edit1 | clear its text |
| Button | button1 | Caption Greet |
| Label | label2 | clear 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 itsCargo.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:
| To | Set |
|---|---|
| Change the header text | Title |
| Fix the width | Width, or MinWidth / MaxWidth |
| Align the values | Alignment |
| Format numbers or dates | DisplayFormat |
| Show text for an empty value | NullText |
| Hide it without deleting it | Visible = false |
| Stop the user from editing it | ReadOnly = true |
| Offer a fixed list of values | PickList, 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:
- A provider, for example SQLite Provider (rusqlite) from the Data section of the Toolbox.
- 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. - A Dataset whose Connection is that connection and whose SQL is your query.
- 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 withcargo ideso 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
- Select the component.
- In the Object Inspector, open the Events tab (the Edit events… command does the same).
- 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.
- Open the project you want to build.
- Select Project > Build… from the main menu, click Build on the top toolbar, or press Ctrl+Shift+B (Shift+F9).
- The Build window opens with the title
Build - <project>(displaying the open package name, ormy_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.
- In the top configuration row, click the Profile: button to toggle between
Debug ▾andRelease ▾. - 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)
- 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.
- 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.
- 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.
- In the Features: text field, type comma-separated feature names (placeholder
e.g. feature1,feature2). - Check All features (–all-features) to activate every optional crate feature, or check No default features (–no-default-features) to disable default crate features.
- In Additional Arguments (passed to cargo), type extra command-line flags to forward to the compiler (placeholder
--release, --offline, -j 4, --timings...). - Under Environment Variables (optional), click the + button to add an environment variable row.
- Type the variable name into the Name field (initial default
RUST_LOGorKEY) and its value into the Value field (initial defaultinfoorval), 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.
- 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.
- If the project contains an open form or editor changes, CrawRAD saves files and generates form code before launching the Cargo process.
- While the action runs, the button label updates to indicate active work and the window switches to the command page.
- To abort the operation while running, click Cancel in the command header row.
- 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.
- On the command page, click >_ Output to view the raw compiler terminal stream.
- Click ⚠ Warnings (0) (displaying warning count with a dot
●when selected) to filter only compiler warnings. - Click 🚫 Errors (0) (displaying error count with a dot
●when selected) to filter only compiler errors. - Click 📋 Copy to copy the currently displayed console text to the system clipboard.
- Click 🗑 Clear to erase the log for the active command mode.
- 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.
- Close the Build window while a build or run operation is active.
- Look at the lower-right corner of the IDE where the floating progress card appears.
- Observe the card’s progress icon, headline, current package detail, elapsed clock, and running progress bar.
- Click Show output on the card to reopen the Build window on the running command page, or click Cancel to abort the build task.
- 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)). - 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.
- Run a build in Release profile so that CrawRAD records the binary size and symbol breakdown.
- Open the Build window and click 📏 Size (or 📏 Size • if new release data is unviewed) on the left rail.
- Read the executable name, build timestamp, total binary size, and comparison delta against previous releases.
- Inspect the historical size bar chart showing the growth or reduction across recent release builds.
- Review the crate table to see how much byte weight each crate adds to the binary, with the crate that grew most flagged with
▲. - Scroll down to review the function symbol table to see the largest individual compiled routines.
- 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.
- Open a workspace root containing multiple member packages.
- To compile every workspace member, select Project > Build All from the main menu.
- To remove compiled artifacts for all workspace members, select Project > Clean All from the main menu.
- 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.
- Find the orange Run split button on the toolbar.
- Click the primary Run button (F5 (F9)) to generate forms, build the project, and launch the binary under the debugger.
- Click the down-chevron arrow (
▾) on the right side of the split button to open the run menu. - 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.
- 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.
- Select Tools > Options… (or press Ctrl+, in the Modern keymap).
- In the list on the left, select IDE > Saving and Recovering (or Commonly Used, where the same switch is called Files: Save before Build).
- Check Save editor files before Build or Run.
- 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
| To | Shortcut |
|---|---|
| Run to the next line, over any call | F10 (F8) |
| Go into the call on this line | F11 (F7) |
| Run until the current function returns | Shift+F11 (Shift+F8) |
| Carry on to the next breakpoint | F5 (F9) |
| Stop where it is, now | F6 |
| End the program | Shift+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:
- Documentation (Ctrl+Alt+D):
- Public documentation in standard rustdoc format. Shows in
cargo docand docs.rs. - Attach it by placing the caret on a
fn,struct,enum,trait, orconst. - Adds a
#[note("<id>")]attribute above the item. During build, thecrawrad-notemacro transforms the note into rustdoc attributes (#[doc = "..."]). - Warns if the function or struct signature changes after the documentation was written.
- Public documentation in standard rustdoc format. Shows in
- 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>].
- 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
- In the code editor, place the caret on the line or item you want to annotate.
- Press Ctrl+Shift+N (or select Tools > Notes…).
- 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).
- In the dialog, type your Markdown content.
- 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
- 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.
- Type your review comment and click Save.
- 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.
- 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:
- Open the Notes panel from View › Panels › Notes.
- 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.
- 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.
- Open a form (
.crawform) in your project. - Press F12 (or click Code in the bottom center bar).
- 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.
- In either Design or Code view, press Alt+F12 (or select View > Toggle form source).
- Inspect the read-only generated Rust code.
- 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.
- Press Ctrl+P (Ctrl+O) or select File > Quick Open….
- Type part of a file name or path (for example,
mainorsrc/form). To jump directly to a line, append:lineor:line:col(for example,main.rs:42or:42). - Use the Up and Down arrows to select a file from the filtered list.
- 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.
- 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). - Type an edit into the active buffer.
- Look at the tab label: a dot appears next to the file name to indicate unsaved edits.
- 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.
- Open any Rust file in the code editor.
- Place the caret inside a function, struct, enum, or method implementation.
- 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.
- Place the caret where you want to insert an identifier, and press Ctrl+Space (or type a period
.after an identifier). - 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.
- Use the Up and Down arrows to navigate suggestions.
- 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.
- Place the caret on a new line or inside a code block.
- Press Ctrl+J (or choose Edit > Code Templates).
- Use Up and Down arrows to select a template from the list and press Enter.
- 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.
- Type
(or,inside a function call’s argument list, or press Ctrl+Shift+Space at any time. - Read the parameter card that appears above the call.
- Notice the parameter corresponding to the current caret position highlighted in Rust orange.
- 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.
- Rest your mouse pointer over any identifier, or place the caret on it and press Ctrl+K.
- Read the inferred type, signature, and rustdoc comments displayed in the card.
- 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.
- Place the caret on any symbol name.
- 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.
Navigate back and forward
Retrace your navigation history after jumping to definitions.
- After jumping to a definition, press Alt+Left (or select Go > Go Back).
- 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.
- Place the caret on an identifier.
- Press Shift+Alt+F12 (Ctrl+Shift+Enter), or select Go > Find References.
- In the References panel, on the left, read the uses grouped by file, with the line number and the line’s text.
- 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.
- Place the caret on the name and press F2 (Ctrl+Shift+E), or select Refactor > Rename Symbol.
- Type the new name and press Enter (or click Preview) to see every change. Nothing is applied yet.
- Click Apply to rename in every affected file, in memory.
- 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.
- Look at the line number gutter: when
rust-analyzerhas 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. - Press Ctrl+. (or click the crab).
- In the popup menu, review available code actions (such as adding missing imports, implementing missing trait members, or converting expressions).
- 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.
- Place the caret on a
fn,struct,enum,trait, orconstdeclaration. - Press Ctrl+Alt+D (or select Edit > Add documentation).
- Type your Markdown content in the dialog, or click section buttons (Summary, # Examples, # Errors, # Panics, # Safety) to insert recommended sections.
- 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.
- Place the caret on any code line.
- Press Ctrl+Alt+N (or select Edit > Add note).
- Type a title, tags, and Markdown explanation in the dialog.
- 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.
- Place the caret on any line of code.
- Press Ctrl+Alt+M (or select Edit > Add comment).
- Type your review comment in the dialog and click Save.
- 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.
- Place the caret on any code line and press Ctrl+Shift+N (or select Tools > Notes…).
- Review the Notes popup showing the line number and symbol signature, listing Add documentation, Add note, and Add comment with their status.
- Select any option to open that dialog.
- 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.
- Place the caret on any executable line of code.
- Press F9 (F5), or click in the glyph margin to the left of the line number (or select Run > Toggle Breakpoint).
- 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.
- Set a breakpoint on a line and run the program under the debugger (F5 (F9)).
- Trigger the action that executes that line.
- 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.
- Place the caret on the line you want to bookmark.
- Press Ctrl+Shift+1 through Ctrl+Shift+9.
- 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.
- 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.
- Press Ctrl+F.
- Type the search text in the find bar at the top left of the editor.
- Press Enter (or click >) to jump to the next occurrence, or Shift+Enter (or click <) for the previous occurrence.
- 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.
- Press Ctrl+H (Ctrl+R), or click the > button at the left of the open find bar.
- Type the replacement text in the lower input field.
- 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.
- With a search term entered, press F3 to jump to the next matching occurrence.
- 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.
- Press Ctrl+G (Alt+G). The Go to Line / Column dialog opens.
- In the box, type the line number (for example,
120), or line and column separated by a colon (such as120:15). - 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.
- Place the caret on a line or select multiple lines.
- 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.
- Place the caret on a line or select a range of lines.
- Press Alt+Up (Ctrl+Alt+Up) to move the lines upward.
- 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.
- Place the caret on a line or select multiple lines.
- Press Shift+Alt+Up to duplicate the lines upward.
- 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.
- Place the caret anywhere on the line you want to remove.
- 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.
- Place the caret inside a word or select a text span.
- Press Ctrl+D (Ctrl+Shift+D) to select the current word.
- Press Ctrl+D (Ctrl+Shift+D) again to find and select the next occurrence in the file.
- 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.
- Place the caret inside any block enclosed by braces
{ ... }. - Press Ctrl+Shift+[ to fold the block.
- 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.
- Open any editable
.rsfile in the editor. - 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.
- Press Ctrl+Left to jump the caret to the start of the word on the left.
- Press Ctrl+Right to jump the caret to the end of the word on the right.
- Press Ctrl+Home to jump to the very beginning of the file.
- Press Ctrl+End to jump to the very end of the file.
- 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.
- Open any Rust file in the editor.
- Choose View > Inlay Hints from the top menu.
- Observe subtle grey type hints appearing inline next to variable bindings and function arguments.
- 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.
- Press Ctrl+Shift+M (or select View > Problems).
- Review diagnostics listed with their severity icon, file name, and line location.
- 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.
- 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.
- In any saved file, edit a line of code or press Enter to add a new line.
- Look at the margin immediately to the right of the line numbers: a yellow bar indicates unsaved changes on that line.
- Press Ctrl+S to save the file.
- 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.
- 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).
- In the history entries list, select a snapshot (labeled with local time, relative date such as “today”, origin “Save” or “External”, and line count).
- Review the side-by-side diff comparing the historical snapshot on the left with your current buffer on the right.
- Click Previous or Next to step through diff change blocks.
- 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.
- 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.
- Open the project containing the form you want to inherit.
- Select File > New Inherited Form….
- 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).
- Click Create.
CrawRAD creates customer_dialog.crawform and its accompanying code file customer_dialog.rs.
How inherited forms work
- Delta persistence: The inherited
.crawformsaves 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.
- Select File > New Component….
- Step 1 of 2 · Base:
- In Name, type a
PascalCasename for your component (for example,PriceEdit). - Under Inherit a component, select the native base class from the drop-down (for example,
SpinEditorEdit). - 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.
- This project: Installed into
- Click Next.
- In Name, type a
- Step 2 of 2 · Properties:
- Click + Property to add custom properties.
- For each property, specify:
- Name: A
snake_caseidentifier (for example,currency_code). - Type:
String,i64,f64, orbool. - Default: The initial default value (for example,
USDor0.0). - Category: Property inspector category (defaults to
behavior). - Hint: A description displayed in hover tooltips.
- Name: A
- Click Create.
CrawRAD writes the component crate files:
Cargo.toml: Declares dependencies oncrawrad-componentandcrawrad-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:
- Select Component > Install Package….
- Select the folder containing the component’s
manifest.json. - CrawRAD checks the manifest. Once accepted, the package is copied into the components directory and registered in the palette.
- 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.
- To open the panel from the menu, select View > Panels > Chat.
- To open the panel from the command palette, press Ctrl+Shift+P, type
Toggle panel, press Enter, and choosechat. The Chat has no shortcut of its own. - 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.
- Click New session (the page/plus icon) to start a new chat session, resetting the live agent connection and restoring the initial hero shortcuts.
- Click Clear (the trash/eraser icon) or type
/clearto wipe all messages from the active session. - Click History (the clock icon) to toggle the conversation history popup list.
- Click Settings (the gear icon) or type
/settingsto open Tools > Options directly at AI Assistant / Agent Client Protocol (ACP). - 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.
- To switch the active agent, type
/use <agent-name>in the prompt (for example,/use claudeor/use gemini), or open Tools > Options and choose the agent in AI Assistant / Agent Client Protocol (ACP). - 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.
- 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.
- 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.
- Click ❓ Explain to populate
/explaininto the prompt for understanding selected code or components. - Click ⇄ Refactor to populate
/refactorinto the prompt for restructuring code. - Click 🧪 Test to populate
/testinto the prompt for generating unit tests. - Click 📄 Document to populate
/docsinto the prompt for drafting documentation comments. - Click 🔍 Find to populate
/findinto the prompt for semantic search across files and components. - Click ⚡ Optimize to populate
/refactor optimizeinto the prompt for performance optimizations. - Click the Rust Teacher card (featuring the crab icon and the caption
Learn why, not just how) to populate/teachinto 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.
- To explain code line by line, select a code snippet in the editor and send
/teach(or/teach <topic>). - To understand why a compiler error occurred, place the caret on a line showing an error diagnostic and send
/why. - 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). - 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 /.
- Click the prompt input field (
Ask anything, @ to mention, / for actions) and type your question or instruction. - 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. - 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. - 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. - 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 autotoggles 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/usealone 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.
- Click the + button at the left of the prompt bar. The Add Context menu opens.
- Select one of the context options:
- 🖼 Media: Appends
@media:assets/to reference media files. - @ Mentions: Appends
@filefor 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.
- 🖼 Media: Appends
- To attach code directly from the editor, select code, right-click to open the context menu, and choose:
- Add File to Chat: Adds
@fileto 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.
- Add File to Chat: Adds
- 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.
- Inspect the tool name, target path, and command arguments presented in the card.
- Click Allow Once to approve this single operation.
- Click Allow Always to approve this tool and target for the rest of the session.
- Click Deny to refuse this specific operation.
- 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.
- When the agent produces file edits, inspect the proposed changes displayed directly in the code editor.
- 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). - Press Tab or click Accept (Tab) to accept the changes and update the editor buffer.
- 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.
- Click the History button (clock icon) in the Chat panel header.
- In the history popup, type in the
Search conversationsbox to filter past sessions by keyword. - Review the conversation rows displaying the title, turn count, timestamp, and active session indicator.
- Click any conversation row to load that conversation into the chat panel.
- 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.
- 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.
- 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.
- Open Tools > MCP Servers… (or select
/mcpin chat) to inspect the registered MCP servers and their connection statuses. - External agents connect to the IDE through
crawrad-mcp-bridge, which ships with CrawRAD. - To limit the tool list exposed to the agent and reduce token overhead, pass the
--groupsargument when starting the bridge:crawrad-mcp-bridge --groups design,code - 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.
- To open the dialog from the top menu bar, select Tools > Options…, or press Ctrl+, (no shortcut in Classic).
- To open the dialog from the command palette, press Ctrl+Shift+P (Ctrl+Shift+P), type
Options..., and press Enter. - 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.
- Click the search input box (
Search settings (e.g. font, save, grid, snap, ai, cargo)). - Type a keyword such as
font,line,save,grid,ai, orkey. - To clear the query and restore the full category tree, click the × button next to the search field.
- 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.
- In the left tree under Preferences, click Commonly Used.
- To change editor font scale, pick a size from the Editor: Font Size dropdown (choices:
9 ptto20 pt, default:11 pt). - To toggle editor line numbers, click the Editor: Line Numbers checkbox (
Show line numbers in editor margin, default: on). - Highlight: To save open files before building, click the Files: Save before Build checkbox (
Save editor files before Build or Run, default: off). - Highlight: To configure designer alignment, toggle Display grid (default: on) and Snap to grid (default: on) under Designer: Grid & Snap.
- 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.
- In the left tree under IDE, click Default Folders.
- In the Default Projects Directory: field, type the absolute path where projects should be located.
- Alternatively, click Browse… to select a directory using the system folder picker.
- 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.
- In the left tree under IDE, click Environment Variables.
- 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.
- In the left tree under IDE, click File History & Backups.
- To enable or disable snapshot backups, toggle the Keep a backup copy of a file on every save checkbox (default: on).
- To set maximum revisions per file, select an option from File backup limit: (
1,2,3,5,10,15,20,30,50, or100 copies, default:10 copies). - To debounce frequent saves, select an interval from Merge saves closer than: (
Off,5 s,10 s,30 s, or60 s, default:10 s). - To exclude large files from history, select an option from Skip files larger than: (
256 KB,1 MB,5 MB, or10 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.
- In the left tree under IDE, click Saving and Recovering.
- Under Autosave, toggle Reopen the last project on start (default: on).
- Highlight: Toggle Save editor files before Build or Run (default: off) to write every modified editor buffer to disk automatically before compiling or running.
- Toggle Save the project desktop on close (default: on) to preserve docks, splitters, open editor tabs, and caret positions per project.
- Select an automated saving strategy from Auto save editor files: (
Off,After delay (1 s),On focus change, orOn window change, default:Off). Form design files are excluded from autosave because saving regenerates visual code. - Under Autorecover, toggle Keep recovery copies of unsaved files (default: on).
- Select the autorecovery frequency from the Every: dropdown (
1 min,5 min,10 min, or30 min, default:10 min). Copies are kept in.crawrad/recover. - 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.
- In the left tree under User Interface, click Form Designer.
- Highlight: Under Grid options, toggle Display grid (default: on) to show or hide the dot grid pattern on the canvas.
- Highlight: Toggle Snap to grid (default: on) to snap components to grid multiples during moving and resizing.
- 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:
8pixels). - 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.
- In the left tree under User Interface, click Appearance.
- 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%.
- 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. - 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.
- In the left tree under AI Assistant, click Agent Client Protocol (ACP).
- Highlight: Under Agent in use, inspect the active agent card displaying the agent name, version, status dot (
Ready🟢,Signed out🟡, orNot installed🔴), status description, and action button (such asInstallorSign in). - Click Change agent… to browse the ACP Registry catalog:
- Search available agents using the
Search agentsinput 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.
- Search available agents using the
- Click Show advanced to inspect the agent command line, click Test connection to verify connectivity, or click Open terminal to start a terminal session.
- 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.
- Pick the default Effort (for example High), when the agent supports it.
- 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.
- In the left tree under Editor, click General.
- Select the font scale from Editor Font Size: (
9 pt,10 pt,11 pt,12 pt,14 pt,16 pt,18 pt, or20 pt, default:11 pt). - Select indentation width from Tab Indentation Size: (
2 spaces,4 spaces, or8 spaces, default:4 spaces). - Toggle Show line numbers in editor margin (default: on).
- Toggle Show inferred types in grey inside the lines (inlay hints) (default: on).
- Toggle Highlight the line the caret is on (default: on).
- 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.
- In the left tree under Editor, click Color Scheme.
- Choose a preset from Color Theme Preset: (default: Modern Dark; the others are Classic Dark and Vivid Dark).
- Click Reset Default to revert any customized token colors back to the built-in theme defaults.
- To change a token colour (Keywords, Types, Functions, Identifiers, Numbers, Strings, Comments, Delimiters, Background), type a
#RRGGBBvalue or click … next to it to pick one. The preset changes to Custom. - 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:
- 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.
- In the left tree under Keyboard, click Key Mappings.
- 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.
- Read the summary description beneath the dropdown showing the primary keybindings for the selected preset.
- 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.
- Click Save to write updated preferences to disk and apply them immediately across the IDE.
- 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] namedefined inCargo.toml.
Application icon
CrawRAD displays previews of your icon in four resolutions: 256×256, 48×48, 32×32, and 16×16.
- To load a custom icon, click Load icon….
- Select either:
- An
.icofile containing icon frames. - A
.pngimage. CrawRAD automatically generates the multi-resolution.ico(with 16, 32, 48, and 256 pixel frames) and saves it asicon.icoin your project folder.
- An
- To revert back to the default CrawRAD crab icon, click Default.
- Click OK to save your changes.
Platform icon behavior
- Windows: The icon is embedded directly into the compiled
.exeresource 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.
- Check Write the log points to a file to enable logging.
- 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.
- 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>\logson Windows). - Custom: Type a directory path or click Browse… to select one.
- Set the Minimum level for Debug builds and Release builds:
- Choose from
Debug,Info,Warning,Error, orOff.
- Choose from
- 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.
- New file: every day, or every run. A new file every day needs
- 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):
- Command line flags passed at launch.
- Environment variables set on the machine.
- An override configuration file placed beside the executable.
- 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
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| Caption | text | New | Appearance |
| Kind | one of: bkDefault, bkPrimary, bkInfo, bkWarning, bkDanger | bkPrimary | Appearance |
| Outline | true / false | false | Appearance |
| Count | whole number 0..99999 | 0 | Behavior |
| MaxCount | whole number 1..99999 | 99 | Behavior |
| Associate | reference to a Control | — | Behavior |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
Bevel
Class Bevel · born as bevel1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| Shape | one of: Box, Frame, TopLine, BottomLine, LeftLine, RightLine, Spacer | Box | Appearance |
| Style | one of: Lowered, Raised | Lowered | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
BitBtn
Class BitBtn · born as bit_btn1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Action | reference to a Action | — | Behavior |
| Caption | text | BitBtn | Appearance |
| Kind | one of: bkCustom, bkOK, bkCancel, bkHelp, bkClose, bkYes, bkNo | bkCustom | Behavior |
| Glyph | picture | picture | Appearance |
| NumGlyphs | whole number 1..4 | 1 | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
Breadcrumb
Class Breadcrumb · born as breadcrumb1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Items (read-only) | collection | 3 items | Appearance |
| Separator | text | › | Appearance |
| ItemIndex | whole number -1..100000 | -1 | Behavior |
| Style | one of: bsText, bsChevron | bsText | Appearance |
| SegmentColor | color | #45464B | Appearance |
| CurrentColor | color | #E0612B | Appearance |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
Card
Class Card · born as card1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| Caption | text | Card | Appearance |
| Subtitle | text | — | Appearance |
| CornerRadius | whole number 0..100 | 8 | Appearance |
| Elevation | whole number 0..3 | 1 | Appearance |
| ShowHeader | true / false | true | Appearance |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
CategoryPanel
Class CategoryPanel · born as category_panel1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| Caption | text | CategoryPanel | Appearance |
| Collapsed | true / false | false | Behavior |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnCollapsed | fn(&mut self) |
OnExpanded | fn(&mut self) |
CheckListBox
Class CheckListBox · born as check_list_box1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Items (read-only) | collection | 3 items | Appearance |
| CheckedItems | collection | (empty) | Appearance |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
Chips
Class Chips · born as chips1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Items (read-only) | collection | 3 items | Appearance |
| ItemIndex | whole number -1..100000 | -1 | Behavior |
| Removable | true / false | false | Behavior |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
ColorBox
Class ColorBox · born as color_box1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Selected | color | #000000 | Behavior |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
Drawer
Class Drawer · born as drawer1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| Caption | text | Drawer | Appearance |
| Side | one of: dsLeft, dsRight | dsLeft | Appearance |
| Opened | true / false | false | Behavior |
| ShowHeader | true / false | true | Appearance |
| Overlay | true / false | true | Appearance |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClose | fn(&mut self) |
Grid
Class Grid · born as grid1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| ColCount | whole number 1..100 | 5 | Behavior |
| RowCount | whole number 0..100000 | 5 | Behavior |
| FixedCols | whole number 0..10 | 0 | Behavior |
| FixedRows | whole number 0..10 | 1 | Behavior |
| DefaultColWidth | whole number 20..1000 | 80 | Appearance |
| DefaultRowHeight | whole number 16..500 | 24 | Appearance |
| GridLines | true / false | true | Appearance |
| GroupBar | true / false | false | Appearance |
| Editing | true / false | false | Behavior |
| Cells | text (several lines) | — | Appearance |
| DataSource | reference to a DbRowSource | — | Data |
| TableName | text | — | Data |
| DesignRows | one of: Off, 8, 20, 50 | 8 | Data |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
OnSelectCell | fn(&mut self, col: usize, row: usize) |
Image
Class Image · born as image1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| Picture | picture | picture | Appearance |
| Stretch | true / false | false | Appearance |
| Proportional | true / false | false | Appearance |
| Center | true / false | false | Appearance |
| AutoSize | true / false | false | Appearance |
| Transparent | true / false | false | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
LinkLabel
Class LinkLabel · born as link_label1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| Caption | text | LinkLabel | Appearance |
| URL | text | — | Behavior |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
MaskEdit
Class MaskEdit · born as mask_edit1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Text | text | — | Appearance |
| PasswordChar | text | — | Behavior |
| ReadOnly | true / false | false | Behavior |
| TextHint | text | — | Appearance |
| NumbersOnly | true / false | false | Behavior |
| MaxLength | whole number 0..2147483647 | 0 | Behavior |
| Alignment | one of: taLeftJustify, taCenter, taRightJustify | taLeftJustify | Appearance |
| CharCase | one of: ecNormal, ecUpperCase, ecLowerCase | ecNormal | Behavior |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
| EditMask | text | — | Behavior |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
OnReturn | fn(&mut self) |
MultiSelect
Class MultiSelect · born as multi_select1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Items (read-only) | collection | 5 items | Appearance |
| SelectedItems | collection | (empty) | Appearance |
| TextHint | text | Select… | Appearance |
| DropDownCount | whole number 1..100 | 6 | Appearance |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
Pagination
Class Pagination · born as pagination1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| PageCount | whole number 1..2147483647 | 10 | Behavior |
| PageIndex | whole number 0..2147483647 | 0 | Behavior |
| MaxButtons | whole number 1..100 | 7 | Appearance |
| ShowArrows | true / false | true | Appearance |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
PaintBox
Class PaintBox · born as paint_box1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnPaint | fn(&mut self, canvas: &mut Canvas) |
ScrollBox
Class ScrollBox · born as scroll_box1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| AutoScroll | true / false | true | Behavior |
| HorzScrollBar | true / false | true | Appearance |
| VertScrollBar | true / false | true | Appearance |
| BorderWidth | whole number 0..20 | 1 | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
OnResize | fn(&mut self) |
Shape
Class Shape · born as shape1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| Shape | one of: Rectangle, Square, RoundRect, RoundSquare, Ellipse, Circle | Rectangle | Appearance |
| PenWidth | whole number 0..100 | 1 | Appearance |
| BrushColor | color | #FFFFFF | Appearance |
| PenColor | color | #000000 | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
SpeedButton
Class SpeedButton · born as speed_button1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Action | reference to a Action | — | Behavior |
| Caption | text | — | Appearance |
| Glyph | picture | picture | Appearance |
| NumGlyphs | whole number 1..4 | 1 | Appearance |
| Flat | true / false | true | Appearance |
| Down | true / false | false | Behavior |
| GroupIndex | whole number 0..1000 | 0 | Behavior |
| AllowAllUp | true / false | false | Behavior |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
SpinEdit
Class SpinEdit · born as spin_edit1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Value | whole number -2147483648..2147483647 | 0 | Behavior |
| MinValue | whole number -2147483648..2147483647 | 0 | Behavior |
| MaxValue | whole number -2147483648..2147483647 | 0 | Behavior |
| Increment | whole number 1..2147483647 | 1 | Behavior |
| EditorEnabled | true / false | true | Behavior |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
Splitter
Class Splitter · born as splitter1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| MinSize | whole number 1..2000 | 30 | Behavior |
| AutoSnap | true / false | true | Behavior |
| Beveled | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMoved | fn(&mut self) |
Toggle
Class Toggle · born as toggle1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Caption | text | Toggle | Appearance |
| Checked | true / false | false | Behavior |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
TreeView
Class TreeView · born as tree_view1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Items (read-only) | collection | 4 items | Appearance |
| Images | reference to a ImageList | — | Appearance |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnChanging | fn(&mut self, allow_change: &mut bool) |
OnClick | fn(&mut self) |
OnCollapsed | fn(&mut self) |
OnCollapsing | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnExpanded | fn(&mut self) |
OnExpanding | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
Dialogs
MessageDialog
Class MessageDialog · born as message_dialog1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 28 × 28 | Layout |
| Title | text | — | Appearance |
| Text | text | — | Appearance |
| Kind | one of: mtInformation, mtWarning, mtError, mtConfirmation | mtInformation | Appearance |
| Buttons | one of: mbOK, mbOKCancel, mbYesNo, mbYesNoCancel | mbOK | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClose | fn(&mut self) |
OpenDialog
Class OpenDialog · born as open_dialog1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 28 × 28 | Layout |
| Title | text | Open | Appearance |
| Filter | text | All files (.)|. | Behavior |
| FileName | text | — | Behavior |
| InitialDir | text | — | Behavior |
| DefaultExt | text | — | Behavior |
SaveDialog
Class SaveDialog · born as save_dialog1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 28 × 28 | Layout |
| Title | text | Save As | Appearance |
| Filter | text | All files (.)|. | Behavior |
| FileName | text | — | Behavior |
| InitialDir | text | — | Behavior |
| DefaultExt | text | — | Behavior |
Standard
ActionList
Class ActionList · born as action_list1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 28 × 28 | Layout |
| Enabled | true / false | true | Behavior |
| Images | reference to a ImageList | — | Appearance |
Button
Class Button · born as button1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Action | reference to a Action | — | Behavior |
| Caption | text | Button | Appearance |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
CheckBox
Class CheckBox · born as check_box1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Caption | text | CheckBox | Appearance |
| Checked | true / false | false | Behavior |
| State | one of: cbUnchecked, cbChecked, cbGrayed | cbUnchecked | Behavior |
| AllowGrayed | true / false | false | Behavior |
| Alignment | one of: taLeftJustify, taRightJustify | taRightJustify | Appearance |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
ComboBox
Class ComboBox · born as combo_box1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Items (read-only) | collection | 3 items | Appearance |
| ItemIndex | whole number -1..100000 | -1 | Behavior |
| Text | text | — | Appearance |
| Style | one of: DropDownList, DropDown | DropDownList | Appearance |
| Sorted | true / false | false | Behavior |
| DropDownCount | whole number 1..100 | 8 | Appearance |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
OnSelect | fn(&mut self) |
Edit
Class Edit · born as edit1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Text | text | — | Appearance |
| PasswordChar | text | — | Behavior |
| ReadOnly | true / false | false | Behavior |
| TextHint | text | — | Appearance |
| NumbersOnly | true / false | false | Behavior |
| MaxLength | whole number 0..2147483647 | 0 | Behavior |
| Alignment | one of: taLeftJustify, taCenter, taRightJustify | taLeftJustify | Appearance |
| CharCase | one of: ecNormal, ecUpperCase, ecLowerCase | ecNormal | Behavior |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
OnReturn | fn(&mut self) |
GroupBox
Class GroupBox · born as group_box1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| Caption | text | GroupBox | Appearance |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
ImageList
Class ImageList · born as image_list1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 28 × 28 | Layout |
| Width | whole number 8..256 | 16 | Appearance |
| Height | whole number 8..256 | 16 | Appearance |
| Images (read-only) | collection | (empty) | Advanced |
Label
Class Label · born as label1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| Caption | text | Label | Appearance |
| Alignment | one of: taLeftJustify, taCenter, taRightJustify | taLeftJustify | Appearance |
| Layout | one of: tlTop, tlCenter, tlBottom | tlTop | Appearance |
| WordWrap | true / false | false | Appearance |
| AutoSize | true / false | false | Appearance |
| FocusControl | reference to a WinControl | — | Behavior |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
ListBox
Class ListBox · born as list_box1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Items (read-only) | collection | 3 items | Appearance |
| ItemIndex | whole number -1..100000 | -1 | Behavior |
| MultiSelect | true / false | false | Behavior |
| Sorted | true / false | false | Behavior |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
MainMenu
Class MainMenu · born as main_menu1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 28 × 28 | Layout |
| Images | reference to a ImageList | — | Appearance |
Memo
Class Memo · born as memo1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Lines | text (several lines) | Line1 | |
| Line2 | |||
| Line3 | Appearance | ||
| ReadOnly | true / false | false | Behavior |
| WordWrap | true / false | true | Appearance |
| WantReturns | true / false | true | Behavior |
| WantTabs | true / false | false | Behavior |
| MaxLength | whole number 0..2147483647 | 0 | Behavior |
| ScrollBars | one of: ssNone, ssHorizontal, ssVertical, ssBoth | ssNone | Appearance |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
PageControl
Class PageControl · born as page_control1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| ActivePageIndex | whole number 0..100 | 0 | Behavior |
| TabPosition | one of: tpTop, tpBottom | tpTop | Appearance |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnChanging | fn(&mut self, allow_change: &mut bool) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
OnResize | fn(&mut self) |
Panel
Class Panel · born as panel1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| Caption | text | — | Appearance |
| BorderWidth | whole number 0..20 | 1 | Appearance |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
OnResize | fn(&mut self) |
PopupMenu
Class PopupMenu · born as popup_menu1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 28 × 28 | Layout |
| Images | reference to a ImageList | — | Appearance |
Events
| Event | Handler signature |
|---|---|
OnPopup | fn(&mut self) |
RadioButton
Class RadioButton · born as radio_button1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Caption | text | RadioButton | Appearance |
| Checked | true / false | false | Behavior |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
RadioGroup
Class RadioGroup · born as radio_group1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Caption | text | RadioGroup | Appearance |
| Items (read-only) | collection | 3 items | Appearance |
| ItemIndex | whole number -1..100000 | -1 | Behavior |
| Columns | whole number 1..16 | 1 | Appearance |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
ScrollBar
Class ScrollBar · born as scroll_bar1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Kind | one of: sbHorizontal, sbVertical | sbHorizontal | Appearance |
| Min | whole number -1000000..1000000 | 0 | Behavior |
| Max | whole number -1000000..1000000 | 100 | Behavior |
| Position | whole number 0..1000000 | 0 | Behavior |
| SmallChange | whole number 1..10000 | 1 | Behavior |
| LargeChange | whole number 1..10000 | 10 | Behavior |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
OnScroll | fn(&mut self) |
System
Timer
Class Timer · born as timer1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 28 × 28 | Layout |
| Enabled | true / false | true | Behavior |
| Interval | whole number 1..3600000 | 1000 | Behavior |
Events
| Event | Handler signature |
|---|---|
OnTimer | fn(&mut self) |
Win32
DateTimePicker
Class DateTimePicker · born as date_time_picker1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Kind | one of: dtkDate, dtkTime | dtkDate | Behavior |
| DateTime | text | 2000-01-01 | Behavior |
| MinDate | text | — | Behavior |
| MaxDate | text | — | Behavior |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
ListView
Class ListView · born as list_view1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Items (read-only) | collection | 4 items | Appearance |
| ItemIndex | whole number -1..100000 | -1 | Behavior |
| RowSelect | true / false | true | Behavior |
| GridLines | true / false | false | Appearance |
| ShowColumnHeaders | true / false | true | Appearance |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnColumnClick | fn(&mut self, column: usize) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
OnSelectItem | fn(&mut self, index: usize, selected: bool) |
ProgressBar
Class ProgressBar · born as progress_bar1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Min | whole number -1000000..1000000 | 0 | Behavior |
| Max | whole number -1000000..1000000 | 100 | Behavior |
| Position | whole number 0..1000000 | 0 | Behavior |
| Step | whole number 1..10000 | 10 | Behavior |
| Orientation | one of: Horizontal, Vertical | Horizontal | Appearance |
| Smooth | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
StatusBar
Class StatusBar · born as status_bar1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| SimpleText | text | — | Appearance |
| SimplePanel | true / false | true | Behavior |
| Font | font | (default) | Appearance |
| ParentFont | true / false | true | Appearance |
| Color | color | #00000000 | Appearance |
| ParentColor | true / false | true | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
ToolBar
Class ToolBar · born as tool_bar1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| Flat | true / false | true | Appearance |
| ShowCaptions | true / false | false | Appearance |
| ButtonWidth | whole number 16..256 | 24 | Appearance |
| ButtonHeight | whole number 16..256 | 24 | Appearance |
Events
| Event | Handler signature |
|---|---|
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&mut self) |
TrackBar
Class TrackBar · born as track_bar1 · targets: all
Properties
| Property | Kind | Default | Category |
|---|---|---|---|
| Name | text | — | Identity |
| Rect | position and size | 0, 0, 80 × 24 | Layout |
| Enabled | true / false | true | Behavior |
| Visible | true / false | true | Behavior |
| Hint | text | — | Behavior |
| ShowHint | true / false | true | Behavior |
| Cursor | mouse cursor | default | Appearance |
| PopupMenu | reference to a PopupMenu | — | Behavior |
| Anchors | any of: left, top, right, bottom | [left,top] | Layout |
| Align | one of: None, Top, Bottom, Left, Right, Client | None | Layout |
| Margins | edges (left, top, right, bottom) | 3, 3, 3, 3 | Layout |
| AlignWithMargins | true / false | false | Layout |
| TabOrder | whole number 0..1000 | 0 | Behavior |
| TabStop | true / false | true | Behavior |
| Min | whole number -1000000..1000000 | 0 | Behavior |
| Max | whole number -1000000..1000000 | 10 | Behavior |
| Position | whole number 0..1000000 | 0 | Behavior |
| Orientation | one of: Horizontal, Vertical | Horizontal | Appearance |
| PageSize | whole number 1..1000 | 2 | Behavior |
| Look | one of: Minimal, Box, Round | Minimal | Appearance |
Events
| Event | Handler signature |
|---|---|
OnChange | fn(&mut self) |
OnClick | fn(&mut self) |
OnDblClick | fn(&mut self) |
OnEnter | fn(&mut self) |
OnExit | fn(&mut self) |
OnKeyDown | fn(&mut self, e: KeyEvent) |
OnKeyPress | fn(&mut self, ch: char) |
OnKeyUp | fn(&mut self, e: KeyEvent) |
OnMouseActivate | fn(&mut self, e: MouseActivateEvent) |
OnMouseDown | fn(&mut self, e: MouseEvent) |
OnMouseEnter | fn(&mut self) |
OnMouseLeave | fn(&mut self) |
OnMouseMove | fn(&mut self, e: MouseMoveEvent) |
OnMouseUp | fn(&mut self, e: MouseEvent) |
OnMouseWheel | fn(&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
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| New Project… | — | — | Create a Cargo project — cargo does it, CrawRAD asks the questions | project.new |
| Add Project… | — | — | Create a new project inside the open workspace, and list it as a member | project.add |
| Add Existing Project… | — | — | List a project folder inside the workspace as one of its members | project.add_existing |
| Open Project… | — | — | Open a project folder — the one named, or the folder picker | project.open_folder |
| Open Form… | — | — | Open a form (.crawform) — the one named, or the file picker | file.open_form |
| Remove from Recent | — | — | Take a folder out of the recent projects — the list, never the disk | project.forget_recent |
| New Form… | — | — | Create a new form (.crawform) in the current project | file.new_form |
| New Inherited Form… | — | — | Create a form that inherits the components and handlers of another | file.new_inherited_form |
| New Component… | — | — | Create a user component that inherits an existing one or composes several | file.new_component |
| New File… | — | — | Create a new Rust file (.rs) in the current project | file.new_file |
| Quick Open… | Ctrl+P | Ctrl+O | Quickly open any file in the workspace | file.quick_open |
| Save | Ctrl+S | Ctrl+S | Save what is in front — the edited file, or the form | file.save |
| Save All | — | Ctrl+Shift+S | Save every changed file: the code in every tab, then the form | file.save_all |
| Reload | — | — | Discard changes and reload from disk | file.reload |
| Close | — | — | Close the form — the folder stays open | file.close |
| Recover Unsaved Work | — | — | Bring recovery copies back as unsaved edits — the file on disk stays as it is | file.recover_unsaved |
| Discard Recovery Copies | — | — | Delete recovery copies left by a crash | file.discard_recovery |
| Keep My Version | — | — | Keep your version of the file and overwrite disk on next save | editor.keep_mine |
| Reload from Disk | — | — | Discard your edits and reload the file from disk | editor.reload_from_disk |
| Compare with Disk | — | — | Open diff review comparing your edits with the disk copy | editor.compare_with_disk |
Explorer
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| 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 open | explorer.toggle_folder |
| Toggle badge legend | — | — | Show or hide What the badges mean at the foot of the Explorer | explorer.toggle_legend |
| Toggle open editors | — | — | Show or hide open editors section in Explorer | explorer.toggle_open_editors |
| Toggle outline | — | — | Show or hide outline section in Explorer | explorer.toggle_outline |
| Toggle timeline | — | — | Show or hide timeline section in Explorer | explorer.toggle_timeline |
| Open timeline entry | — | — | Open local history view comparing the selected entry with current buffer | explorer.open_timeline_entry |
| Toggle dependencies | — | — | Show or hide dependencies section in Explorer | explorer.toggle_dependencies |
| New File… | — | — | Create a new file in the selected folder | explorer.new_file |
| New Form… | — | — | Create a new form (.crawform) in the selected folder | explorer.new_form |
| New Folder… | — | — | Create a new directory in the selected path | explorer.new_folder |
| Open | — | — | Open selected file in editor or designer | explorer.open |
| Reveal in File Explorer | — | — | Open system file manager showing this file or folder | explorer.reveal |
| Copy Path | — | — | Copy absolute file path to clipboard | explorer.copy_path |
| Copy Relative Path | — | — | Copy relative file path to clipboard | explorer.copy_rel_path |
| Rename… | — | — | Rename selected file or folder | explorer.rename |
| Delete | — | — | Delete selected file or folder | explorer.delete |
| Refresh Explorer | — | — | Refresh explorer file list | explorer.refresh |
| Collapse Folders in Explorer | — | — | Collapse all expanded folders in the explorer tree | explorer.collapse_all |
Edit
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| Undo | Ctrl+Z | Ctrl+Z | Undo the last change | edit.undo |
| Redo | Ctrl+Y | Ctrl+Shift+Z | Redo the last undone change | edit.redo |
| Cut | Ctrl+X | Ctrl+X | Cut the selected components | edit.cut |
| Copy | Ctrl+C | Ctrl+C | Copy the selected components | edit.copy |
| Paste | Ctrl+V | Ctrl+V | Paste components from the clipboard | edit.paste |
| Delete | Del | Del | Delete the selected components | edit.delete |
| Select all | Ctrl+A | Ctrl+A | Select every component on the form | edit.select_all |
| Cut | Ctrl+X | Ctrl+X | Cut the selected text to the clipboard | editor.cut |
| Copy | Ctrl+C | Ctrl+C | Copy the selected text to the clipboard | editor.copy |
| Paste | Ctrl+V | Ctrl+V | Paste the clipboard’s text at the caret | editor.paste |
| Select all | Ctrl+A | Ctrl+A | Select all the text of the file | editor.select_all |
| Duplicate | Ctrl+D | Ctrl+Shift+D | Duplicate the selected components | edit.duplicate |
| New action | — | — | Add an action to the selected ActionList | action.new |
| New page | — | — | Add a page to the selected PageControl, and open it | page.new |
| Standard actions… | — | — | Add standard actions to the selected ActionList | action.standard |
| Add all fields | — | — | Add one column per field of the grid’s table | collection.add_all_fields |
| Lock controls | Ctrl+Shift+L | Ctrl+Shift+L | Stop components from being moved or resized in the designer — the Inspector still edits them | edit.lock_controls |
| Go to Line and Column | — | — | Put the caret on a line and column of the file open in the editor | editor.go_to |
| Trigger Suggest | — | — | Open the completion list at the caret: the component’s fields at once, rust-analyzer’s items when they arrive | editor.complete |
| Code Templates | — | — | Insert a ready snippet at the caret: Tab walks its stops | editor.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 documentation | Ctrl+Alt+D | Ctrl+Alt+D | Public docs of this item, in the rustdoc format. Shows in cargo doc and docs.rs. | editor.add_documentation |
| Add note | Ctrl+Alt+N | Ctrl+Alt+N | Private context for developers: why, history, decisions. Never becomes docs. | editor.add_note |
| Add comment | Ctrl+Alt+M | Ctrl+Alt+M | A short remark on this line, like a review comment. Open or resolved. | editor.add_comment |
View
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| Toggle Design/Code | F12 | F12 | Switch between the form and the code behind it | view.toggle_code |
| Toggle form source | Alt+F12 | Alt+F12 | Show the form as text, in place of the drawing | view.toggle_form_source |
| Preview | — | — | Run the form inside the IDE — no ruler, no handles, no grid | view.toggle_live |
| Problems | Ctrl+Shift+M | Ctrl+Shift+M | Show what the last build reported, and click to go there | view.toggle_problems |
| Inlay Hints | — | — | Show or hide the types rust-analyzer infers, in grey inside the lines | editor.toggle_inlay_hints |
| Toggle panel | — | — | Show the panel, or hide it when it is already the visible tab | layout.toggle_panel |
| Reset Layout | — | — | Put every panel back where the IDE ships it | layout.reset |
| Show panel | — | — | Open the panel if it was closed, and focus it | layout.show_panel |
| Hide panel | — | — | Close the panel’s tab — the rail brings it back | layout.hide_panel |
| Float panel | — | — | Detach the panel over the window — it does not leave the IDE | layout.float_panel |
| Move panel to side | — | — | Dock the panel against the left, right or bottom edge | layout.move_panel |
| Stack panel onto another | — | — | Put the panel in the same tab group as another panel | layout.stack_panel |
| Apply Desktop Profile | — | — | Put the window, docks, Inspector split, font and zoom as the profile has them | layout.apply_profile |
| Save Desktop Profile | — | — | Keep the window, docks, Inspector split, font and zoom under a name | layout.save_profile |
| Delete Desktop Profile | — | — | Forget a saved desktop profile | layout.delete_profile |
| Zoom in | Ctrl+Shift+. | Ctrl+Shift+. | Enlarge the form on the canvas — the form itself does not change | view.zoom_in |
| Zoom out | Ctrl+Shift+, | Ctrl+Shift+, | Shrink the form on the canvas — the form itself does not change | view.zoom_out |
| Zoom 100% | Ctrl+1 | Ctrl+1 | Back to actual size — the only zoom where the canvas measures what the app will | view.zoom_reset |
| Zoom in (interface) | — | — | Enlarge the whole IDE — menus, panels and the canvas together | view.ui_zoom_in |
| Zoom out (interface) | — | — | Shrink the whole IDE — menus, panels and the canvas together | view.ui_zoom_out |
| Zoom 100% (interface) | — | — | Back to the system size — the IDE at the scale the desktop asked for | view.ui_zoom_reset |
| Command Palette | Ctrl+Shift+P | Ctrl+Shift+P | Search and run any command or capability across the IDE | view.command_palette |
Tools
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| Manage Code Templates… | — | — | Add, change, import and export your code templates | editor.manage_templates |
| Options… | Ctrl+, | — | Configure IDE settings, designer grid, build targets and ACP agents | tools.options |
| MCP Servers… | — | — | Configure connected Model Context Protocol servers and tool integrations | tools.mcp |
| AI Custom Instructions… | — | — | Global instructions and context shared with all AI assistant sessions | tools.ai_memory |
| Notes… | Ctrl+Shift+N | Ctrl+Shift+N | Add or edit documentation, a note or a comment at the caret | tools.sidecar_note |
Go
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| Go to Definition | Ctrl+F12 | Alt+Up | Ask rust-analyzer where the symbol at the caret is defined and go there; Ctrl+Click does the same | editor.goto_definition |
| Go Back | Alt+Left | Alt+Left | Back to where the last Go to Definition left | editor.navigate_back |
| Go Forward | Alt+Right | Alt+Right | Forward again, to where Go Back left | editor.navigate_forward |
| Find References | Shift+Alt+F12 | Ctrl+Shift+Enter | Every use of the name at the caret, its declaration included, in the References panel; the generated form source is marked | editor.find_references |
| Show Hover | Ctrl+K | Ctrl+K | rust-analyzer’s signature and docs for the name at the caret; resting the mouse on a name does the same | editor.show_hover |
| Param Hints | Ctrl+Shift+Space | Ctrl+Shift+Space | rust-analyzer’s signature of the call around the caret, its current parameter marked; typing ( or , opens it, Esc closes it | editor.parameter_hints |
| Context Menu | Shift+F10 | Shift+F10 | The code editor’s context menu at the caret, as a right click opens it at the pointer | editor.context_menu |
| Go to base form | — | — | Open the form this one inherits from | form.open_base |
Refactor
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| Format Document | Shift+Alt+F | Ctrl+D | Format the whole file with rust-analyzer (rustfmt); one Ctrl+Z undoes it. Not the generated form source | editor.format_document |
| Rename Symbol | — | Ctrl+Shift+E | Rename 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 Inspector | editor.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 some | editor.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 refused | editor.apply_code_action |
| Fix and Explain | — | — | Fix the compiler diagnostic on the caret’s line and explain why in chat | chat.fix_explain |
| Add File to Chat | — | — | Put @file in the chat message, without sending it | ai.add_file_to_chat |
| Add Selection to Chat | — | — | Attach the selected code to the chat message, without sending it | ai.add_selection_to_chat |
| Explain Selection | — | — | Attach the selected code and ask the chat to explain it | ai.explain_selection |
| Review Selection | — | — | Attach the selected code and ask the chat for a read-only review | ai.review_selection |
rust-analyzer
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| Reload Workspace | — | — | Make rust-analyzer read the Cargo.toml files again | lsp.reload_workspace |
| Restart Server | — | — | Stop rust-analyzer and start it again | lsp.restart |
| Stop Server | — | — | Stop rust-analyzer; opening a Rust file starts it again | lsp.stop |
Run
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| Run | F5 | F9 | Generate, build and run — with the PROJECT’s generator, not the surface selector | project.run |
| Toggle Breakpoint | F9 | F5 | Add or remove the breakpoint on the caret’s line of the file in the editor | debug.toggle_breakpoint |
| Add Watch | — | Ctrl+F5 | Watch an expression in the Run and Debug panel — the selection or the word under the caret when none is given | debug.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 Debugging | Ctrl+F5 | Ctrl+Shift+F9 | Generate, build and run with no debugger attached — breakpoints are ignored | project.run_without_debugging |
| Step Over | F10 | F8 | Run the stopped program to the next line, over any call | debug.step_over |
| Step Into | F11 | F7 | Run the stopped program into the call on this line | debug.step_into |
| Step Out | Shift+F11 | Shift+F8 | Run the stopped program until the current function returns | debug.step_out |
| Pause | F6 | — | Stop the running program where it is | debug.pause |
| Stop Debugging | Shift+F5 | Ctrl+F2 | End the program under the debugger | debug.stop |
Project
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| Open code | — | — | Open the generated project in your editor | project.open_editor |
| Open in editor | — | — | Open a file of the project in a tab, next to the design | editor.open |
| Generate | — | Ctrl+F9 | Generate the Cargo project — with the PROJECT’s generator, not the surface selector | project.generate |
| Build… | Ctrl+Shift+B | Shift+F9 | Configure targets, profiles and build project | project.build_manager |
| Build All | — | — | Build all workspace members with cargo build –workspace | project.build_all |
| Clean All | — | — | Remove what every workspace member built, with cargo clean | project.clean_all |
| Options… | — | — | Configure project title and icon | project.options |
| Run Language | — | — | Select language for project execution (empty for system language) | project.run_language |
Help
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| Welcome Page | — | — | Show the welcome page — templates and recent folders | help.welcome |
| Check Environment… | — | — | Check the Rust toolchain and build tools this IDE needs | help.environment |
Component
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| Install Package… | — | — | Install a component package — the folder with its manifest.json | component.install |
| Installed Packages… | — | — | What the catalogue loaded — and what it refused, with the reason | component.installed |
| Add component | — | — | Create a component of a class inside a parent, at a given rectangle | component.add |
| Set property | — | — | Change a property on one or more components, in a single undo step | component.set_property |
| Add item | — | — | Create an item inside a collection, of the class it declares | component.add_item |
| Reorder | — | — | Move a component up or down among its siblings | component.reorder |
| Rename | — | — | Change the Name of a component — it is unique in the form | component.rename |
| Bind event | — | — | Point an event of a component at a handler function — empty unbinds it | event.bind |
| Override inherited event | — | — | Give an inherited component’s event a handler of this form that calls the base’s first | event.override |
| Go to handler | — | — | Open this form’s handler of the event in the code | event.go_to_handler |
| Go to inherited handler | — | — | Open the base form’s handler of the event in the code | event.go_to_inherited |
| Revert to inherited | — | — | Point the event back at the base’s handler; the method you wrote stays in the code | event.revert_inherited |
| Rename event handler | — | — | Give the handler of an event a new name, keeping its code — every event bound to it follows | event.rename |
| Bind property | — | — | Bind a component property to a data source — empty source unbinds it | binding.set |
Align
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| Align left | — | — | Align left | align.left |
| Align centers | — | — | Align centers | align.centers |
| Align right | — | — | Align right | align.right |
| Align top | — | — | Align top | align.top |
| Align middles | — | — | Align middles | align.middles |
| Align bottom | — | — | Align bottom | align.bottom |
| Space equally, horizontally | — | — | Same gap between components, horizontally | align.space_horizontally |
| Space equally, vertically | — | — | Same gap between components, vertically | align.space_vertically |
Size
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| Same width | — | — | Match the width of the first selected | align.same_width |
| Same height | — | — | Match the height of the first selected | align.same_height |
| Same size | — | — | Match the size of the first selected | align.same_size |
In form
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| Center horizontally in form | — | — | Center the selection in the form, horizontally | align.center_in_form_h |
| Center vertically in form | — | — | Center the selection in the form, vertically | align.center_in_form_v |
Order
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| Bring to front | — | — | Bring to front | order.bring_to_front |
| Bring forward | — | — | Bring forward | order.bring_forward |
| Send backward | — | — | Send backward | order.send_backward |
| Send to back | — | — | Send to back | order.send_to_back |
| Renumber tab order | — | — | Renumber the tab sequence from 0, removing gaps | order.renumber_tab_order |
| Earlier in tab order | — | — | Move the selected component earlier in the tab sequence | order.tab_earlier |
| Later in tab order | — | — | Move the selected component later in the tab sequence | order.tab_later |
Designer
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| 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
| Command | Shortcut | Classic keymap | What it does | Id |
|---|---|---|---|---|
| Open property editor | — | — | Open whatever edits this property — the lines editor, the collection editor, the align picker | inspector.open_editor |
| Open collection editor | — | — | Open the dialog of a component’s child collection — the Columns of a Grid, the Panels of a StatusBar | inspector.open_collection |
| Close property editor | — | — | Close the property editor without writing anything | inspector.close_editor |
| Edit events… | — | — | Show the Events tab of the selected component | inspector.show_events |
| Rename | — | — | Type a new Name for the selected component in the Inspector | inspector.rename |
| Toggle property group | — | — | Unfold the sub-rows of a property — Rect, Margins, Anchors — or fold them away | inspector.toggle_group |
| Toggle property category | — | — | Fold a category of the Object Inspector — Layout, Advanced — or open it back | inspector.toggle_category |
| Pick picture file | — | — | Choose the image file a Picture property shows — the file dialog, or file to skip it | inspector.pick_picture |
| Pick font | — | — | Choose the font a Font property shows — the native font dialog, or font to skip it | inspector.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 pixels | inspector.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
| Action | Modern | Classic |
|---|---|---|
| Comment or uncomment the lines | Ctrl+/, Ctrl+; | Ctrl+/, Ctrl+;, Ctrl+Shift+C |
| Select the next occurrence | Ctrl+D | Ctrl+Shift+D |
| Find | Ctrl+F | Ctrl+F |
| Find and replace | Ctrl+H | Ctrl+R |
| Go to line | Ctrl+G | Alt+G |
Quick Open (file.quick_open) | Ctrl+P | Ctrl+O |
Command Palette (view.command_palette) | Ctrl+Shift+P | Ctrl+Shift+P |
| Find next | F3 | F3 |
| Find previous | Shift+F3 | Shift+F3 |
| Move the lines up | Alt+Up | Ctrl+Alt+Up |
| Move the lines down | Alt+Down | Ctrl+Alt+Down |
| Copy the lines up | Shift+Alt+Up | Shift+Alt+Up |
| Copy the lines down | Shift+Alt+Down | Shift+Alt+Down |
| Delete the line | Ctrl+Shift+K | Ctrl+Y |
Notes (tools.sidecar_note) | Ctrl+Shift+N | Ctrl+Shift+N |
Add documentation (editor.add_documentation) | Ctrl+Alt+D | Ctrl+Alt+D |
Add note (editor.add_note) | Ctrl+Alt+N | Ctrl+Alt+N |
Add comment (editor.add_comment) | Ctrl+Alt+M | Ctrl+Alt+M |
| Fold the block | Ctrl+Shift+[ | Ctrl+Shift+[ |
| Unfold the block | Ctrl+Shift+] | Ctrl+Shift+] |
| Rename the symbol | F2 | — |
| Show completions | Ctrl+Space | Ctrl+Space |
Code Templates (editor.templates) | Ctrl+J | Ctrl+J |
Moving the cursor
| Action | Keys |
|---|---|
| One word left / right | Ctrl+Left, Ctrl+Right |
| Start / end of the file | Ctrl+Home, Ctrl+End |
| The same, extending the selection | add Shift |
Bookmarks
| Action | Keys |
|---|---|
| Set bookmark 1 to 9 | Ctrl+Shift+1 … Ctrl+Shift+9 |
| Go to bookmark 1 to 9 | Ctrl+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.
| File | Owner | What it holds |
|---|---|---|
form_main.crawform | the IDE | The form itself: components, properties and event links, as JSON. |
form_main.designer.rs | the IDE | The Rust code that builds the form. |
form_main.rs | you | Your 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:
| Target | What it is | Platforms |
|---|---|---|
| Makepad | GPU-drawn UI with live reload of the design, shaders and effects. | Windows, Linux, macOS, Web, Mobile |
| egui | Immediate-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
DataSourcepoints at aDataset, whoseConnectionreaches the database and whoseSQLis the query. The Grid shows that query’s columns and rows. - The
DesignRowsproperty, 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.