.. highlightlang:: us .. index:: LayerSetCursorAttrib .. _layersetcursorattrib: LayerSetCursorAttrib ==================== .. us.tag LayerSetCursorAttrib NOTREADYGERMAN LayerCursor :ref:`LayerSetCursorAttrib` setzt die Cursor Attribute. .. function:: bool = LayerSetCursorAttrib(hLayer, nAttrib) .. us.return **Returnwert** *bool* ist TRUE (1), wenn die Funktion erfolgreich war und sonst FALSE (0). .. us.params **Parameter** .. uparam:: hLayer *hLayer* ist die Zugriffsnummer des Diagramms, das mit :ref:`LayerCreate` erzeugt wurde. .. uparam:: nAttrib *nAttrib* ist eine Oder-Kombination der folgenden Werte: .. list-table:: :header-rows: 1 * - Name - Wert * - CURSOR_SHOWTWO - 1 * - CURSOR_SHOWHORZ - 2 * - CURSOR_INTERPOLATION - 4 * - CURSOR_PRINT - 8 * - CURSOR_ENABLECALLBACK - 16 * - CURSOR_ONLYACTIVEDIA - 32 * - CURSOR_ONLYACTIVEDATASET - 64 * - CURSOR_HIDEGRID - 128 .. seealso:: :ref:`uberblick-diagramme`, :ref:`LayerGetCursorAttrib`, :ref:`LayerGetCursorPosition` :sub:`id-1933235`