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

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist > Bug Reports
Documentation Wiki Register Members List B4P 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: 15,702
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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 :
http://www.basic4ppc.com/forum/share-your-creations/670-lessons-appointment-program-private-teachers.html
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
Reply With Quote
  #5 (permalink)  
Old 02-02-2008, 12:49 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,702
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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 Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing cell color in table control aureolevoyager Questions (Windows Mobile) 5 07-05-2010 08:30 PM
event doubleclick and click on the cell (table object)... micro Questions (Windows Mobile) 2 08-19-2008 05:50 PM
Keeping a table cell highlighted (highlit?) Offbeatmammal Questions (Windows Mobile) 5 06-15-2008 01:33 AM
Double clicks on a cell in a table list, possible? davidcoderlab Questions (Windows Mobile) 3 06-01-2008 02:09 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 03:13 PM.


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