|
How to select row or column in table - windev ? |
Started by PETER, Nov., 14 2007 9:58 PM - 3 replies |
| |
| | | |
|
| |
Posted on November, 14 2007 - 9:58 PM |
Hi,
1) What's the command to select a certain table row & column in windev ?
"TableSelectPlus" is to select the row...
How about the column ?
2) And will it becomes EDIT entry mode immediately if i select that column ( if the initial state is a EDIT TABLE ?) Or i need to do some coding to make it "auto-entry" ? or do a "double-click" on that column ? |
| |
| |
| | | |
|
| | |
| |
Posted on November, 15 2007 - 7:22 AM |
Hi Peter,
Just use ReturnToCaptur(myColumn)
HTH,
Louis. |
| |
| |
| | | |
|
| | |
| |
Posted on November, 15 2007 - 8:21 PM |
Peter,
Here some code I used in one of my projects to select a cell and to color the cell.
============================================================================
//Left Button down (WM_LBUTTONDOWN) of table_table1
SI TABLE_Table1..Occurrence = 0 ALORS RETOUR
SI SAI_Regelnr>0 ET SAI_Kolom>0 ALORS
TABLE_Table1[SAI_Regelnr,SAI_Kolom]..CouleurFond=iCouleurDéfaut
FIN
SAI_Kolom=TableInfoXY(TABLE_Table1,tiNumColonne,SourisPosX(),SourisPosY())
SAI_Kolomnaam=TableInfoXY(TABLE_Table1,tiNomColonne,SourisPosX(),SourisPosY())
SAI_Regelnr=TableInfoXY(TABLE_Table1,tiNumLigne,SourisPosX(),SourisPosY())
IF SAI_Regelnr < 1 THEN SAI_Regelnr=TABLE_Table1..Occurrence
SI SAI_Kolom < 9 ALORS SAI_Kolom=9
TABLE_Table1[SAI_Regelnr,SAI_Kolom]..CouleurFond=iRougeClair
==============================================================================
So I also have code for the left, right, up en down keys. The result si tha you see a red cell moving with your cursor movements. May be there is something you can use.
Succes.
Huib.
>Hi,
1) What's the command to select a certain table row & column in windev ?
>"TableSelectPlus" is to select the row...
How about the column ?
>2) And will it becomes EDIT entry mode immediately if i select that column ( if the initial state is a EDIT TABLE ?) Or i need to do some coding to make it "auto-entry" ? or do a "double-click" on that column ? |
| |
| |
| | | |
|
| | |
| |
Posted on January, 28 2019 - 5:58 PM |
Hi Huib Preij, Could you please send the code you use for the left, right, up en down keys, I have trying to move inside the tables in WEBDEV but I still do not solve it.
Thanks in advance! |
| |
| |
| | | |
|
| | | | |
| | |
|