If you want the list box to scroll automatically in order to display the row selected, use the OBJECT SET SCROLL POSITION command.
Si vous souhaitez que la list box défile de manière à afficher la ligne nouvellement sélectionnée, utilisez la commande OBJET FIXER DEFILEMENT.
The number returned may be greater than the number of rows actually printed if the list box contains invisible rows or if the OBJECT SET SCROLL POSITION command has been called.
Le numéro retourné peut être supérieur au nombre de lignes effectivement imprimées si la list box contient des lignes invisibles ou si la commande OBJECT SET SCROLL POSITION a été appelée.
Note: The HIGHLIGHT RECORDS command features an optional parameter that allows delegating scroll management to the OBJECT SET SCROLL POSITION command. Example 1
Note : La commande HIGHLIGHT RECORDS comporte un paramètre facultatif permettant de déléguer la gestion du défilement dans les formulaires à la commande OBJECT SET SCROLL POSITION.
The OBJECT SET SCROLL POSITION command ("Objects (Forms)" theme) can be used with a list box.
Il est possible d'utiliser la commande OBJET FIXER DEFILEMENT (thème "Objets (Formulaires)") avec un objet de type list box.
Conteúdo potencialmente sensível ou impróprio
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.