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.


SelectionChanged work in desktop, but not in ppc??


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-10-2007, 01:46 PM
Newbie
 
Join Date: May 2007
Location: HK
Posts: 9
Question SelectionChanged work in desktop, but not in ppc??

Hi,

I have a table called tblDiary. I wanted to catch the row number when it is tapped and show that record in another form for editing.

Codes:
Quote:
Sub tblDiary_SelectionChanged (ipcColName, ipnRow)
gnDiaryRow = ipnRow ' for Edit/Delete
frmDiary.show
End Sub
The above codes work fine on desktop. Unfortunately it did not work in device.

Any idea?

Thanks, Paul
Reply With Quote
  #2 (permalink)  
Old 09-10-2007, 01:52 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,134
Default

The device returns the focus to the table at the end of the SelectionChanged event.
See this thread for a solution: Showing a form in a SelectionChanged event
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
Keypress and SelectionChanged.. robee9931 Questions & Help Needed 1 05-27-2008 04:08 PM
SelectionChanged problem skipper Questions & Help Needed 4 04-09-2008 02:26 PM
table: SelectionChanged() and SelectedRow stbi Questions & Help Needed 7 12-21-2007 04:14 AM
Listview and SelectionChanged magi6162 Questions & Help Needed 11 09-06-2007 10:02 AM
Showing a form in a SelectionChanged event specci48 Questions & Help Needed 3 05-18-2007 03:05 PM


All times are GMT. The time now is 05:54 PM.


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