NetTalk Central

Author Topic: How do I call a form directly  (Read 3331 times)

jari@softmade.fi

  • Full Member
  • ***
  • Posts: 131
    • View Profile
    • Email
How do I call a form directly
« on: July 15, 2016, 03:47:10 AM »
Hello

I want to call form with code.

In http://www.capesoft.com/docs/NetTalk9/NetTalkWebFAQ.htm#W4 there is:

Calling a memory form
MailboxesFormControl
Neither an action, nor an ID are required, as Memory forms always use the Change action, and there is no ID because there is no Table.


But with this I get error: No matching prototype available.
And MailboxesFormControl(p_web,Net:Web:Popup) does nothing

What I am missing ?

Jari



Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: How do I call a form directly
« Reply #1 on: July 17, 2016, 11:35:28 PM »
Hi Jari,

Tell me more about how you are calling it, from what template setting.
I think maybe you are trying to call it directly from hand-code and not a template setting?

cheers
Bruce

jari@softmade.fi

  • Full Member
  • ***
  • Posts: 131
    • View Profile
    • Email
Re: How do I call a form directly
« Reply #2 on: July 18, 2016, 05:34:01 AM »
Hi Bruce

I want to open different forms from maps marker, depending on what type of POI is the case.
Sometimes I do not want to open the form at all.
Now I call the NetWebSource template instead of a NetWebForm.
And from hand-code source I want to call some forms.

Thanks

Jari