Angus Leeming wrote:
> On Thursday 26 September 2002 5:39 am, R. Lahaye wrote:
> 
>>Hi,
>>
>>In most Xforms (and Qt dialogs as well), I find this function:
>>
>>     bc().addReadOnly(FL_OBJECT * ob)
>>
>>I don't see any effect when commenting it out in the Xforms
>>dialog code. What is it supposed to do? Is it still useful
>>and/or relevant?
> 
> 
> When the document has (or attains) read only status, then these 
> buttons are disabled automatically. So yes, it is both used and 
> useful.

Thanks Angus, for the very useful explanation what all these functions do.

In FormDocument.C I find these two types of calls:

        bc().addReadOnly(language_->choice_inputenc);
and
        bc_.addReadOnly(options_->counter_secnumdepth);


Why do we have bc() in the first, and bc_ in the second call?
Typo, or on purpose?

Rob.

Reply via email to