Displaying uniface version without hardcoding

Author: lalitpct@gmail.com (lalitpct)

We have an application , on the top we want to show the version of the uniface version ie either 8.4 or 9.01.
Is there any variable through which this can be done , as far as I know we can define $appltitle =
but we dont want hardcoding for this , by defaulst it should come from uniface variable..
Is there any way or which is the best way to do so ?

5 Comments

  1. Hello,

    Try the function $about - should give you all the info you need. The return value is a Uniface List and it has the following items:

    Property

    Description

    Example

    tag

    Not used

    N/A

    update

    Not used

    N/A

    track

    Full Uniface version number, including the build identifier

    9.2.01.01

    date

    Build date

    October 04, 2007

    config

    Build configuration identifier

    1004_1

    platform

    Platform compatiblity code, such as WXP, LI9, or AS2. For details, see the Platform Availablity Matrix published on Frontline Uniface.

    WXP

    version

    Uniface version number

    9.2.01

    Hope this helps.

    Kind regards,
    Daniel

    *** Usual disclaimer ***


    Author: diseli (daniel.iseli@uniface.com)
  2. thanks ..it worked in version 9

    just for my information was this there in uniface 8.4 ..


    Author: lalitpct (lalitpct@gmail.com)
  3. thanks ..it worked in version 9

    just for my information was this there in uniface 8.4 ..


    Author: lalitpct (lalitpct@gmail.com)
  4. You're welcome! And yes, $about is also available in version 8.

    Kind regards,
    Daniel

    *** Usual disclaimer ***


    Author: diseli (daniel.iseli@uniface.com)
  5. Hi Daniel/Everyone,

     I was able to see the version in GUI part , but when I check in CHUI part I cant figure way to identfy ...does anyone how to put version in CHUI part

    http://imageshack.us/photo/my-images/685/chui.jpg/

     

     


    Author: lalitpct (lalitpct@gmail.com)