1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
| X, Y, iPos sont des entiers
X = PoidsFaible(CurseurPos())
Y = PoidsFort(CurseurPos())
// Recherche du numéro de la ligne correspondant au clic
Ligne est un entier = ArbreInfoXY(ARBRE_Arbre1, aiNumLigne + aiOrigineEcran,
X, Y)
// Recherche du nom de la branche
Branche est une chaîne = ArbreInfoXY(ARBRE_Arbre1, aiNomBranche +
aiOrigineEcran, X, Y)
//Trace("Vous avez cliqué sur la branche "+Branche+"(ligne n°" + Ligne +")")
//Trace( ArbreRécupèreIdentifiant(Arbre_Arbre1, ArbreSelect(Arbre_Arbre1,
Vrai)))
//Trace( ArbreSelect(Arbre_Arbre1, Vrai))
iPOs = ArbreRécupèreIdentifiant(ARBRE_Arbre1, ArbreSelect(ARBRE_Arbre1,
Vrai))
HOuvre(Documents)
HRecherchePremier(Documents,IDDocuments,iPos)
FichierVersEcran() |
Partager