Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

/Util/Encode to URL
Function:
Required plugins for this example: MBS Util Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Util/Encode to URL
This example is the version from Sun, 17th Mar 2012.
Project "Encode to URL.rbp"
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
EventHandler Sub Open() dim s as string = "20101210 1244 - Sky Cinema +24 - Wen die Geister lieben.ts" MsgBox EncodingToURLMBS(s) // gives: 20101210%201244%20-%20Sky%20Cinema%20+24%20-%20Wen%20die%20Geister%20lieben.ts MsgBox EncodingToURLMBS(s,1) // gives: 20101210+1244+-+Sky+Cinema+%2B24+-+Wen+die+Geister+lieben.ts MsgBox EncodingToURLMBS(s,2) // gives: 20101210%201244%20-%20Sky%20Cinema%20%2b24%20-%20Wen%20die%20Geister%20lieben.ts End EventHandler
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 Util Plugin.





Links
MBS Xojo tutorial videos