Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

Required plugins for this example: MBS XL Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /XL/Performance
This example is the version from Sun, 20th Jan 2018.
Project "Performance.rbp"
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
EventHandler Sub Open() RegisterLibXL '#pragma DisableBackgroundTasks const maxRow = 20000 // max 65535 const maxCol = 255 // max 255 r = new random dim t as integer = ticks dim book as new XLBookMBS dim sheet as XLSheetMBS = book.AddSheet("Strings") for row as integer = 1 to maxRow for col as integer = 0 to maxcol call sheet.WriteString row, col, "Hello" next next sheet = book.AddSheet("Numbers") for row as integer = 1 to maxRow for col as integer = 0 to maxcol call sheet.WriteNumber row, col, row+col next next dim file as FolderItem = SpecialFolder.Desktop.Child("performance.xls") call book.Save(file) t = ticks-t MsgBox "Finished after "+Format(t/60.0,"0.0")+" seconds." file.Launch quit End EventHandler
Sub RegisterLibXL() // once you bought a LibXL license, you can put your license key here // see order links on our website // http://www.monkeybreadsoftware.de/xojo/plugin-xls.shtml #if TargetMacOS then XLBookMBS.SetKeyGlobal "your name", "your Mac LibXL license key" #elseif TargetWin32 then XLBookMBS.SetKeyGlobal "your name", "your Windows LibXL license key" #elseif TargetLinux then XLBookMBS.SetKeyGlobal "your name", "your Linux LibXL license key" #endif End Sub
Property r As random
End Class
MenuBar MenuBar1
MenuItem FileMenu = "&Ablage"
MenuItem FileQuit = "#App.kFileQuit"
MenuItem EditMenu = "&Bearbeiten"
MenuItem EditUndo = "&Rückgängig"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "&Ausschneiden"
MenuItem EditCopy = "&Kopieren"
MenuItem EditPaste = "&Einfügen"
MenuItem EditClear = "#App.kEditClear"
MenuItem UntitledMenu0 = "-"
MenuItem EditSelectAll = "&Alles auswählen"
End MenuBar
End Project

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS XL Plugin.

MBS Xojo Chart Plugins