zoukankan      html  css  js  c++  java
  • AT LINESELECTION

    Syntax 语法

    AT LINE-SELECTION.

    Effect 作用

    This statement defines an event block whose event is triggered by the ABAP runtime environment during the display of a screen list - provided the scren cursor is on a list line and you select a function using the function code PICK. Through the definition of this event block, the standard list status is automatically enhanced in such a way that the function code F2 and, with it, the double-click mouse function is linked up to the function code PICK.

    这个语句定义了一个在屏幕列表显示期间被ABAP运行环境触发的事件块-倘若屏幕指针在一个列表行上并且你用功能码PICK选择了一个功能。通过这个事件块的定义,标准列表状态就自动用功能码F2被增强并且,用它,鼠标双击功能被连接到功能码PICK.

    Note

    If the function key F2 is linked with a function code different than PICK, each double click will trigger its even, usually AT USER-COMMAND, and not AT LINE-SELECTION.

    如果功能键F2与不同于PICK的功能码联系在一起,每一次双击将通常触发AT USER-COMMAND而不是AT LINE-SELECTION。

    Example 例子

    This program works with the standard list status. A line selection with the left mouse key causes the event AT LINE-SELECTION and creates details lists.

    这个程序需要标准的列表状态。鼠标左键的选择触发事件AT LINE-SELECTION并且产生明细列表。

    REPORT demo_at_line_selection.
    START-OF-SELECTION.
      WRITE 'Click me!' COLOR = 5 HOTSPOT.
    AT LINE-SELECTION.
      WRITE: / 'You clicked list', sy-listi,
             / 'You are on list',  sy-lsind.
      IF sy-lsind < 20.
        SKIP.
        WRITE: 'More ...' COLOR = 5 HOTSPOT.
      ENDIF.

  • 相关阅读:
    LoadRunner字符编码转换
    登山记02-百丈岭古道(昌北古道)_20201213
    JVM GC原理和监控
    登山记01_径山古道_20201107
    awk命令
    shell计算文件中某一列的平均值
    linux命令后台运行
    二维数组_基础(九)
    一维数组(八)
    选择语句switch总结(七)
  • 原文地址:https://www.cnblogs.com/liaojunbo/p/2142720.html
Copyright © 2011-2022 走看看