NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro on July 18, 2019, 04:12:19 AM

Title: NT 11 Question
Post by: osquiabro on July 18, 2019, 04:12:19 AM
hi, this version support tab inside tab like a desktop? if true is possible someone share a print screen?

Thanks
Title: Re: NT 11 Question
Post by: Robert Iliuta on July 18, 2019, 06:38:26 AM
Hallo,

something like this?

Robert
Title: Re: NT 11 Question
Post by: osquiabro on July 18, 2019, 06:58:49 AM
thanks for a sharing, but this is a NetWebForm?
Title: Re: NT 11 Question
Post by: Robert Iliuta on July 18, 2019, 07:37:59 AM
Yes. It is a form (tab) in a form (tab).
Title: Re: NT 11 Question
Post by: osquiabro on July 18, 2019, 08:20:15 AM
I think I did not explain myself well, is possible in one tab insert another tabs?
Title: Re: NT 11 Question
Post by: Robert Iliuta on July 18, 2019, 11:02:36 AM
I always thought a picture is worth a thousand words ... I was wrong :-)
Title: Re: NT 11 Question
Post by: Bruce on July 18, 2019, 07:48:10 PM
no, you cannot put a Tab inside a Tab.
What you can put inside a tab, is another procedure. And that procedure could be a form. Which has tabs...

the secret though is that only one form (in this case the "outer form" can have the <form> tag, so the "inner" form must have the "generate <form> tag" option off.

cheers
Bruce
Title: Re: NT 11 Question
Post by: osquiabro on July 19, 2019, 04:49:11 AM
thanks bruce i will try your suggestion...
Title: Re: NT 11 Question
Post by: osquiabro on July 22, 2019, 01:59:34 PM
i have a question, the "generate <form> tag" is only appear when Form Source is a Memory not with Table, the values in a inner form with Memory don't save
Title: Re: NT 11 Question
Post by: Bruce on July 22, 2019, 10:44:14 PM
hi Osa,

I think maybe you want to make an example of what you have in mind?
I'm guessing you are creating multiple forms on the the same table, then putting them all inside a "host" from on that table?

Cheers
Bruce
Title: Re: NT 11 Question
Post by: osquiabro on July 23, 2019, 03:47:21 AM
see example attached..
Title: Re: NT 11 Question
Post by: Bruce on July 23, 2019, 10:39:09 PM
Hi Osa,

Thanks for the example.
The MailboxesFormControlInner form should be set as a Memory form, with "generate Form Tag" turned OFF.

Everything else is the same - you still use the table fields on the form itself, but all the "table access" work is done by the parent MailboxesFormControl procedure.

cheers
Bruce


Title: Re: NT 11 Question
Post by: osquiabro on July 24, 2019, 04:56:55 AM
hello bruce, it doesn't work, I don't know if it's a version 10.38 bug, but with the memory source and the Generate form tag off the main form it isn't saved and tab loose styles after press any check box in inner form.

Try with same example that i send

Thanks
Title: Re: NT 11 Question
Post by: osquiabro on July 24, 2019, 05:02:04 AM
when press any check box the form not save and loose tab style look a image
Title: Re: NT 11 Question
Post by: Bruce on July 24, 2019, 08:05:57 PM
yeah, much be a bug in NT10 Osa, because your example is working fine here (after those changes I mentioned) in NT11.

The "losing the tab styles" implies a JavaScript, or XML error, in the reply from the browser. Check your browser console for more information there.

But it sounds like you might need NT11 to pull this off.

cheers
Bruce

Title: Re: NT 11 Question
Post by: osquiabro on July 25, 2019, 05:30:28 AM
i don't know which a error in a console but look the image

thanks..
Title: Re: NT 11 Question
Post by: Bruce on July 25, 2019, 06:59:01 PM
that's a warning, not an error, but interesting to me - thanks.
In this case I don't think it's the root of the problem, but I'm always keen to remove warnings so I'll tweak that for the next build.

Cheers
Bruce