Page 1 of 1

Document modes

Posted: Mon Feb 20, 2017 6:00 am
by DGDanforth
When I wrap a document the cursor is always an arrow corresponding to browser or mask mode.
If I attempt to change the mode using Dev-> , all of the modes are disabled.
What determines the mode of a document?

The StdCmds
PROCEDURE SetBrowserMode;
PROCEDURE SetEditMode;
PROCEDURE SetLayoutMode;
PROCEDURE SetMaskMode;
Do not seem to work on wrapped views.

-Doug

Re: Document modes

Posted: Mon Feb 20, 2017 8:02 am
by Ivan Denisov
You need to forward controls and properties messages to inner view. I think that this should help.

Such questions should be discussed at the community board...

Re: Document modes

Posted: Mon Feb 20, 2017 7:57 pm
by DGDanforth
Ivan Denisov wrote:
Such questions should be discussed at the community board...
I slightly disagree. If it were to turn out that the observed behavior is a bug
then it would be a center issue. If however it is standard behavior (as you suggest)
then it would be a community issue.

-Doug

Re: Document modes

Posted: Tue Feb 21, 2017 8:13 am
by Josef Templ
I would also suggest that such questions should be posted to the
community board first. It can be taken over by the center later if
it turns out to be a bug or a feature request.

- Josef