How to determine Delphi Application Version

后端 未结 6 900
悲哀的现实
悲哀的现实 2020-12-08 04:31

Want to obtain Delphi Application build number and post into title bar

6条回答
  •  庸人自扰
    2020-12-08 04:57

    We do this for all our apps but we use a Raize component RzVersioninfo. works quite well just need to use the following code

    on form create

    Caption := RzVersioninfo1.filedescripion + ': ' + RzVersionInfo1.FileVersion;

    obviously if you don't want any of the other components from raize use one of the options above as there is a cost to the raize components.

提交回复
热议问题