Menu selection intercept

View: New views
6 Messages — Rating Filter:   Alert me  

Menu selection intercept

by Gene McGlasson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

V11.5mc3

When the QR editor is displayed, selecting "Save As" loads the Document
variable which is good. When the "Save" is selected, the Document variable
is cleared.

Is it possible to intercept the "Save" selection and redirect to the "Save
As"?

--

*************************
* Gene McGlasson        *
* By The Book, Inc      *
* gene@...    *
* 406.552.0494          *
*************************



**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: Menu selection intercept

by MIYAKO :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

if the nQR is used as a from object,
then perhaps

QR ON COMMAND
http://www.4d.com/docs/CMU/CMU00790.HTM
might work...

miyako

On 2009/11/07, at 0:36, Gene McGlasson wrote:

> V11.5mc3
>
> When the QR editor is displayed, selecting "Save As" loads the  
> Document
> variable which is good. When the "Save" is selected, the Document  
> variable
> is cleared.
>
> Is it possible to intercept the "Save" selection and redirect to the  
> "Save
> As"?

**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: Menu selection intercept

by Gene McGlasson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I display the QR editor with the QR REPORT command. QR ON COMMAND doesn't
fire when a menu selection is made. Can you explain what you mean by nQR is
used as a from object? Sorry, I'm a little slow.

Gene

On 11/6/09 20:36 PM, "miyako" <miyako@...> wrote:

> Hi,
>
> if the nQR is used as a from object,
> then perhaps
>
> QR ON COMMAND
> http://www.4d.com/docs/CMU/CMU00790.HTM
> might work...
>
> miyako
>
> On 2009/11/07, at 0:36, Gene McGlasson wrote:
>
>> V11.5mc3
>>
>> When the QR editor is displayed, selecting "Save As" loads the
>> Document
>> variable which is good. When the "Save" is selected, the Document
>> variable
>> is cleared.
>>
>> Is it possible to intercept the "Save" selection and redirect to the
>> "Save
>> As"?
>
> **********************************************************************
> Get the speed and power of 4D v11 SQL
> before upgrade prices increase - http://www.4d.com
>    
>
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4D.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> **********************************************************************

--

*************************
* Gene McGlasson        *
* By The Book, Inc      *
* gene@...    *
* 406.552.0494          *
*************************



**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: Menu selection intercept

by MIYAKO :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am sorry the post was unclear.

nQR...new Quick Report, or Quick Report 2003 (and later),
"used as a form object"...Quick Report can alternatively be placed on  
a form as a plugin area,
in which case it can be controlled to a certain degree by referencing  
it by its longint ID.

there is a Tech Note on the Quick Report's source code,
which gives you the original Editor as a template and let you create  
your own editor interface.

but yes, the command is not compatible with an editor that was started  
by QR REPORT.

miyako

On 2009/11/08, at 2:12, Gene McGlasson wrote:

> I display the QR editor with the QR REPORT command. QR ON COMMAND  
> doesn't
> fire when a menu selection is made. Can you explain what you mean by  
> nQR is
> used as a from object?
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: Menu selection intercept

by Gene McGlasson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Miyako,

I've long intended to "roll my own" QR editor and am finally in the process.
I think there will be many advantages in doing this in addition to solving
the Document issue for QR. Not sure what can be done with the Label editor
re. The Document variable.

Thanks for your help.
Gene

On 11/9/09 11:24 AM, "miyako" <miyako@...> wrote:

> Hi,
>
> I am sorry the post was unclear.
>
> nQR...new Quick Report, or Quick Report 2003 (and later),
> "used as a form object"...Quick Report can alternatively be placed on
> a form as a plugin area,
> in which case it can be controlled to a certain degree by referencing
> it by its longint ID.
>
> there is a Tech Note on the Quick Report's source code,
> which gives you the original Editor as a template and let you create
> your own editor interface.
>
> but yes, the command is not compatible with an editor that was started
> by QR REPORT.
>
> miyako
>
> On 2009/11/08, at 2:12, Gene McGlasson wrote:
>
>> I display the QR editor with the QR REPORT command. QR ON COMMAND
>> doesn't
>> fire when a menu selection is made. Can you explain what you mean by
>> nQR is
>> used as a from object?
> **********************************************************************
> Get the speed and power of 4D v11 SQL
> before upgrade prices increase - http://www.4d.com
>    
>
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4D.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> **********************************************************************

--

*************************
* Gene McGlasson        *
* By The Book, Inc      *
* gene@...    *
* 406.552.0494          *
*************************



**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: Menu selection intercept

by MIYAKO :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I think its always good to report these matters to the appropriate  
department...

miyako

ACI0063904: There is no way to retrieve the document path create with  
the Standard Editors
ACI0063903: PRINT LABEL dos not update the system variable "document"

> http://forums.4d.fr/Post/FR/3094210/1/3094211#3094211
> http://forums.4d.fr/Post/FR/3094215/1/3094216#3094216

On 2009/11/10, at 4:14, Gene McGlasson wrote:

> I've long intended to "roll my own" QR editor and am finally in the  
> process.
> I think there will be many advantages in doing this in addition to  
> solving
> the Document issue for QR. Not sure what can be done with the Label  
> editor
> re. The Document variable.
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************