VB Script in custom forms OL2002

A

AS Computer

hi ng,

next problem:

my form has several chexkboxes which I like to lock after they where
clicked.

I wrote the following line in Menu -> form -> view code

public function hirn()
if checkbox1.value = 1 then checkbox1.locked = 1
end function

I published and saved this form but the code is not running and also no
error message is popping up

At what time is this code executing?!?!?!??!

thanx for ANY hints
 
Top