PxPlus User Forum

Twitter Twitter Twitter

Author Topic: slow msgbox  (Read 926 times)

Thomas Bock

  • Diamond Member
  • *****
  • Posts: 127
    • View Profile
slow msgbox
« on: October 10, 2018, 09:02:34 AM »
After moving several client machines to Win10 we see slow message boxes on all these clients. It turns out that all types of msgbox are drawn instantly as long as no title text is used. The delay is round about 1 second.

instant draw
msgbox "A"
msgbox "A","","?,YESNO",a$

slow draw
msgbox "A","A"
msgbox "A","A","?,YESNO",a$

Devon Austen

  • Staff
  • Diamond Member
  • *****
  • Posts: 266
  • Don’t Panic
    • View Profile
    • PVX Plus Technologies
Re: slow msgbox
« Reply #1 on: October 10, 2018, 09:27:54 AM »
I just tested here with PxPlus 2018 (V15.00.0002) and all message boxes come up instantly. I can see no difference if there is a title or a default title.

I'm on Windows 10 Pro Version 1803.
Software Developer for PVX Plus Technologies LTD.

Thomas Bock

  • Diamond Member
  • *****
  • Posts: 127
    • View Profile
Re: slow msgbox
« Reply #2 on: October 10, 2018, 09:53:42 AM »
I'm on Win10 Pro 64 bit with PxPlus V14.
The delay is significant on all clients.

Devon Austen

  • Staff
  • Diamond Member
  • *****
  • Posts: 266
  • Don’t Panic
    • View Profile
    • PVX Plus Technologies
Re: slow msgbox
« Reply #3 on: October 10, 2018, 10:02:46 AM »
My Windows is also 64-bit.

I tried PxPlus 2017 (V14) and I still do not see a delay.

Are you using WindX? If so what OS is the server running on?

I would suspect something to do with your setup as I am not seeing this issue here.
Software Developer for PVX Plus Technologies LTD.

Thomas Bock

  • Diamond Member
  • *****
  • Posts: 127
    • View Profile
Re: slow msgbox
« Reply #4 on: October 10, 2018, 10:11:13 AM »
I tried WindX and a local installation. Both behave in the same manner.

James Zukowski

  • Diamond Member
  • *****
  • Posts: 156
    • View Profile
Re: slow msgbox
« Reply #5 on: October 10, 2018, 10:25:20 AM »
I've seen slow objects on non-local clients. We have a couple of remote locations around the country that experience some delays with folders, etc. Those are typically about 1 second per additional WindX transaction.

The creation of a MSGBOX - depending on options - can be multiple transactions. The first is the creation of the window. The second may be using a 'CAPTION' to set the title.
James Zukowski
Programmer / ERP Analyst
Beauty Enterprises, Inc.
150 Meadow St.
Hartford, CT 06114
860.296.9303  Ext 231

Devon Austen

  • Staff
  • Diamond Member
  • *****
  • Posts: 266
  • Don’t Panic
    • View Profile
    • PVX Plus Technologies
Re: slow msgbox
« Reply #6 on: October 10, 2018, 11:28:46 AM »
Generally a MSGBOX call just results in a system call to Windows to display a message box. Unless you set your system up to use custom message boxes.

Is your 'MX' system parameter ON? If so are you using the default custom message box (*ext/system/msgbox.gui) or are you using a user-defined message box (*ext/msgbox.gui)?
Software Developer for PVX Plus Technologies LTD.

Thomas Bock

  • Diamond Member
  • *****
  • Posts: 127
    • View Profile
Re: slow msgbox
« Reply #7 on: October 11, 2018, 01:34:44 AM »
prm('MX') returns zero in our environment, so msgbox triggers the system component.
I started explorer and tried to delete a file. The confirmation dialog takes round about 1 second to appear here too.
Looks to be system issue.
Thank you all. Thread closed  :)