SlideShare a Scribd company logo
1 of 10
Download to read offline
Ring Documentation, Release 1.10
19.3 Creating and running your ๏ฌrst GUI/Mobile Application
To learn how to create GUI applications using Ring check the โ€œDesktop and Mobile development using RingQtโ€
chapter.
Source Code:
Load "guilib.ring"
New qApp {
new qWidget() {
resize(400,400)
setWindowTitle("Hello, World!")
show()
}
exec()
}
In Ring notepad we have a special button to run GUI applications without displaying the console window.
19.3. Creating and running your ๏ฌrst GUI/Mobile Application 208
Ring Documentation, Release 1.10
The next screen shot present the application during the runtime
19.4 Creating and running your ๏ฌrst Web Application
To learn how support Ring in your web server and how to create web applications using Ring check the โ€œWeb Devel-
opment (CGI Library)โ€ chapter.
Note: You need to support the Ring language in your web server to be able to run the next example.
Source Code:
#!ring -cgi
load "weblib.ring"
Import System.Web
new page {
text("Hello, World!")
}
We can run the application in any web browser or in the browser that are embedded in Ring Notepad.
19.4. Creating and running your ๏ฌrst Web Application 209
Ring Documentation, Release 1.10
For Windows users, Ring comes with Apache Web server!
We can run any web application from any folder directly without doing any con๏ฌguration.
19.5 Creating and running your ๏ฌrst Desktop/Mobile Game
To learn about creating 2D Games using Ring check the โ€œDemo Project - Game Engine for 2D Gamesโ€ chapter.
Source Code:
19.5. Creating and running your ๏ฌrst Desktop/Mobile Game 210
Ring Documentation, Release 1.10
Load "gameengine.ring"
func main
oGame = New Game
{
title = "My First Game"
sprite
{
type = GE_TYPE_PLAYER
x=400 y=400 width=100 height=100
file = "images/player.png"
transparent = true
Animate=false
Move=true
Scaled=true
}
}
We can run the application as any GUI application.
19.6 The Main File in the Project
The idea of the Main File ToolBar is to determine the main ๏ฌle in the project When the project contains many source
code ๏ฌles
Using this feature we can run the project (Main File) at any time while opening other ๏ฌles in the project without the
need to switch to the Main File to run the project.
To quickly use this feature
(Open the project main ๏ฌle)
Press Ctrl+Shift+M to set the current source code ๏ฌle as the main ๏ฌle
19.6. The Main File in the Project 211
Ring Documentation, Release 1.10
Open and modify other source code ๏ฌles in the project
To run the project (Main File) at any time press Ctrl+Shift+F5 (GUI) or Ctrl+Shift+D (Console)
Screen Shots:
19.7 The File Menu
From this menu we can create, open and save the source code ๏ฌles.
Another feature in this menu is โ€œPrint to PDFโ€
19.7. The File Menu 212
Ring Documentation, Release 1.10
19.8 The Edit Menu
From the Edit menu we can Cut, Copy and Paste text.
Also we can change the font and the colors.
We can Go to a speci๏ฌc line or use the Find and Replace window to ๏ฌnd and replace text.
Also We can set the Tab Width (Number of Spaces)
Starting from Ring 1.8 we have the (Find in Files) option.
19.9 The View Menu
From this menu we can show/hide the dockable windows
Also we can change the Style of the Ring Notepad
Common Styles are (Fusion White and Modern Black)
19.8. The Edit Menu 213
Ring Documentation, Release 1.10
Also we can quickly show/hide group of dockable windows based on the context
19.9. The View Menu 214
Ring Documentation, Release 1.10
19.10 The Program Menu
From this menu we can run the programs
Also we can set the Main ๏ฌle in the project
19.11 The Browser Menu
From this menu we can quickly open common links in the browser
19.10. The Program Menu 215
Ring Documentation, Release 1.10
19.12 The Tools Menu
From this menu we can run the Form Designer in separate window
Also we can run the REPL (Read-Eval-Print-Loop) application
19.13 The Distribute Menu
From this menu we can build an executable ๏ฌle for the application
Also we can prepare the application for distribution
19.12. The Tools Menu 216
Ring Documentation, Release 1.10
19.14 The Help Menu
From this menu we can get the help ๏ฌles (CHM & PDF)
19.14. The Help Menu 217

More Related Content

Similar to The Ring programming language version 1.10 book - Part 25 of 212

wxFormBuilder - Tutorial on โ€œA GUI for making GUIsโ€ for Python
wxFormBuilder - Tutorial on โ€œA GUI for making GUIsโ€ for PythonwxFormBuilder - Tutorial on โ€œA GUI for making GUIsโ€ for Python
wxFormBuilder - Tutorial on โ€œA GUI for making GUIsโ€ for Python
Umar Yusuf
ย 

Similar to The Ring programming language version 1.10 book - Part 25 of 212 (20)

The Ring programming language version 1.5.2 book - Part 17 of 181
The Ring programming language version 1.5.2 book - Part 17 of 181The Ring programming language version 1.5.2 book - Part 17 of 181
The Ring programming language version 1.5.2 book - Part 17 of 181
ย 
The Ring programming language version 1.9 book - Part 23 of 210
The Ring programming language version 1.9 book - Part 23 of 210The Ring programming language version 1.9 book - Part 23 of 210
The Ring programming language version 1.9 book - Part 23 of 210
ย 
wxFormBuilder - Tutorial on โ€œA GUI for making GUIsโ€ for Python
wxFormBuilder - Tutorial on โ€œA GUI for making GUIsโ€ for PythonwxFormBuilder - Tutorial on โ€œA GUI for making GUIsโ€ for Python
wxFormBuilder - Tutorial on โ€œA GUI for making GUIsโ€ for Python
ย 
The Ring programming language version 1.8 book - Part 21 of 202
The Ring programming language version 1.8 book - Part 21 of 202The Ring programming language version 1.8 book - Part 21 of 202
The Ring programming language version 1.8 book - Part 21 of 202
ย 
The Ring programming language version 1.3 book - Part 10 of 88
The Ring programming language version 1.3 book - Part 10 of 88The Ring programming language version 1.3 book - Part 10 of 88
The Ring programming language version 1.3 book - Part 10 of 88
ย 
The Ring programming language version 1.10 book - Part 24 of 212
The Ring programming language version 1.10 book - Part 24 of 212The Ring programming language version 1.10 book - Part 24 of 212
The Ring programming language version 1.10 book - Part 24 of 212
ย 
Getting started with android studio
Getting started with android studioGetting started with android studio
Getting started with android studio
ย 
The Ring programming language version 1.8 book - Part 85 of 202
The Ring programming language version 1.8 book - Part 85 of 202The Ring programming language version 1.8 book - Part 85 of 202
The Ring programming language version 1.8 book - Part 85 of 202
ย 
The Ring programming language version 1.4.1 book - Part 4 of 31
The Ring programming language version 1.4.1 book - Part 4 of 31The Ring programming language version 1.4.1 book - Part 4 of 31
The Ring programming language version 1.4.1 book - Part 4 of 31
ย 
The Ring programming language version 1.5.2 book - Part 16 of 181
The Ring programming language version 1.5.2 book - Part 16 of 181The Ring programming language version 1.5.2 book - Part 16 of 181
The Ring programming language version 1.5.2 book - Part 16 of 181
ย 
The Ring programming language version 1.7 book - Part 82 of 196
The Ring programming language version 1.7 book - Part 82 of 196The Ring programming language version 1.7 book - Part 82 of 196
The Ring programming language version 1.7 book - Part 82 of 196
ย 
The Ring programming language version 1.4 book - Part 4 of 30
The Ring programming language version 1.4 book - Part 4 of 30The Ring programming language version 1.4 book - Part 4 of 30
The Ring programming language version 1.4 book - Part 4 of 30
ย 
The Ring programming language version 1.6 book - Part 4 of 189
The Ring programming language version 1.6 book - Part 4 of 189The Ring programming language version 1.6 book - Part 4 of 189
The Ring programming language version 1.6 book - Part 4 of 189
ย 
The Ring programming language version 1.8 book - Part 20 of 202
The Ring programming language version 1.8 book - Part 20 of 202The Ring programming language version 1.8 book - Part 20 of 202
The Ring programming language version 1.8 book - Part 20 of 202
ย 
Introduction to programming using Visual Basic 6
Introduction to programming using Visual Basic 6Introduction to programming using Visual Basic 6
Introduction to programming using Visual Basic 6
ย 
The Ring programming language version 1.6 book - Part 7 of 189
The Ring programming language version 1.6 book - Part 7 of 189The Ring programming language version 1.6 book - Part 7 of 189
The Ring programming language version 1.6 book - Part 7 of 189
ย 
intro unix/linux 12
intro unix/linux 12intro unix/linux 12
intro unix/linux 12
ย 
XCode8.0
XCode8.0XCode8.0
XCode8.0
ย 
Containers Lab
Containers Lab Containers Lab
Containers Lab
ย 
The Ring programming language version 1.10 book - Part 5 of 212
The Ring programming language version 1.10 book - Part 5 of 212The Ring programming language version 1.10 book - Part 5 of 212
The Ring programming language version 1.10 book - Part 5 of 212
ย 

More from Mahmoud Samir Fayed

More from Mahmoud Samir Fayed (20)

The Ring programming language version 1.10 book - Part 212 of 212
The Ring programming language version 1.10 book - Part 212 of 212The Ring programming language version 1.10 book - Part 212 of 212
The Ring programming language version 1.10 book - Part 212 of 212
ย 
The Ring programming language version 1.10 book - Part 211 of 212
The Ring programming language version 1.10 book - Part 211 of 212The Ring programming language version 1.10 book - Part 211 of 212
The Ring programming language version 1.10 book - Part 211 of 212
ย 
The Ring programming language version 1.10 book - Part 210 of 212
The Ring programming language version 1.10 book - Part 210 of 212The Ring programming language version 1.10 book - Part 210 of 212
The Ring programming language version 1.10 book - Part 210 of 212
ย 
The Ring programming language version 1.10 book - Part 208 of 212
The Ring programming language version 1.10 book - Part 208 of 212The Ring programming language version 1.10 book - Part 208 of 212
The Ring programming language version 1.10 book - Part 208 of 212
ย 
The Ring programming language version 1.10 book - Part 207 of 212
The Ring programming language version 1.10 book - Part 207 of 212The Ring programming language version 1.10 book - Part 207 of 212
The Ring programming language version 1.10 book - Part 207 of 212
ย 
The Ring programming language version 1.10 book - Part 205 of 212
The Ring programming language version 1.10 book - Part 205 of 212The Ring programming language version 1.10 book - Part 205 of 212
The Ring programming language version 1.10 book - Part 205 of 212
ย 
The Ring programming language version 1.10 book - Part 206 of 212
The Ring programming language version 1.10 book - Part 206 of 212The Ring programming language version 1.10 book - Part 206 of 212
The Ring programming language version 1.10 book - Part 206 of 212
ย 
The Ring programming language version 1.10 book - Part 204 of 212
The Ring programming language version 1.10 book - Part 204 of 212The Ring programming language version 1.10 book - Part 204 of 212
The Ring programming language version 1.10 book - Part 204 of 212
ย 
The Ring programming language version 1.10 book - Part 203 of 212
The Ring programming language version 1.10 book - Part 203 of 212The Ring programming language version 1.10 book - Part 203 of 212
The Ring programming language version 1.10 book - Part 203 of 212
ย 
The Ring programming language version 1.10 book - Part 202 of 212
The Ring programming language version 1.10 book - Part 202 of 212The Ring programming language version 1.10 book - Part 202 of 212
The Ring programming language version 1.10 book - Part 202 of 212
ย 
The Ring programming language version 1.10 book - Part 201 of 212
The Ring programming language version 1.10 book - Part 201 of 212The Ring programming language version 1.10 book - Part 201 of 212
The Ring programming language version 1.10 book - Part 201 of 212
ย 
The Ring programming language version 1.10 book - Part 200 of 212
The Ring programming language version 1.10 book - Part 200 of 212The Ring programming language version 1.10 book - Part 200 of 212
The Ring programming language version 1.10 book - Part 200 of 212
ย 
The Ring programming language version 1.10 book - Part 199 of 212
The Ring programming language version 1.10 book - Part 199 of 212The Ring programming language version 1.10 book - Part 199 of 212
The Ring programming language version 1.10 book - Part 199 of 212
ย 
The Ring programming language version 1.10 book - Part 198 of 212
The Ring programming language version 1.10 book - Part 198 of 212The Ring programming language version 1.10 book - Part 198 of 212
The Ring programming language version 1.10 book - Part 198 of 212
ย 
The Ring programming language version 1.10 book - Part 197 of 212
The Ring programming language version 1.10 book - Part 197 of 212The Ring programming language version 1.10 book - Part 197 of 212
The Ring programming language version 1.10 book - Part 197 of 212
ย 
The Ring programming language version 1.10 book - Part 196 of 212
The Ring programming language version 1.10 book - Part 196 of 212The Ring programming language version 1.10 book - Part 196 of 212
The Ring programming language version 1.10 book - Part 196 of 212
ย 
The Ring programming language version 1.10 book - Part 195 of 212
The Ring programming language version 1.10 book - Part 195 of 212The Ring programming language version 1.10 book - Part 195 of 212
The Ring programming language version 1.10 book - Part 195 of 212
ย 
The Ring programming language version 1.10 book - Part 194 of 212
The Ring programming language version 1.10 book - Part 194 of 212The Ring programming language version 1.10 book - Part 194 of 212
The Ring programming language version 1.10 book - Part 194 of 212
ย 
The Ring programming language version 1.10 book - Part 193 of 212
The Ring programming language version 1.10 book - Part 193 of 212The Ring programming language version 1.10 book - Part 193 of 212
The Ring programming language version 1.10 book - Part 193 of 212
ย 
The Ring programming language version 1.10 book - Part 192 of 212
The Ring programming language version 1.10 book - Part 192 of 212The Ring programming language version 1.10 book - Part 192 of 212
The Ring programming language version 1.10 book - Part 192 of 212
ย 

Recently uploaded

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
ย 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
bodapatigopi8531
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online โ˜‚๏ธ
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online  โ˜‚๏ธCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online  โ˜‚๏ธ
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online โ˜‚๏ธ
anilsa9823
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female serviceCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
anilsa9823
ย 
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 

Recently uploaded (20)

Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
ย 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
ย 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
ย 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
ย 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
ย 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
ย 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
ย 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
ย 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online โ˜‚๏ธ
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online  โ˜‚๏ธCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online  โ˜‚๏ธ
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online โ˜‚๏ธ
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female serviceCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
ย 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
ย 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
ย 
call girls in Vaishali (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Vaishali (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธcall girls in Vaishali (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Vaishali (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
ย 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
ย 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
ย 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
ย 
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
ย 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
ย 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
ย 

The Ring programming language version 1.10 book - Part 25 of 212

  • 1. Ring Documentation, Release 1.10 19.3 Creating and running your ๏ฌrst GUI/Mobile Application To learn how to create GUI applications using Ring check the โ€œDesktop and Mobile development using RingQtโ€ chapter. Source Code: Load "guilib.ring" New qApp { new qWidget() { resize(400,400) setWindowTitle("Hello, World!") show() } exec() } In Ring notepad we have a special button to run GUI applications without displaying the console window. 19.3. Creating and running your ๏ฌrst GUI/Mobile Application 208
  • 2. Ring Documentation, Release 1.10 The next screen shot present the application during the runtime 19.4 Creating and running your ๏ฌrst Web Application To learn how support Ring in your web server and how to create web applications using Ring check the โ€œWeb Devel- opment (CGI Library)โ€ chapter. Note: You need to support the Ring language in your web server to be able to run the next example. Source Code: #!ring -cgi load "weblib.ring" Import System.Web new page { text("Hello, World!") } We can run the application in any web browser or in the browser that are embedded in Ring Notepad. 19.4. Creating and running your ๏ฌrst Web Application 209
  • 3. Ring Documentation, Release 1.10 For Windows users, Ring comes with Apache Web server! We can run any web application from any folder directly without doing any con๏ฌguration. 19.5 Creating and running your ๏ฌrst Desktop/Mobile Game To learn about creating 2D Games using Ring check the โ€œDemo Project - Game Engine for 2D Gamesโ€ chapter. Source Code: 19.5. Creating and running your ๏ฌrst Desktop/Mobile Game 210
  • 4. Ring Documentation, Release 1.10 Load "gameengine.ring" func main oGame = New Game { title = "My First Game" sprite { type = GE_TYPE_PLAYER x=400 y=400 width=100 height=100 file = "images/player.png" transparent = true Animate=false Move=true Scaled=true } } We can run the application as any GUI application. 19.6 The Main File in the Project The idea of the Main File ToolBar is to determine the main ๏ฌle in the project When the project contains many source code ๏ฌles Using this feature we can run the project (Main File) at any time while opening other ๏ฌles in the project without the need to switch to the Main File to run the project. To quickly use this feature (Open the project main ๏ฌle) Press Ctrl+Shift+M to set the current source code ๏ฌle as the main ๏ฌle 19.6. The Main File in the Project 211
  • 5. Ring Documentation, Release 1.10 Open and modify other source code ๏ฌles in the project To run the project (Main File) at any time press Ctrl+Shift+F5 (GUI) or Ctrl+Shift+D (Console) Screen Shots: 19.7 The File Menu From this menu we can create, open and save the source code ๏ฌles. Another feature in this menu is โ€œPrint to PDFโ€ 19.7. The File Menu 212
  • 6. Ring Documentation, Release 1.10 19.8 The Edit Menu From the Edit menu we can Cut, Copy and Paste text. Also we can change the font and the colors. We can Go to a speci๏ฌc line or use the Find and Replace window to ๏ฌnd and replace text. Also We can set the Tab Width (Number of Spaces) Starting from Ring 1.8 we have the (Find in Files) option. 19.9 The View Menu From this menu we can show/hide the dockable windows Also we can change the Style of the Ring Notepad Common Styles are (Fusion White and Modern Black) 19.8. The Edit Menu 213
  • 7. Ring Documentation, Release 1.10 Also we can quickly show/hide group of dockable windows based on the context 19.9. The View Menu 214
  • 8. Ring Documentation, Release 1.10 19.10 The Program Menu From this menu we can run the programs Also we can set the Main ๏ฌle in the project 19.11 The Browser Menu From this menu we can quickly open common links in the browser 19.10. The Program Menu 215
  • 9. Ring Documentation, Release 1.10 19.12 The Tools Menu From this menu we can run the Form Designer in separate window Also we can run the REPL (Read-Eval-Print-Loop) application 19.13 The Distribute Menu From this menu we can build an executable ๏ฌle for the application Also we can prepare the application for distribution 19.12. The Tools Menu 216
  • 10. Ring Documentation, Release 1.10 19.14 The Help Menu From this menu we can get the help ๏ฌles (CHM & PDF) 19.14. The Help Menu 217