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.

Icon / Image in a Table to "Click" on

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-15-2008, 02:17 PM
Junior Member
 
Join Date: Dec 2007
Posts: 29
Default Icon / Image in a Table to "Click" on

Short App' thatI've just written that initialises an event when a cell in a Table is selected (clicked). All straight forward......however, what I want to do is have a column that has an image or icon in each cell instead of text to click on.

Is there a way to insert an image as a cell content? I have experimented with placing an image or image button neatly over the cell, but as the event to be initialised needs to be referenced to the table Row that it is on, I have not been able to find a way to connect the two. (ie. Button to specific Row).

If the total table was confined to the screen, that would be easy. But as the table could be large, and hence have scroll bars, how can I reference a stationary button or image to the row in a Table when that row itself could be anywhere from Row 0 to the last Row?

One possibility is..Is there a way to determine the Row number that is currently appearing on the top line of the visible portion of the table?

Burd.

Last edited by burd27 : 03-15-2008 at 02:20 PM.
Reply With Quote
  #2 (permalink)  
Old 03-15-2008, 05:17 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Currently there isn't a way to determine the row number of the top visible row.
I will see if it is possible to add it in the next release.
Reply With Quote
  #3 (permalink)  
Old 03-16-2008, 03:04 AM
Junior Member
 
Join Date: Dec 2007
Posts: 29
Default

Thanks Erel,

For now I'll change the app' to achieve the goal some other way. As always, your input is much appreciated.

Burd
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
"AddEvent" and "buttonUp/buttonDown" Byak@ Questions (Windows Mobile) 12 09-10-2008 03:04 PM
Table Filter with "and" hardy Questions (Windows Mobile) 6 06-25-2008 09:53 PM
Image Button kommt nicht wieder "hoch" troll German Forum 3 02-22-2008 09:03 AM
How to use "Sender" in click-events? Stellaferox Questions (Windows Mobile) 4 02-20-2008 06:00 AM
calling the device's "Programs" or "settings" screens HarleyM Questions (Windows Mobile) 0 12-05-2007 02:59 AM


All times are GMT. The time now is 02:03 AM.


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