Platforms to show: All Mac Windows Linux Cross-Platform

/Util/Username example


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/Username example

This example is the version from Sun, 17th Mar 2012.

Project "Username example.xojo_binary_project"
Class Window1 Inherits Window
Control StaticText1 Inherits Label
ControlInstance StaticText1 Inherits Label
EventHandler Sub Open() dim s as string s="Welcome "+systemInformationMBS.Username+"!"+EndOfLine s=s+"on machine "+systemInformationMBS.Computername+EndOfLine s=s+"OSVersion: "+systemInformationMBS.OSVersionString+EndOfLine s=s+"OSName: "+systemInformationMBS.OSName+EndOfLine me.text=s End EventHandler
End Control
End Class
MenuBar Menu
MenuItem UntitledMenu3 = ""
MenuItem UntitledMenu2 = "File"
MenuItem FileQuit = "Quit"
MenuItem UntitledMenu0 = "Edit"
MenuItem EditUndo = "Undo"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "Cut"
MenuItem EditCopy = "Copy"
MenuItem EditPaste = "Paste"
MenuItem EditClear = "Clear"
End MenuBar
Class App Inherits Application
End Class
End Project

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


The biggest plugin in space...