From Clomosy Docs

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

8 January 2025

20 December 2024

29 November 2024

Retrieved from "http:///Code_Examples"
Status Codes Dictionary

Form - Adding an Image

In this example, a form is created, and an image is added to it.

TclForm TclImage

Basic

Image Click and Label Usage

In this example, a label and an image click event are added.

TclForm TclImage TclLabel

Basic

Navigation Actions via Image Clicks

In the example, click actions are performed on multiple image objects framed within a panel object.

TclForm TclImage TclLabel TclPanel TclBasisEvent

Basic

Accessing the Phone Book

In the example, when the application is launched on a mobile device, it accesses the phone's contact list.

TclDeviceManager TclForm TClMemo TClProButton TclBasisEvent

Basic

Creating a Horizontally Scrollable List

In the example, a series of panels are placed inside a TclHorzScrollBox. Each panel represents different sections of the user interface.

TclForm TclPanel TclLabel TClHorzScrollBox TclBasisEvent

Intermediate

Sending Mail

As soon as the button is clicked, the desired e-mail is sent to the e-mail address written in the code.

SendMailNoReplay TclForm TclPanel TclButton TclLabel TclEdit TclBasisEvent

Intermediate

Sending Mail with User Input

The user's email subject, email content, and email address information are collected, and an email is sent using the provided details.

SendMailNoReplay TclForm TclPanel TclEdit TclLabel TclLayout TCLButton TclBasisEvent

Intermediate

Saving and Editing Notes Using a File Application

In this example, a simple notepad application is created using a file. The user can save, edit, and open/read notes from the file.

TclStringList (SaveToFile) TclForm TclLayout TclProEdit TclProButton TclProLabel TclProPanel TclMemo TclBasisEvent

Intermediate

Color Palette Example

In this application, random color codes are generated and the color is shown on the screen. The purpose of the application is to make color choices and to reach the codes of these colors.

GenerateRandom setClipBoard TclForm TclProPanel TclProLabel TclLayout TclBasisEvent

Intermediate

Web API Usage

In the application, a web API is utilized to retrieve universities in Turkey. The API allows searching for specific schools using the search button. Clicking on a particular school navigates to its website.

TclHttp TclWebBrowser TclJSONQuery TclForm TClProListView TClProListViewDesignerPanel TclProLabel TClProSearchEdit TclLabel TClProButton TclPanel TclProPanel

Intermediate

Saving Data to a File in JSON Format

In a form, the user is asked to enter their first name, last name, and age. After the user enters this information, it is converted into JSON format and saved to a file.

ClDataSetFromJSON TclJSONQuery TclForm TCLMemo TClProButton TclProEdit TClProLabel TClLayout

Intermediate

Using CheckBox List in a ListView Object

In the example, data in JSON format is listed within a ListView. The items in the list can be selected. When the button is clicked, it returns the values in the MAIN_TEXT field of the selected items.

TClListView (GetValueCheckBoxList) TclForm TclButton TclStringList TclBasisEvent

Intermediate

Expandable Button List

This project is an example of a list structure consisting of buttons that open and close upon clicking.

TclForm Array TclVertScrollBox TclPanel TclButton Unit uses TclBasisEvent

Intermediate

SQLite Audio Archive and Playback

This project is an application that uses an SQLite database to store and play audio files.

TclForm TclButton TclMediaPlayer TClSQLiteQuery TclBasisEvent

Intermediate

Listing Data with SQLite Database

The code represents an application that manages stock information using an SQLite database. The application dynamically creates panels, labels, and buttons on a form and displays the stock information through these components.

SQLite TClSQLiteQuery TclForm TclPanel TCLLabel TclButton TclBasisEvent

Advanced

Retrieving Data from SQLite Database and Displaying it in ListView

In the example, data is added to the SQLite database, and the added data is displayed on a ListView object.

SQLite TClSQLiteQuery TclForm TclListView

Advanced

SQLite Database - Searching via Barcode Scanning from the List

Using an SQLite database, stock information is listed, and a search operation is performed on the listed data through barcode scanning.

CallBarcodeReader SQLite TClSQLiteQuery TclSearchBox TclForm TClListView TClProButton

Advanced

Student Exam Information Management System

In the example, a GUI application that works with a student exam information database is created. The application connects to SQLite to perform operations such as displaying, adding, deleting, and updating student data.

SQLite TClSQLiteQuery TclForm TclLayout TClProListView TClProListViewDesignerPanel TClProButton TClProLabel TclProEdit TclBasisEvent

Advanced

Vehicle Registration & Tracking

This project is an application for a vehicle registration and tracking system. The car information and images have been added using the SQLite database.

SQLite TClSQLiteQuery TclForm TclPanel TClProButton TCLMemoryStream TclBasisEvent TClProButton TClProLabel TclProEdit TclRest TCLJSONQuery ImageChooser TClProListView TClProListViewDesignerPanel TclHorzScrollBox

Advanced

SQLite Reporting and Charting

This project utilizes SQLite to store sales data, customer analytics, and regional distribution information. The data is then displayed using charts that provide insights into the total sales, customer purchase behavior, and regional performance.

SQLite TClSQLiteQuery TclForm TCLPageControl TclArrayString TClChart

Advanced

SQLite Login & SignUp UI

This project is a Login and SignUp application developed using the Clomosy platform. User information is stored locally in an SQLite database.

SQLite TclForm TclProPanel TCLProButton TclProEdit TclBasisEvent

Advanced