NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Stu on May 12, 2015, 04:48:13 PM

Title: Second child browse, Locator/Navigation buttons showing, should be hidden
Post by: Stu on May 12, 2015, 04:48:13 PM
Hi Bruce,

NT 8.47
Clarion 10 (latest)

Attached is the "Accounts 31" example app+dct files.

Changes:

1. Added the Invoice browse as a child to the Customer browse.

Replicate:

1. On the Customer browse, click Insert.
2. InvoiceItem (child to Invoice browse) browse shows Locator and Navigation fields when they should be hidden.

Let me know if there's anything else you need.

Screenshot attached.

[attachment deleted by admin]
Title: Re: Second child browse, Locator/Navigation buttons showing, should be hidden
Post by: Bruce on May 17, 2015, 10:32:56 PM
You're mixing children with popups, and so it's starts getting ver complicated from a naming point of view.
Specifically;

UpdateCustomers has an Invoices browse;
The Invoices Browse has an Invoices Form
the Invoices Form has a Line Items browse

But also
The UpdateCustomers has a _child_ of InvoiceBrowse
So now you have two InvoiceBrowse on the same page, and the code finds it hard to tell them apart.

So, if you are going to popup route, either take the children off the form (ie no Invoices browse on the customers form) or remove the child (no Invoice browse child of Browse Customers...)

cheers
Bruce
Title: Re: Second child browse, Locator/Navigation buttons showing, should be hidden
Post by: Stu on May 18, 2015, 04:21:11 AM
Bruce, I put it in an example because it's helpful for you.

But please believe me, this happened in my system that has all unique procedures, one then one then one, all different names.

It's real.

And it's not popups that are the problem. It's the navigation/update buttons that appear on an empty browse, the second child child one.

Stu