View Single Post
  #9  
Old November 8th 06, 05:02 PM posted to microsoft.public.outlook.program_forms
Hollis Paul
external usenet poster
 
Posts: 242
Default My Form Pages are not getting hidden

In article .com,
Lalthan wrote:
Just to add to the below field, I don't think I have any unbound field.

Of course not. Unbound refers only to controls, which are unbound, or
bound to fields. What that means is the following:
A bound control has no click event available to the programmer. The
click event really does happen but it is consumed by the code that was
set up when the control was bound to the field. You don't see that code,
but it is there, somewhere. When you hit enter on a bound control, the
value of the control is automatically transferred to field that is bound
to the control. This does not happen with an unbound control. When you
hit enter with an unbound control, like a button, processing control is
switched to a click-event handler. You can then put any code you like
into the click-event and do a lot of things. But, if you do not also
save the value of the control to a field, it is lost when the form is
closed.

--
Hollis Paul
Mukilteo, WA USA


Ads