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.

Changing cell color in table control

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-09-2008, 09:27 PM
Newbie
 
Join Date: Feb 2008
Posts: 8
Default Changing cell color in table control

I ideally need to highlight a cell in a table control by changing it's colour when action is required by
the user. Is this possible?

Last edited by aureolevoyager : 04-09-2008 at 09:30 PM. Reason: Realised that my original request dupliacted a similar one!!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 06:57 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

It is not possible with the Table control.
I think that the ListView control supports it: http://www.basic4ppc.com/forum/additional-libraries/973-listview_freeware_version.html
Reply With Quote
  #3 (permalink)  
Old 04-10-2008, 10:41 PM
Newbie
 
Join Date: Feb 2008
Posts: 8
Default

From the library help file, it seems that I cannot set an individual row or cell colour but I can choose a colour to highlight every other row...but I will pm the author to see if his "professionl" version can do it
Reply With Quote
  #4 (permalink)  
Old 07-05-2010, 12:42 PM
Junior Member
 
Join Date: Apr 2010
Location: Portsmouth,UK
Posts: 35
Default

Hi,

Did you ever find a library that did what you required? I have exactly the same need, to change a specific cell's background colour.

Kind regards,

Rich
Reply With Quote
  #5 (permalink)  
Old 07-05-2010, 08:59 PM
derez's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Posts: 918
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

The dot net includes only these options for changing backcolor of selection in a table:
Quote:
BackColor Overridden. Gets or sets the background color of even-numbered rows of the grid.
SelectionBackColor Gets or sets the background color of selected rows.
SelectionForeColor Gets or set the foreground color of selected rows.
So I guess you can't do it, unless you want to invent something like pasting a bitmap on which you printed the text ...(like the trick of multiple lines in blist).
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote
  #6 (permalink)  
Old 07-05-2010, 09:30 PM
Knows the basics
 
Join Date: May 2010
Posts: 92
Default

Quote:
to invent something like pasting a bitmap on which you printed the text ...
I've tried it today - no success
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
event doubleclick and click on the cell (table object)... micro Questions (Windows Mobile) 2 08-19-2008 06:50 PM
Keeping a table cell highlighted (highlit?) Offbeatmammal Questions (Windows Mobile) 5 06-15-2008 02:33 AM
Double clicks on a cell in a table list, possible? davidcoderlab Questions (Windows Mobile) 3 06-01-2008 03:09 PM
Changing ROW color in Table? tcgoh Questions (Windows Mobile) 0 04-07-2008 04:25 PM
no event changingselected cell in a table? moharj Bug Reports 5 02-02-2008 06:41 PM


All times are GMT. The time now is 04:38 AM.


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