1. Bryant Burnard
  2. PowerServer 2020 or older (Obsolete)
  3. Thursday, 15 August 2019 20:28 PM UTC

Hi

We are using 2017 R3 Build 1858 for both PowerBuilder and PowerServer. (Oracle back end, Azure for PowerServer)

We are using an edit mask to present a drop down calendar.

Using only the mouse to select a date in the calendar we have noticed that the modified event doesn't get triggered in our thin client. In our thin client, you must click off of the date editmask in order for the date change logic to run.

In our thick client the modified event of edit mask is triggered, and the date change logic gets run without this extra click.

Is there a better control to use? Or should I be mapping events to help trigger the date change?

Bryant

Bryant Burnard Accepted Answer Pending Moderation
  1. Monday, 19 August 2019 19:25 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

Hi Olan;

What I did was added a visual 'clue' that the user must do something to trigger the event, i.e. added a search button. This enables the modified event to fire. The business seems to be happy with this.

Thanks for your thoughts.

Comment
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Friday, 16 August 2019 04:23 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 2

The EditChanged event fires when you actually leave the field, otherwise you could still be editing the field when the cevent is triggered. Not good.

If you want changes to occur in a different manner, then your calendar needs to be called in such a way that when it returns it, it causes processing to occur.

I have an example of this code available. (Will look for this tomorrow.)

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.