NetTalk Central

Author Topic: Netwebform required to automatically close after a few seconds  (Read 4293 times)

ozejohn

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
    • Email
Netwebform required to automatically close after a few seconds
« on: February 16, 2008, 09:11:53 PM »
Hi,

I want to put a button on a browse (not a form) that pops up a window for a few seconds then closes. The idea is the user selects a possible action from a button on the browse. The button points to a url for a netwebfor. The netwebform races off and see if they can get what they want the and constructs a message. It then displays the message on the window.

At the moment the user has to click the save or cancel button to close the netwebform. I need the netwebform to close by itself after a few seconds.

I can handle this easily from a form by having  a message field on the form itself. But I can not see how to do it from a button on a netwebbrowse.

Any Suggestions would be appreciated.

Thanks.

John Nairn

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Netwebform required to automatically close after a few seconds
« Reply #1 on: February 19, 2008, 08:51:49 AM »
Hi John,

by "pop up" do you mean like say the Calendar lookup window? In other words it's a separate little window.

Or do you mean it'll "replace the browse" ? In the same way that a form replaces the browse when you click on say the Insert or Change button?

Cheers
Bruce

ozejohn

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
    • Email
Re: Netwebform required to automatically close after a few seconds
« Reply #2 on: February 22, 2008, 07:16:36 PM »
Hi Bruce,

Like a popup window. In Clarion windows app terms like a capesoft messagebox with a timer value.

The popup window is to display for a specified number of seconds then close. Just like a capesoft message box can in a clarion app. I use that a lot in Windows apps and miss it in the web server apps.


John Nairn

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Netwebform required to automatically close after a few seconds
« Reply #3 on: February 24, 2008, 10:48:37 PM »
Hi John,

This could certainly be done using a well-formed url, ad web page, but I've not done an example of it yet. I'll put it on the list but my plate is getting very full at the moment. Perhaps someone else would care to step in with an example?

Cheers
Bruce