Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Bug Reports
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.


no event changingselected cell in a table?


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-01-2008, 05:02 PM
Junior Member
 
Join Date: May 2007
Posts: 17
Default no event changingselected cell in a table?

hi
i think i found a bug in the optimise compiler.
i change the selected cell in a table in order to scroll up or down
to the begining or the and (AM PM) of the table
like the example below.
it worked with the usual compiler it does'nt work on the device
with opitimisation.
the event doesnt shoot ?

Sub BtnPMW_Click
swdontask = 2
swampm = 2
TableWeek.SelectCell("Hour",TableWeek.RowCount - 1)
swdontask = 0
End Sub

j. mohar
Reply With Quote
  #2 (permalink)  
Old 02-02-2008, 07:15 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,845
Default

I've checked it and it seems to work properly.
Can you upload a small example that demonstrates the problem?
Reply With Quote
  #3 (permalink)  
Old 02-02-2008, 11:13 AM
Junior Member
 
Join Date: May 2007
Posts: 17
Default changing selected cell

hi erel
it work at first but after changing once and adding a new lesson it doesnt react until you scroll the table "manually"
you can check it by compiling the lessons program :
Lessons or appointment program for private teachers
i'm attaching the device exe with the files needed to run on the device
the bug is after addin new lesson in diary or week screens
the scroll bar does not react to AM PM controls but react after
you move the scroll bar manually back
it might be a bug in the program but it worked fine with the usual compiler
i hope this will help
thanks
j mohar
Reply With Quote
  #4 (permalink)  
Old 02-02-2008, 11:20 AM
Junior Member
 
Join Date: May 2007
Posts: 17
Default the attach file

i think i missed the file
Attached Files
File Type: zip NewDBH.zip (35.4 KB, 1 views)
Reply With Quote
  #5 (permalink)  
Old 02-02-2008, 12:49 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,845
Default

It appears like a different behavior between .Net CF 2.0 and .Net CF 1.0.
For some reason the Table control doesn't refresh properly.
You can add the following lines in Sub BtnDayLes_Click:
Code:
    tableday.Width = tableday.Width + 1
    tableday.Width = tableday.Width - 1
This will refresh the scroll bars.

BTW, there is a syntax error in line 437 (the msgbox should be in a new line).
Reply With Quote
  #6 (permalink)  
Old 02-02-2008, 05:41 PM
Junior Member
 
Join Date: May 2007
Posts: 17
Default no event changing selected cell

thanks erel
it's unbelievable what you are doing
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
Keeping a table cell highlighted (highlit?) Offbeatmammal Questions & Help Needed 5 06-15-2008 01:33 AM
Double clicks on a cell in a table list, possible? davidcoderlab Questions & Help Needed 3 06-01-2008 02:09 PM
Get and update selected cell in ListView tsteward Questions & Help Needed 5 04-29-2008 03:45 PM
Changing cell color in table control aureolevoyager Questions & Help Needed 2 04-10-2008 09:41 PM
Table - MouseDown event and more Erel Code Samples & Tips 1 04-07-2008 05:55 PM


All times are GMT. The time now is 06:59 AM.


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