FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
How to select row or column in table - windev ?
How to select row or column in table - windev ?
Débuté par PETER, 14 nov. 2007 21:58 - 3 réponses
Connectez-vous…
PETER
#1
Posté le 14 novembre 2007 - 21:58
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 ?
Signaler
0
0
Louis Verbraak
#2
Posté le 15 novembre 2007 - 07:22
Hi Peter,
Just use ReturnToCaptur(myColumn)
HTH,
Louis.
Signaler
0
0
Huib Preij.
#3
Posté le 15 novembre 2007 - 20:21
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 ?
Signaler
0
0
Ari Linares
#4
Posté le 28 janvier 2019 - 17:58
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!
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte