on 07-01-2009 10:28 AM
Hello, all
I have noticed a very peculiar thing about the way SBO handles events.
I wrote a handler for the et_VALIDATE event on an EditText item (Sales Quotation->Customer) which does nothing but waits for two minutes. Then I performed the following experiment:
Opened a sales quotation from in the Add mode, chose a Customer and added an item. Them I put the cursor into the Cusotmer field and pressed "Add". As a result, my event handler fired, so SBO was "frozen" for two minutes. But when the handler had completed nothing happened. The quotation wasn't added, although I didn't set BubbleEvent to false in the eventhandler.
However, when I reduced the wait time to 30 seconds in the event handler everything started to work as it should: after completion of the eventhandler the quotation got added.
Looks like if the handler of the preceding event (VALIDATE) executes for too long the following event (ITEM_PRESSED) may not fire at all...
I this a correct behavior?
Thanks in advance,
Anton
PS: I was testing in SBO2004
The only solution I have come up with is to elegate all time-consuming operations to a separate thread thereby unburdening the main thread.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anton,
Please update your system. Version 2004 is no longer supported.
Regards,
Vítor Vieira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.