S = New RibbonSection("Maintenance", "Maintenance")ī = New RibbonButton("btnDBCompress", "Compress Database", Ico("compress_database"), Nil)ī = New RibbonButton("btnTableCompress", "Compress Table", Ico("compress_table"), Nil)ī = New RibbonButton("btnDBBackup", "Backup Database", Ico("database_backup"), Nil)ī = New RibbonButton("btnQuery", "Query", Ico("query"), Nil)ī = New RibbonButton("btnLookup", "Lookup", Ico("query_lookup"), Nil)ī = New RibbonButton("btnQueryDB", "Query Database", Ico("query-database"), Nil)ī = New RibbonButton("btnExecute", "Execute", Ico("query-execute"), Nil)ī = New RibbonButton("btnReport", "Report", Ico("report"), Nil)ī = New RibbonButton("btnOpenReport", "Open Report", Ico("report_open-add"), Nil)ī = New RibbonButton("btnMailReport", "Mail Report", Ico("report_open-mail"), Nil)Īs part of the solution there is also a support function to work with the added icons:
#Xojo sqlite code
The next and final step is simple to cut & paste the generated Xojo code to the Open event of the RibbonCanvas objectet.ī = New RibbonButton("btnDBHelp", "Database", Ico("database-help"), Nil)ī = New RibbonButton("btnQHelp", "Query", Ico("query-help"), Nil)ī = New RibbonButton("btnRHelp", "Report", Ico("report-help"), Nil)ī = New RibbonButton("btnAdd", "Add", Ico("button_green_add"), Nil)ī = New RibbonButton("btnUpdate", "Update", Ico("button_green_down"), Nil)ī = New RibbonButton("btnDelete", "Delete", Ico("button_red_delete"), Nil) Click the button To XML/Xojo and it will very fast generate the required code to build the customized Ribbon UI. The last step to do is to generate the code to create the Ribbon UI.
![xojo sqlite xojo sqlite](https://docs.aprendexojo.com/lib/exe/fetch.php?media=logo.png)
![xojo sqlite xojo sqlite](https://static.filehorse.com/screenshots/developer-tools/xojo-screenshot-04.png)
When all the elements have been added to the Ribbon it can look as the following screen shot: When adding new elements we can at the same time manipulate the added item. To start to add Tabs, Sections and Buttons we simple click on the Reorder Ribbon button. The following screen shot views the Ribbon UI tool: Next, let us have a look on the control itself. It’s easy to keep these three elements in mind. The elements of the control are as the following picture shows: Interesting, when creating the Ribbon UI and the code for it we actually run in Debug mode. It’s a visual designer tool that generates the required code to show and use the Ribbon UIs.
![xojo sqlite xojo sqlite](http://man.hubwiz.com/docset/Xojo.docset/Contents/Resources/Documents/docs.xojo.com/images/thumb/0/09/1-IDE-NEWDB-EDITOR.jpg)
The prices are reasonable given what we get for the moneyįirst out is the tool for creating Ribbon UI in an easy way.They are easy to work with, even for a newbie like me.All controls and tools are of high quality.Why I pick these controls is quite simple to explain:
#Xojo sqlite series
This is the first post of a series that will present controls and tools by Jérémie Leroy.