KlassenKlassenKlassenKlassen | | | | Operatoren

set_window_extentsset_window_extentsSetWindowExtentsset_window_extentsSetWindowExtentsSetWindowExtents (Operator)

Name

set_window_extentsset_window_extentsSetWindowExtentsset_window_extentsSetWindowExtentsSetWindowExtents — Verändern der Position und Größe eines Fensters.

Signatur

set_window_extents( : : WindowHandle, Row, Column, Width, Height : )

Herror set_window_extents(const Hlong WindowHandle, const Hlong Row, const Hlong Column, const Hlong Width, const Hlong Height)

Herror T_set_window_extents(const Htuple WindowHandle, const Htuple Row, const Htuple Column, const Htuple Width, const Htuple Height)

Herror set_window_extents(const HTuple& WindowHandle, const HTuple& Row, const HTuple& Column, const HTuple& Width, const HTuple& Height)

void HWindow::SetWindowExtents(const HTuple& Row, const HTuple& Column, const HTuple& Width, const HTuple& Height) const

void SetWindowExtents(const HTuple& WindowHandle, const HTuple& Row, const HTuple& Column, const HTuple& Width, const HTuple& Height)

void HWindow::SetWindowExtents(Hlong Row, Hlong Column, Hlong Width, Hlong Height) const

void HOperatorSetX.SetWindowExtents(
[in] VARIANT WindowHandle, [in] VARIANT Row, [in] VARIANT Column, [in] VARIANT Width, [in] VARIANT Height)

void HWindowX.SetWindowExtents(
[in] Hlong Row, [in] Hlong Column, [in] Hlong Width, [in] Hlong Height)

static void HOperatorSet.SetWindowExtents(HTuple windowHandle, HTuple row, HTuple column, HTuple width, HTuple height)

void HWindow.SetWindowExtents(int row, int column, int width, int height)

Beschreibung

set_window_extentsset_window_extentsSetWindowExtentsset_window_extentsSetWindowExtentsSetWindowExtents positioniert die linke obere Ecke des Ausgabefensters auf (RowRowRowRowRowrow,ColumnColumnColumnColumnColumncolumn) und verändert gleichzeitig die Größe des Fensters auf WidthWidthWidthWidthWidthwidth und HeightHeightHeightHeightHeightheight. Negative Werte für WidthWidthWidthWidthWidthwidth und HeightHeightHeightHeightHeightheight werden ignoriert.

Achtung

Wird die Größe des Fensters verändert, so wird der Fensterinhalt nicht automatisch neu dargestellt. Dies muss vom Programm aus vorgenommen werden, indem die Daten erneut ausgegeben werden.

Parallelisierung

Parameter

WindowHandleWindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHTupleHWindowX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Fenster-Handle.

RowRowRowRowRowrow (input_control)  rectangle.origin.y HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Zeilenindex der linken oberen Ecke der Zielposition.

Defaultwert: 0

Typischer Wertebereich: Row Row Row Row Row row (lin)

Minimale Schrittweite: 1

Empfohlene Schrittweite: 1

ColumnColumnColumnColumnColumncolumn (input_control)  rectangle.origin.x HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Spaltenindex der linken oberen Ecke der Zielposition.

Defaultwert: 0

Typischer Wertebereich: Column Column Column Column Column column (lin)

Minimale Schrittweite: 1

Empfohlene Schrittweite: 1

WidthWidthWidthWidthWidthwidth (input_control)  rectangle.extent.x HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Breite des Fensters.

Defaultwert: 512

Typischer Wertebereich: Width Width Width Width Width width (lin)

Minimale Schrittweite: 1

Empfohlene Schrittweite: 1

HeightHeightHeightHeightHeightheight (input_control)  rectangle.extent.y HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Höhe des Fensters.

Defaultwert: 512

Typischer Wertebereich: Height Height Height Height Height height (lin)

Minimale Schrittweite: 1

Empfohlene Schrittweite: 1

Ergebnis

set_window_extentsset_window_extentsSetWindowExtentsset_window_extentsSetWindowExtentsSetWindowExtents liefert den Wert 2 (H_MSG_TRUE), falls das Fenster gültig ist und die Parameter korrekt sind. Ansonsten wird eine Fehlerbehandlung durchgeführt

Vorgänger

open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow, open_textwindowopen_textwindowOpenTextwindowopen_textwindowOpenTextwindowOpenTextwindow

Siehe auch

get_window_extentsget_window_extentsGetWindowExtentsget_window_extentsGetWindowExtentsGetWindowExtents, open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow, open_textwindowopen_textwindowOpenTextwindowopen_textwindowOpenTextwindowOpenTextwindow

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren