Hi Jeremy,

> The “classic” 4D Write tool example for Write Pro doesn’t appear to be a 
> component. (That’s because project form “Main” has “Published as subform in 
> the host database” **unchecked**.

Yes, I set the property to be available and compiled it into a component.

> These standard actions work because **only** the Write Pro area has focus. 
> (Note the toolbar has “Focusable” **uncheck**.)

Yes I’ve looked at the code and see the call but it didn’t register to me. I 
thought it was relevant to the component form in the matrix but not to the 
object in the host db. Let me look at that again as the mystery might be that 
the toolbar knows what to do because of the object in focus.

Let me give that a try!

Appreciate,
John…


> On Jun 26, 2019, at 1:47 PM, Jeremy French <[email protected]> wrote:
> 
> Hi John,
> 
> The “classic” 4D Write tool example for Write Pro doesn’t appear to be a 
> component. (That’s because project form “Main” has “Published as subform in 
> the host database” **unchecked**.
> 
> Project methods and 4D Standard actions appear to be how the toolbar and the 
> Write Pro communicate.
> 
> Open Project form “WPToolbar” and look at the object methods that call 
> project method “DisplayMenu”. For objects with no object method, look at the 
> standard action specified for the object (ie, 3rd Property List tab).
> 
> These standard actions work because **only** the Write Pro area has focus. 
> (Note the toolbar has “Focusable” **uncheck**.)
> 
> Write Pro standard actions (for v17.2) are listed at:
> https://doc.4d.com/4Dv17/4D/17/Using-4D-Write-Pro-standard-actions.200-3726284.en.html
>  
> <https://doc.4d.com/4Dv17/4D/17/Using-4D-Write-Pro-standard-actions.200-3726284.en.html>
> 
> Best regards,
> Jeremy
> 
> 
>> On Jun 26, 2019, at 2:38 PM, John J Foster via 4D_Tech <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> So I am trying to use the “classic” 4D Write toolbar - as a component - in 
>> my app. Here’s the link in case anyone wants to see it.
>> 
>> https://blog.4d.com/4d-write-like-toolbar-example-for-4d-write-pro/ 
>> <https://blog.4d.com/4d-write-like-toolbar-example-for-4d-write-pro/> 
>> <khttps://blog.4d.com/4d-write-like-toolbar-example-for-4d-write-pro/ 
>> <khttps://blog.4d.com/4d-write-like-toolbar-example-for-4d-write-pro/>>
>> 
>> There is no obvious way (which means it must be obvious and easy) to connect 
>> the behavior of the toolbar to the WP Pro area (or vice versa). I cannot 
>> find any instructions.
> 

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to