>I try to used a define key to initialized the form object property at designe time
>
>At designe time
>
>#DEFINE _exemple 10
>
>VALUE: =MyFonction(_exemple)
>
>Thank's in Advance for your comments
>Rock
Rock,
The only thing that could possibly be causing an error
(Other than a data type mismatch) is that you are
relying on your design time constant beyond its scope.
Remember that a constant initialized with #DEFINE
is only known to the the form’s method in which
you DEFINEd it.
If you need it to be visible throughout your entire form,
you must put it in a separate file and link it to the
form by selecting "Include File" from the Form menu.
Chris
Chris