NetTalk Central

Author Topic: Lookup Screen as Popup like Calendar  (Read 3963 times)

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Lookup Screen as Popup like Calendar
« on: February 04, 2009, 03:47:31 PM »
Hi all,

Is it possible to set say Vendor Lookup screen to open like the calendar lookup as a popup?

My users are finding it hard to transition from the way it worked in Windows to the way I have it set to work on the web.

Cheers,

Kevin

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Lookup Screen as Popup like Calendar
« Reply #1 on: February 04, 2009, 10:37:43 PM »
Hi Kevin,

At this stage no, and I suspect the answer is probably gonna always be "no".

The problem is not in the window popping up, that's easy. The problem is two-fold (and these appy to the calendar popup as well, but it's a tad less serious there.)

a) there are no "browser modal windows". It can be faked, but that requires a substantially different architecture underneath. (which yes, may I'll do at some point). So if, for example, the lookup window pops up then the user clicks on the "normal browser window" then the popup goes to the back, _but is still open_. With the date popup this isn't serious, but it could get serious if the approach is used with more important lookups.

b) there's no (easy) mechanism for the 2 windows to communicate with each other. Which makes the return value less certain. Someone saw this effect recently with FF browsers that have specifically been set to "open in new tab, not in popup window".

So in short, if we do support popup-lookups then it'll need some change to the way things work under the hood.

Cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Lookup Screen as Popup like Calendar
« Reply #2 on: March 10, 2009, 08:42:48 AM »
Bruce,

How hard could it be to include the lookupbrowse on the form page when you click on the button and uniclude (or hide) it when you press the select button?
Just an idea...

Alberto
-----------
Regards
Alberto

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Lookup Screen as Popup like Calendar
« Reply #3 on: March 10, 2009, 09:20:16 AM »
More...
Take a look at dbnetedit
They have modal lookup windows

Alberto
-----------
Regards
Alberto

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Lookup Screen as Popup like Calendar
« Reply #4 on: March 10, 2009, 09:30:19 AM »
window.showmodaldialog ??
-----------
Regards
Alberto