Re: [BLACKBOX] Context

From: Campbell, Robert (SELEX GALILEO, UK) <robert.d.campbell{([at]})nowhere.xy>
Date: Thu, 17 May 2012 10:21:28 +0000


Doug

 

The attached code fragments do what I think you are asking for.

 

 

Regards

 

Robert

 

From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
Sent: 17 May 2012 00:30
To: BLACKBOX{([at]})nowhere.xy
Subject: [BLACKBOX] Context

 

                    *** WARNING ***

This message has originated outside your organisation,
  either from an external partner or the Global Internet.
      Keep this in mind if you answer this message.

Folks,

I am still struggling to find a consistent use of Models.Context.

If I do Views.Open or any of the other opens with Views then then
context gets set for me (Document.Context, I believe).

But then the size of the open document is predefined to a default value
which I must then contravene with a Controllers handlers. What this looks
like is the document flashed large then gets reset to a small (my) value.

What I want is to be able to stipulate the size of the view BEFORE it is
opened (with one of Views open procedures).

How do I do that?

---
If I embed a view within a host view then I have control over the context of the
embedded view and I can indeed specify the embedded view's size before
it is first restored.  That works.  It is only in the case when I don't have control
over the context.  OMI in their wisdom, does not allow one to replace the context
of a view once that view has a context (why not?);
-Doug Danforth
---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xySELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy


Doug

 

The attached code fragments do what I think you are asking for.

 

 

Regards

 

Robert

 

From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xyOn Behalf Of Douglas G. Danforth
Sent: 17 May 2012 00:30
To: BLACKBOX{([at]})nowhere.xySubject: [BLACKBOX] Context

 

                    *** WARNING ***

This message has originated outside your organisation,
  either from an external partner or the Global Internet.
      Keep this in mind if you answer this message.

Folks,

I am still struggling to find a consistent use of Models.Context.

If I do Views.Open or any of the other opens with Views then then
context gets set for me (Document.Context, I believe).

But then the size of the open document is predefined to a default value
which I must then contravene with a Controllers handlers.  What this looks
like is the document flashed large then gets reset to a small (my) value.

What I want is to be able to stipulate the size of the view BEFORE it is
opened (with one of Views open procedures).

How do I do that?

---
If I embed a view within a host view then I have control over the context of the
embedded view and I can indeed specify the embedded view's size before
it is first restored.  That works.  It is only in the case when I don't have control
over the context.  OMI in their wisdom, does not allow one to replace the context
of a view once that view has a context (why not?);

-Doug Danforth

---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to


Received on Thu May 17 2012 - 12:21:28 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:02 UTC