Catalog · How the catalog works
cashier-system-pascal
Desktop cashier application built using Lazarus IDE and Object Pascal with dynamic product management and persistent TXT database.
- ★ 1 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
Smart Cashier System
Desktop Point of Sale (POS) application built using Lazarus IDE and Object Pascal.
This project was developed as a portfolio and learning project to demonstrate desktop application development, event-driven programming, file handling, and dynamic product management using Lazarus / Delphi-style programming.
Application Preview
.png) .png) .png) .png) .png) .png) .png)
Features
Login System
- Password protected login form
- Hidden password input
Cashier System
- Product selection using ComboBox
- Automatic product price detection
- Quantity input
- Automatic subtotal calculation
- Total transaction calculation
- Transaction history display
Product Management
- Add new product
- Update product data
- Dynamic product loading
- Persistent TXT database storage
- Popup product management window
File Handling
- Automatic creation of
Barang.txt - Automatic loading of product database
- Permanent data storage
Technologies Used
- Object Pascal
- Lazarus IDE
- Delphi-style RAD Programming
- Event-driven Programming
- TXT Database Storage
Application Structure
| Form | Function |
|---|---|
| Form1 | Login System |
| Form2 | Main Cashier System |
| Form3 | Product Management |
Database Format
Products are stored inside:
Barang.txtExample:
Royco=500
Indomie=3500
Teh Pucuk=4000Format:
ProductName=PriceMain Components
- TForm
- TButton
- TEdit
- TComboBox
- TMemo
- TListBox
- TStringList
System Workflow
Barang.txt
↓
Load Product Data
↓
ComboBox Product List
↓
Select Product
↓
Auto Price Detection
↓
Subtotal Calculation
↓
Transaction ProcessingFuture Improvements
- SQLite Database Integration
- Barcode Scanner Support
- Receipt Printing
- Inventory Management
- Product Search
- User Authentication
- Admin & Cashier Roles
- Sales Reporting
- Export Invoice PDF
- Modern UI Design
Learning Objectives
This project demonstrates:
- Desktop Application Development
- Lazarus / Delphi Programming
- Event-driven Programming
- CRUD Logic
- File Handling
- Basic POS System Architecture
Author
Muhamad Rizki
Notes
This application is a simulation and portfolio project created for educational and software development practice purposes.

