Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


AddEvent with ComboBox


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-24-2008, 07:32 AM
Newbie
 
Join Date: May 2008
Posts: 2
Default AddEvent with ComboBox

It seems AddEvent not to work properly in conjunction with ComboBox.
I have created 1Form with 1 ComboBox, where the ComboBox contains 3 data items at design time.
Selecting one data item from the ComboBox doesn't trigger the designated "tstsub"

Anyone an idea whether this is a bug of whether I am overlooking something?

Sub App_Start
Form1.Show
AddEvent("cmbBox",SelectionChanged,"tstsub")
End Sub

Sub tstsub
Msgbox("sub","DEBUG")
End Sub
Reply With Quote
  #2 (permalink)  
Old 05-24-2008, 07:51 AM
taximania's Avatar
Basic4ppc Veteran
 
Join Date: May 2007
Posts: 209
Default

selectionchanged has 2 paramaters

Sub tstsub(index,value)
Msgbox("sub","DEBUG")
End Sub
__________________
Avoiding lawyers

O2 XDA Artemis Touch Flo 4.02 Full Cube Rom WM6.1

http://www.taximania.net
Reply With Quote
  #3 (permalink)  
Old 05-24-2008, 02:38 PM
Newbie
 
Join Date: May 2008
Posts: 2
Default

Thanks for waking me up!
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
AddEvent but no RemoveEvent?? LineCutter Questions & Help Needed 2 04-19-2008 05:09 PM
Problem with AddEvent and ImageList Haschi0 Questions & Help Needed 7 03-01-2008 11:06 AM
Different behavior in desktop vs. device on AddEvent willisgt Bug Reports 4 01-13-2008 12:29 PM
Addevent Table tvrman Questions & Help Needed 3 09-30-2007 06:33 AM
Problem using AddEvent EdQas Questions & Help Needed 7 09-09-2007 09:51 AM


All times are GMT. The time now is 04:33 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0