J J12345T Member Licensed User Jul 9, 2007 #1 Hi, Is there a way to change the background color (or font color) of the selected cell in a table? Thanks, JT
Hi, Is there a way to change the background color (or font color) of the selected cell in a table? Thanks, JT
J J12345T Member Licensed User Jul 9, 2007 #2 Ahh... I see Randomcoder has already solved the problem. The same thing worked for me.:sign0060: JT
agraham Expert Licensed User Longtime User Jul 9, 2007 #3 J12345T said: I see Randomcoder has already solved the problem Click to expand... I've searched and can't find it. Could you post a link please?
J12345T said: I see Randomcoder has already solved the problem Click to expand... I've searched and can't find it. Could you post a link please?
J JJM Active Member Licensed User Longtime User Jul 9, 2007 #4 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
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
Erel B4X founder Staff member Licensed User Longtime User Jul 9, 2007 #5 Here: http://www.b4x.com/forum/showthread.php?t=487
RandomCoder Well-Known Member Licensed User Longtime User Jul 9, 2007 #7 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.
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.
C chanppc Member Licensed User Dec 9, 2009 #8 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
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?
C chanppc Member Licensed User Dec 9, 2009 #9 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
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...
Erel B4X founder Staff member Licensed User Longtime User Dec 9, 2009 #10 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.
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.
C chanppc Member Licensed User Dec 10, 2009 #11 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
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
F francisco cobos Member Licensed User Longtime User Dec 10, 2009 #12 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.
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.