Tables

Discussion in 'Questions (Windows Mobile)' started by J12345T, Jul 9, 2007.

  1. J12345T

    J12345T Member Licensed User

    Hi,

    Is there a way to change the background color (or font color) of the selected cell in a table?

    Thanks,

    JT
     
  2. J12345T

    J12345T Member Licensed User

    Ahh...

    I see Randomcoder has already solved the problem. The same thing worked for me.:sign0060:

    JT
     
  3. agraham

    agraham Expert Licensed User

    I've searched and can't find it. Could you post a link please?
     
  4. JJM

    JJM Active Member Licensed User

    Hi,

    You can set the font color or the backcolor for table but you can't set a specific color for a specific cell... I think ... I never find any explanation about that.
    If Randomcoder has a solution, I take that .. Where is the link?

    Bye

    JJ M
     
  5. Erel

    Erel Administrator Staff Member Licensed User

  6. agraham

    agraham Expert Licensed User

    Thanks Erel
     
  7. RandomCoder

    RandomCoder Well-Known Member Licensed User

    I'm currently working on improving the code.
    Firstly I've enabled the cursor in textbox for the selected cell and highlight any data that was present so that a new entry can be quickly and easily added.
    This has the undesirable effect that the arrow keys no longer move the position of the selected cell.
    So now I've got to try and trap the arrow key presses and move the selected cell accordingly, along with entering whatever data had already been entered.

    Just at the moment I'm pretty busy with other more important things though. So not much time just at the minute.

    Regards,
    RandomCoder.
     
  8. chanppc

    chanppc Member Licensed User

    I'm using the table control & like to change the font color in certain cell to says red whenever the value fall below zero, to serve as warning to the user. Seems like the table control does not support this?
     
    Last edited: Dec 9, 2009
  9. chanppc

    chanppc Member Licensed User

    Found from separate post by Erel here, the Table control is based on the .Net DataGrid control so do not have the property.

    Separately , I came across this new .Net DataGridView which allow customize of display property. Can this be included in the next release pls...
     
    Last edited: Dec 9, 2009
  10. Erel

    Erel Administrator Staff Member Licensed User

    The DataGridView is not support by .Net CF so it can only be used on the desktop. Making it less relevant as a replacement for the Table control.
     
  11. chanppc

    chanppc Member Licensed User

    Thanks Erel.

    I found this link about the customizable of Data Grid control for formatting in .net CF v2 sp1. There's sample vs project provided. That should be able to make the table control more comprehensive in basic4ppc :)
     
  12. francisco cobos

    francisco cobos Member Licensed User

    hello, Like me, I think there are many users using almost only basic4 desktop version, I think it would be very useful any improvement in the table control, despite the ppc version.
     
Loading...