Add a transparent shape on top of the form, except the Edit button. You make it transparent by setting it's Backstyle to 0. Use Zorder() to move the container to the front or to the back.
>I would like to display a messagebox as the user clicks any field or any place of my form
>
>Is it possible without have to write the code in each field ?
>
>= messagebox ("This form is readonly, click edit to unlock it")
>
>Moises