Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Library event procedures with parameters

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-04-2007, 06:44 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default Library event procedures with parameters

A question for Erel

I know how to implement event procedures in a library to call B4PPC event subs without parameters.

Would you be willing (if it is actually possible) to indicate how to code a library to pass one or more parameters picked from the EventArgs back to a B4PPC event sub - like the KeyPress event does for example?
Reply With Quote
  #2 (permalink)  
Old 10-04-2007, 07:13 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You can't.
You should use a variable or a property in the library as the argument.
The .Net CF (at least 1.0) can't handle unknown custom events (at runtime only).
Therefore Basic4ppc can only handle ErrorHandler events.
Reply With Quote
  #3 (permalink)  
Old 10-05-2007, 09:09 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Erel View Post
You can't
Thanks Erel. I suspected that might be the case but wanted to be sure.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic4ppc v6.30 comand line parameters (batch) Cableguy Questions (Windows Mobile) 2 06-21-2008 12:00 PM
Retrieve Device Parameters alfcen Share Your Creations 14 03-23-2008 08:11 AM
Cannot (always) use Objects as parameters Woinowski Bug Reports 12 01-07-2008 11:36 AM
unassign event paul j Questions (Windows Mobile) 2 12-15-2007 03:02 PM
TreeView event magi6162 Questions (Windows Mobile) 3 08-29-2007 11:29 AM


All times are GMT. The time now is 04:48 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0