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.

Calling a sub in another module with variables?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-24-2009, 08:51 AM
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Netherlands
Posts: 222
Default Calling a sub in another module with variables?

Hi,

A module or better several modules call a specific module. The called module must fire a click event in the calling module, so it should know the module name of the caller and the control name for which it should fire the click event.

Is there a possibility to pass these two names in the call in such a way that they can be used in firing the click event?


Harry
Reply With Quote
  #2 (permalink)  
Old 11-24-2009, 09:19 AM
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

Pass the name to call as a parameter or in a global when calling and use CallSub(...) in the called module. Help -> Main Help -> Keywords -> Runtime control manipulation.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
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
Properties module - useful module for working with properties / ini files Erel Code Samples & Tips 2 10-13-2011 09:02 PM
Calling DLL tksaha Questions (Windows Mobile) 1 04-01-2009 09:00 AM
Calling Google Maps bish0p Questions (Windows Mobile) 2 11-25-2008 02:07 PM
calling .Net functions directly colin9876 Questions (Windows Mobile) 1 12-03-2007 11:14 AM
Dynamicall calling a sub Scubaticus Questions (Windows Mobile) 16 07-20-2007 02:11 PM


All times are GMT. The time now is 10:35 AM.


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