Page 1 of 1

Possible, a function to return the Version-No. of FWH ?

Posted: Thu May 01, 2008 3:51 pm
by ukoenig
Hello from Germany,

i'm often busy with tool-programming.

Is it possible, to have a function which returns
the Version-No. of FWH ?
( maybe it is included allready )

As a sample :
In the visual-tools, i included the option to show animated gif's.
That works up from Version 8.04.

Before i call the function i could do :

Code: Select all

IF val(FWH_version) < 8.04
    MsgAlert( "This option is only possible " + CRLF + ;
                  "for FWH-Version >= 8.04", "Function-Test")
    RETURN( NIL )
ENDIF
Regards

Uwe :lol:

Re: Possible, a function to return the Version-No. of FWH ?

Posted: Thu May 01, 2008 4:23 pm
by Enrico Maria Giordano
FWVERSION, that is a #define in Fivewin.ch.

EMG

Posted: Thu May 01, 2008 5:36 pm
by sysctrl2
MsgInfo( FWVERSION )

Version-Message of FW-functions.

Posted: Thu May 01, 2008 5:46 pm
by ukoenig
With the tools, i can write the source for the selected colors,
brushes, backgrounds ....
Maybe a better solution might be, to include a message in
the source, when i use a new function like : "Only for Version >= 8.04".

Regards

Uwe :lol: