AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de controles
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Las siguientes funciones permiten manipular controles:
ActiveXEventAsocia una Procedure escrita en WLanguage con una Event de ActiveX control.
AddLinkAdds a link to a text section in an edit control.
AssistedInputAddAgrega una fila a la lista de valores disponibles en las sugerencias de entrada de un control Campo de entrada.
AssistedInputCloseCierra la lista de sugerencias de entrada de un control Campo de entrada.
AssistedInputDeleteAllBorra los valores de la lista de sugerencias de un control Campo de entrada.
AssistedInputOpenAbre la lista de sugerencias de un control Campo de entrada.
AttachPointAddDefines an attach point for one of the two extremities of a Wire control.
AttachPointDeleteAllDeletes all the connection points for a control.
ChangeStyleModifies the style of a control dynamically.
ConfigureSpellCheckConfigures the spelling checker for the edit controls and for the Table control columns in the whole application.
ControlAliasGets, modifies or restores the data binding to a control or group of controls.
ControlCloneCreates a new control from an existing control.
ControlContextMenuIdentifies the control on which the context menu was opened.
ControlCreateCreates a new control (of any type) in a window programmatically.
ControlCurrentReturns the name of the control currently in edit.
ControlDeleteElimina permanentemente un control de una ventana, página o informe.
ControlEnabledEnables a control or a group of controls in a window. An animation can be set on the controls during this operation.
ControlErrorCustomizes the value displayed in the controls when the value cannot be displayed.
ControlExistComprueba la existencia de un control (o grupo de controles) en una ventana, en una página o en un informe.
ControlFirstIndicates the name of the first field specified in the tab order for the specified window.
ControlGrayedGrays a control or a group of controls. An animation can be set on the controls during this operation.
ControlInfoXYDevuelve el nombre del control situado en una posición dada.
ControlInOutReasonIndicates the origin of the entry in the control.
ControlInvisibleMakes a control (or a group of controls) invisible in a window. An animation can be set on the controls during this operation.
ControlNextReturns the name of the next control in input mode.
ControlNoSpaceSpecifies whether the space characters on the right of the value found in the control are deleted.
ControlOverIdentifica el control sobre el que se pasa el cursor del ratón.
ControlPreviousEspecifica el nombre del control que estaba en edición antes del control actual.
ControlTypeInfoReturns the icon corresponding to the specified type of control.
ControlVisibleMakes a control (or a group of controls) visible in a window. An animation can be set on the controls during this operation.
CoordinateEditorToScreenConverts a size or a position specified in the reference dpi in the editor (160 dpi) to the native dpi of screen on the device where the application is run.
CoordinateImageControlToImageConvierte las coordenadas de un rectángulo en el control Imagen al sistema de coordenadas de la imagen original.
CoordinateImageToImageControlConvierte las coordenadas de un rectángulo en la imagen original al sistema de coordenadas del control Imagen.
CoordinateScreenToEditorConverts a size or a position specified in the native dpi of the screen on the device where the application is run to the reference dpi in the editor (160 dpi).
CountReturns the number of occurrences of a control in a window, in a page or in a group of controls.
CurrentColumnReturns:
  • the index of the current indexed column in a Table control (based on a data file or populated programmatically).
  • the number of the column currently in edit mode in the specified Table control (based on a data file or populated programmatically).
CurrentIndexDepending on the specified control, returns:
  • the number of the current row displayed in the current Table control,
  • the number of the option with focus in a Check Box control,
  • the number of the current row in the current Looper control,
  • the index of the current indexed control.
DeleteParameterDeletes a parameter (or a set of parameters) saved either by SaveParameter, or automatically via the persistence of data in the controls.
DictionaryLoadIndicates and loads the dictionary corresponding to a given language.
EditCaretModifica el cursor de desplazamiento estándar para todos los controles de edición de la aplicación.
EnumControlDevuelve el nombre de Nth control que se encuentra en el elemento especificado.
HTMLNavigateInicia la navegación en un control de visualización HTML.
InitParameterInitializes the management of persistent values.
LinkColorModifica el color de los enlaces en los controles Edición y en los controles Texto estático.
LoadParameterLee un valor persistente.
NextIndexReturns the number of the next row displayed in the current Table control.
OpenContextMenuAutomatically opens a context menu for the current control, window or page.
ParentObjectIdentifies the "parent" of a graphic object: field, column, window, page, etc.
RestablecerReinicia:
  • todos los controles que se encuentran en la ventana o página actual (incluyendo los grupos de controles, los supercontroles y las ventanas internas).
  • los controles que se encuentran en un grupo de controles, un supercontrol, una ventana interna o una página interna.
ReturnToCaptureStops the current process and forces the input in the specified control, window or page.
SaveParameterGuarda un valor persistente en el registro o en otro archivo especificado por InitParameter.
ScreenFirstDefines the next control that will be in edit in the current window.
ScrollbarIsVisiblePermite saber si la barra de desplazamiento de un control en una aplicación WINDEV es visible.
ScrollbarMaxPositionRecupera la posición máxima de una de las barras de desplazamiento horizontales o verticales que se encuentran en un control de una aplicación WINDEV.
ScrollbarPositionUsed to manage the position of elevators:
  • Modifies or recovers the position of one of the scrollbars (horizontal or vertical) of a field in a WINDEV or WINDEV Mobile application..
  • Retrieves the position of one of the horizontal or vertical scrollbars found in a control of a WEBDEV website.
ScrollBarShowMuestra (o no) una barra de desplazamiento en un control WINDEV (control de edición o cuadro de lista) aunque no se haya especificado ninguna barra de desplazamiento durante la descripción del control.
SelectionColorChanges the characteristics of the selection bar in a Table control, Combo Box control or List Box control.
SetFocusSet focus:
  • to a control (found in a window, in a page or in a frameset).
  • to a window.
ShapePolygonModifies the shape currently displayed in a Shape control to get a custom shape (by specifying the coordinates of polygon points).
ShowToolTipEnables or disables the mechanism for displaying the control tooltips.
TextEllipsisReturns the text with ellipsis displayed in an Edit, Combo Box or Static Text control.
TextHeightCalculates the height (in pixels) of the text displayed in an edit control, in a Static Text control or in a Combo Box control.
TextWidthCalculates the width (in pixels) of the text displayed in an edit control, in a Combo Box control or in a Static Text control.
ToolTipColor0.
ToolTipDelayUsed to modify:
  • the timeout before displaying the tooltips.
  • the display duration of the tooltips.
ToolTipMarginModifica el margen del texto en los tooltip.
TooltipMaxWidthModifies the maximum width of tooltips.
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
PROCEDURE evento_lista_objetos_gpw(ninstancia)
//variaiveis auxiliares
i is int = 1
objs_form is string = ""
sControlName is string = ""
sControles is string = ""

ninstancia = ninstancia

<COMPILE IF Configuration<>"iOS application" AND Configuration<> "Android application">

IF ninstancia = 0 THEN

RESULT ""

ELSE

NomeForm is string = m_Tabela[ninstancia].gs_nomeJanela

WHEN EXCEPTION IN

sControlName = gpwEnumControl(NomeForm, i)

LOOP(5000)

// Process the control
Trace(sControlName)

// Next control
i++

sControlName = gpwEnumControl(NomeForm, i)

IF sControlName <> "" AND sControlName <> Null AND sControlName <> 0 AND sControlName <> VK_EREOF THEN
indirection is string = NoSpace(NomeForm) +"."+ NoSpace(sControlName)
IF ControlExist(sControlName) = True
sControles += indirection + "; "
END
ELSE
BREAK
END

END

RESULT sControles


DO
IF ExceptionInfo(errCode) THEN
RESULT sContro
Boller
02 09 2023

Última modificación: 27/09/2024

Señalar un error o enviar una sugerencia | Ayuda local