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

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

Basic4ppc Wishlist Missing any feature?

Public Events

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-04-2009, 08:00 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default Public Events

This as been talked about in "Q&A" but although the can workaround it, The ability of using an event in another module that NOT the owner of the control/Object would be usefull

Like we do for properties:

Main.TextBox1.Text=""

we could use:

Main.TextBox1_GotFocus
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #2 (permalink)  
Old 01-04-2009, 08:18 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Maybe I am missing something but I'm afraid that I don't understand the problem

AddEvent("Module1.Button1", Click, "Main.Button1Click")

Works when Button1 is on a Form belonging to module "Module1" and the event Sub "Button1Click" is defined in Module "Main".
Reply With Quote
  #3 (permalink)  
Old 01-04-2009, 09:10 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Its an extra line of code, and if missplace can result in app errors...

Most of my modules DONT need a globals Sub, so I got rid of it...

It just would be simpler to use...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
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
textBox : add TextChanged events or other events abys Code Samples & Tips 1 09-01-2008 06:41 PM
Initializing global public variables corwin42 Beta Versions 1 08-27-2008 12:52 PM
Get External IP (public IP) maXim Code Samples & Tips 1 05-23-2008 08:09 AM
Get External IP (public) maXim Italian Forum 1 05-20-2008 03:55 PM
more events Sven Kommers Basic4ppc Wishlist 3 06-08-2007 09:53 AM


All times are GMT. The time now is 11:41 AM.


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