Re: forms 45, Disabling and re-enabling a button in forms...
Date: 1996/08/10
Message-ID: <320C9922.7F30_at_bhip.infi.net>#1/1
scaldwel wrote:
>
> In article <estokked.37.000A4FE5_at_sn.no>, estokked_at_sn.no says...
> >
> >In article <4u8usd$9e3_at_news.wlc.com> scaldwel_at_mailhost.wlc.com (scaldwel)
writes
> >:
> >>From: scaldwel_at_mailhost.wlc.com (scaldwel)
> >>Subject: forms 45, Disabling and re-enabling a button in forms...
> >>Date: 7 Aug 1996 02:26:21 GMT
> >>We have a simple form with a number of buttons on it which are disabled and
> >>enabled, depending on the state of the form. For example, two buttons are
> >>disabled in Edit (Query state) mode, but enabled in New record mode. The
> >>problem is that once we disable a button and re enable it again (by setting
> >>the Enabled property programatically), it is no longer possible to tab to
it,
> >>even when the Enabled and Navigable properties are both set to TRUE. Any
> >>ideas greatly appreciated...
> >
> >What about the navigable property ? Is it true or false ?
> >
> >Regards Erlend
> >even when the Enabled and Navigable properties are both set to TRUE.
> ^^^^
>
> I think this must be a bug, since the button is in the tab sequence when I
> open the form, but as soon as I disable the button and re-enable it again, I
> can no longer tab to it, even when explicitly setting navigable to TRUE.
> Somebody please tell me they've come accross this before, or give it a try and
> tell me the same thing happens before I go out of my mind...
>
> Thanks
>
> Shaun
>
Setting the item property enabled to false will set the item navigate property to false, when the item enabled property is set to true, it does not enable the navigate property to true. You have to set the item navigable property to true by using set_item_property. For more information on what property gets disabled and what gets enabled, look in the forms help under set_item_property - propagation of property changes.
Regards
Subbu
Received on Sat Aug 10 1996 - 00:00:00 CEST