Uniface User Forum

 View Only
  • 1.  Message/Hint not always up to date

    PARTNER
    Posted 11-15-2021 07:00
    Hi everybody,
    We often use the Message/Hint function to display informations during proc execution. Sometimes, the proc code executes correctly but Message/Hint remains static : it begins well but it stops after a time, so end-users have the wrong perception that the program crashed.
    Is there a way to solve this ?
    Thanks,
    Laurent.

    ------------------------------
    Laurent Mérot
    Rocket Forum Shared Account
    ------------------------------


  • 2.  RE: Message/Hint not always up to date

    PARTNER
    Posted 11-15-2021 07:10
    Which version? 
    If you are on 10, you could possibly leverage outputbox and (also) progressbar, to make an updateable 'popup' screen to inform the user or program progress. 
    This would allow for more information to be displayed than message/hint allows for, and might not have the problem. 

    As for the specific problem, I don't think we've seen that, but judicious use of 'show' might allow for any buffers which are full to be emptied. 

    Regards, 
    Iain

    ------------------------------
    Iain Sharp
    Head of Technical Services
    Pci Systems Ltd
    Sheffield GB
    ------------------------------



  • 3.  RE: Message/Hint not always up to date

    PARTNER
    Posted 11-15-2021 08:08
    Hello Iain,
    We are on 9.6 version. In 9.4 we also had the problem.
    We can't use progress bar because we often use Message/Hint in .svc.
    And I notice that show statement doesn't change anything to the problem.
    Regards

    ------------------------------
    Laurent Mérot
    Rocket Forum Shared Account
    ------------------------------



  • 4.  RE: Message/Hint not always up to date

    PARTNER
    Posted 11-15-2021 09:15
    Hmmm, this is why we built a separate form component for progress messages/bar, which can be populated either with activate or postmessage (where the svc is running via userver). But I can't remember if outputbox is available in U9. I suspect it's only in 9.7 if it is. 

    If show doesn't help, then I don't think there's liable to be anything else which would put the message/hint stuff back on track.

    ------------------------------
    Iain Sharp
    Head of Technical Services
    Pci Systems Ltd
    Sheffield GB
    ------------------------------



  • 5.  RE: Message/Hint not always up to date

    Posted 11-15-2021 07:48
    Hi
    I agree with Iain, probably is related with buffers. When Uniface is busy, some paint instructions are not sent to Windows. 
    Configuring AsynchGui = 2 may improve screen update. And using show from time to time, will also help.

    Regards

    ------------------------------
    VilaLuis
    luis.vila@uniface.es
    US
    ------------------------------