Prior to 2018 r.1
How do I display my application version on an about page
I see in 2018 r.1 added
Application.Version
TIA
Tim
Prior to 2018 r.1
How do I display my application version on an about page
I see in 2018 r.1 added
Application.Version
TIA
Tim
http://documentation.xojo.com/api/deprecated/application.html#application-version
Now if you want something more elaborated, it is up to you.
And, you have plenty applications in your boot disk (Applications folder on macOS) to get ideas from.
Add a build date,
Add a copyright date / name,
etc.
You have to format the version yourself.
For an example see http://documentation.xojo.com/api/deprecated/application.html#application-majorversion
This is a simple template I reuse over and over (nothing fancy):
Dim s As String
s = "***Application Name***"
s = s + EndOfLine + "***Application Description - sentence***" + EndOfLine
s = s + EndOfLine + "Version " + Str(App.MajorVersion) + "." + Str(App.MinorVersion) + "." + Str(App.NonReleaseVersion)
s = s + ", " + App.BuildDate.ShortDate
s = s + EndOfLine + "Made with: Xojo " + XojoVersionString
s = s + EndOfLine + "***Copyright Info***" + Str(App.BuildDate.Year)
MsgBox(s)
Return True