On Jun 4, 2006, at 2:04 PM, Bernard Sunderland wrote:

I have successfully used the App.OpenDocument event to open a double-clicked doc icon but had to find a way round a problem which I don't understand and which will be more difficult in other apps:

Where a property has been declared in a window, e.g. 'NumberOfFields as integer' declared as public in Win1, then when its required value is read from the file in App.OpenDoc it can be refferred to as 'Win1.NumberOfFields'.

But where a property has been declared global in a module, trying to refer to it as Module1.PropertyName doesn't reach it, but neither does it throw up an error.

Is a module-declared property accessible in this situation?

Sure. If it's publicly accessible, then it's accessible from the App.OpenDocument event handler.

Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to