Search
Articles & Documents
Tutorials
Newsletter
CPDB.Net
Friends News
Visits
Webmaster - Infos
|
- Forum
- ppCompiler
Topic # 31 |
Problems with popSelectEvent |
25/06/2011 @ 22:33 by AcidSnoop

|
Hello there,
i want to ask if someone can help me, i got a problem with the popSelectEvent reaction in my code. I have done the apropriate coding in the event queue but i got no reaction in my program. There's a setup with a popup trigger and the list for the trigger it seems to react properly but i need to do additional tasks after the selection but i can't get any reaction after the selection.
Here is my portion of code:
case eType of ... popSelectEvent: begin FrmCustomAlert( altInfo, 'selected', nil, nil); HandleEvent := true; end; end;
The Alert is just for debuging purpose, i can receive events and handle them, but i got no reaction to the popups list selection after i selected a list item. The selected item is diplayed in the popup after selection.
Maybe someone run into the same problem and found a solution for this.
Sincerly Yours, AcidSnoop |
|
|
Answer n° 1 -------- 09/10/2011 @ 12:49 by AcidSnoop

visitor |
After a few month of trying, i realized, that the PopUp control does not fire events after all. No matter what setup i did, i could not get the popup trigger to fire events, with list, without list, no reaction. I could not even get an ctlSelectEvent when i tap the trigger.
Am i totaly wrong with my thinking or is this a bug of the compiler?
Greetings, AcidSnoop |
|
 |
Answer n° 3 -------- 11/10/2011 @ 12:33 by AcidSnoop

visitor |
Yes, all needed bits are set according to nearly all technical documents for popup triggers and lists. I already had a look at the bird sources, the only difference seems to be that i use a general eventhandler instead of a special eventhandler for each form. Could that be the critical point? Are popup events only recognized within an uniqe form only handler? As far as i understand the thrown event for a popup trigger is not form specific, isn't it?
AcidSnoop |
|
 |
Answer n° 4 -------- 11/10/2011 @ 14:49 by Philippe

visitor |
Hum, it a long time I have not dealt with Palm OS A possible issue is that the Boolean value returned by the handler is not correct, so that the OS does not dispatch the event correctly. |
|
 |
Answer n° 5 -------- 11/10/2011 @ 15:22 by AcidSnoop

visitor |
I did some stuff i should have done earlier. I took the bird source, build an bare skeleton program out of it and added my programs sources to it. (this time with a unique event handler for every form) Now it looks like everything worked out as it should be, and finally the popups are being noticed in the events.
Thank you very much for the pointing in the right direction Philippe.  |
|
 |
 topic active
 topic closed
 Sticky
 New message -
 Correct message
 Close topic
 Make sticky
|