Document modes

Post Reply
User avatar
DGDanforth
Posts: 1061
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, California, USA
Contact:

Document modes

Post 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
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

Re: Document modes

Post 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...
User avatar
DGDanforth
Posts: 1061
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, California, USA
Contact:

Re: Document modes

Post 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
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

Re: Document modes

Post 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
Post Reply