Server Events
Every component below has a server event assigned. Use it in the browser and the Delphi handler runs on the server; the handler's answer updates the event log through hx-swap-oob.
Tabs1
OnChange12 open orders, 3 waiting for payment.
The latest order was placed today.
Notifications are on.
Select1
OnChangeShipping: choose a country
Rating1
OnChange★★★★★
Click a star to rate.
TreeView1
OnSelect▼Documents
•Invoices
•Contracts
▼Images
•2025
•2026
•Music
Calendar1
OnSelect| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 |
Stepper1
OnSelect✓
Cart
2
Shipping
3
Payment
4
Done
Scheduler1
OnSelectNovember 2026
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 Team meeting | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 Customer call |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 Release | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Modal1
OnButtonClick, OnCloseOpens a modal with Cancel and Confirm buttons.
Toast1
OnBodyClick, OnCloseShows a toast that hides itself after 5 seconds.
Event log
No events yet.
sgcHTMLjust now
Click this text to fire OnBodyClick.