PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview
  • How to?
  • Properties available for the table cells
  • Properties available in a window
  • Properties available in a page (server code)
  • Properties available in a page (browser code)
  • Properties available in a page (PHP)
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
The tables can be handled:
  • by row,
  • by column,
  • by cell.
How to?
To handle the cells of a Table control through programming, use the following syntax:
<Column Name> [ <Row Number>]
Several WLanguage properties can be used on the cells of a Table control via the following syntax:
  • <Column Name>[<Row Number>]..<Property> = <Value>
  • <Table Name>[<Row Number>, <Column Number>]..<Property> = <Value>
Remark: If the cell corresponds to a check box, there is no need to specify the number of the option in the check box.
Properties available for the table cells
WINDEVWINDEV MobileAndroidiPhone/iPadJava

Properties available in a window

The following properties are available for the table cells in a window:
BackgroundColorThe BackgroundColor property is used to set the background color of a control, window, page or block of a report.
BackgroundStyleThe BackgroundStyle property is used to get and modify the background style of cells in tables and/or TreeView Tables.
BorderThe Border property is used to get and change the characteristics of the borders:
  • for a report control or block.
  • for a window control.
  • for a cell of a Table control.
CaptionIn a database, the Caption property is used to:
  • Find out the caption associated with a file item.
  • Find out the caption associated with a data file.
  • Find out and modify the connection caption.
In a report, the Caption property is used to:
  • Find out the text displayed in a Static or Link control.
  • Modify the text displayed in a Static or Link control.
In a window or page, the Caption property is also used to:
  • Find out and modify the caption of a control in a window or in a page.
  • Find out and modify the caption of a menu option.
  • Find out and modify the title of a window or page.
  • Find out the content of a Breadcrumb control.
ColorThe Color property is used to get or change the font color for:
  • a Font variable.
  • a text displayed in a Static control or in a calculated control of a report.
  • a text displayed in a window control.
  • a text displayed in a page control.
ContentThe Content property is used to read or write the whole content of a control:
  • List Box populated programmatically,
  • Combo Box populated programmatically,
  • Spreadsheet.
CursorThe Cursor property is used to get and change the position of the mouse cursor in one of the following controls:
  • Edit control.
  • Editable Combo Box.
  • "Edit control" table column and "Editable Combo Box" table column.
  • Word Processing control.
  • HTML Editor control.
CursorEndCursorEnd is used to find out and modify the end position of selection of the mouse cursor in one of the following controls:
  • Edit control.
  • Editable Combo Box.
  • "Edit control" table column and "Editable Combo Box" table column.
  • Word Processing control.
DisplayedValueThe DisplayedValue property returns the value currently displayed in the control of a window or page.
DisplayMaskThe DisplayMask property is used to:
  • Find out the display mask.
  • Modify the display mask.
This display mask is displayed when the control is in read-only or when the control does not have focus.
FontThe Font property is used to
  • Get the identifier of the font used in a control in a report, page or window.
  • Change the font used in a control in a report, page or window.
FontBoldFontBold is used to:
  • Determine if the text is bold.
  • Change the weight of the text.
FontCharsetThe FontCharset property is used to:
  • Find out the character set used by the screen fonts of a control.
  • Modify the character set used by the screen fonts of a control.
FontCondensedThe FontCondensed property is used to:
  • Determine if characters in a text are condensed.
  • Condense (or not) the characters in a text.
FontExtendedThe FontExtended property is used to:
  • Find out whether the spacing between characters in a text is increased.
  • Increase the spacing between characters in a text.
FontItalicFontItalic is used to:
  • Determine if the text is italicized.
  • Apply or remove italic formatting from the text.
FontLargeFontLarge is used to:
  • Find out whether the characters in a text are enlarged or not.
  • Enlarge (or not) the characters in a text.
FontNameThe FontName property is used to:
  • Identify the font used in a control.
  • Change the font used in a control.
FontSizeThe FontSize property is used to:
  • Identify the size of the font used in a control.
  • Change the size of the font used in a control.
FontStrikeOutThe FontStrikeOut property is used to:
  • Determine if the text displayed is struck through.
  • Apply strikethrough formatting (or not) the text displayed in a control.
FontUnderlinedFontUnderlined is used to:
  • Find out whether a text is underlined or not.
  • Underline (or not) a text.
FullNameThe FullName property is used to find out the full name:
  • of a control.
  • of a window.
  • of a menu option.
  • of a table column.
GrayedThe Grayed property is used to:
  • Determine if a control (or a group of controls) is grayed out.
  • Gray out or ungray a control, a group of controls or a window.
HeightThe Height property is used to get and change the height:
  • of a control or block in a report.
  • of a control (in a window), window, row of a Table, List Box or ListView control, option of a Radio Button or Check Box control, break header or footer of a Table or Looper control.
  • of a control (in a page), break header or footer in a Table or Looper control. The control can be overlayable or not.
HelpNumberThe HelpNumber property is used to identify and modify the help number associated with a control.
InputMaskThe InputMask property is used to:
  • find out the input mask.
  • modify the input mask (among the available masks for the type).
MaxValueThe MaxValue property is used to:
  • find out and modify the upper bound of a report based on a data file.
  • find out the upper bound defined for the current filter.
  • find out the maximum value of a chart series.
  • find out and modify the maximum value for some types of controls.
MergeThe Merge property is used to merge the cells of a Table or TreeView Table control.
MinValueThe MinValue property is used to:
  • find out and modify the lower bound of a report based on a data file.
  • find out the lower bound defined for the current filter.
  • find out the minimum value of a chart series.
  • find out and modify the minimum value for some types of controls.
MouseCursorThe MouseCursor property is used to identify and change the hover cursor defined for a control, window or page.
NameThe Name property is used to get:
  • the name of the font associated with a Font variable.
  • the name of a control, report or report block.
  • the name of a control, group of controls or window.
  • the name of a control, group of controls or page.
NoteThe Note property is used to:
  • Find out the notes associated with a control, a window, a page or a report.
  • Modify the notes associated with a control, a window a page or a report.
NoteTitleThe NoteTitle property is used to:
  • Get the title of the notes used in the technical documentation of a control, window, page or report.
  • Change the title of the notes used in the technical documentation of a control, window, page or report.
ProgressBarColorThe ProgressBarColor property is used to get and change the progress color in the following controls and elements:
  • Progress Bar control,
  • Progress Bar column,
  • Progress Bar cell,
  • infinite Progress Bar control.
SelectedThe Selected property is used to select a row and to determine if a row is selected (in a List Box, ListView or Table control).
SizeThe Size property is used to determine and change the size of an element.
StateThe State property is used to get and change the state of an element.
TextProgressBarTextProgressBar is used to find out and modify the text displayed in a progress bar.
TitleThe Title property is used to:
  • Get the title of a Table control column, a Chart control, a window or a page
  • Change the title of a Table control column, a Chart control, a window or a page.
ToolTipThe ToolTip property is used to get and change the text displayed in the tooltip associated with a window or page control.
TypeThe Type property is used to get:
  • the type of element described through programming (file or item description) or not (file or item defined in the data model editor, view or query).
  • the type of object.
  • the type of value stored in a variant.
ValueThe Value property is used to:
  • Find out and modify the value of a report control.
  • Find out and modify the value of a control or the title of a window.
  • Find out the identifier of a stream.
  • Find out and modify the value of a control or the title of a page.
VisibleThe Visible property is used to:
  • Find out whether an element is visible.
  • Make an element visible or invisible.
WidthThe Width property gets and changes the width:
  • of a control or block in a report.
  • of a control (found in a window), window, column found in a table or column found in a list box (including listview).
  • of a control (found in a page), column found in a table or column found in a list box. The control can be overlayable or not.
XThe X property is used to:
  • Get the X-coordinate of a control, Table control column or window (position on the X-axis).
  • Get the X-coordinate of a control or window (position on the X-axis).
YThe Y property is used to:
  • Find out the Y-coordinate of a control or window (position on Y-axis).
  • Modify the Y-coordinate of a control or window.
Remark: Some properties may not be available according to the platform used. For more details, see the property's help page..
WEBDEV - Server code

Properties available in a page (server code)

The following properties are available for the table cells in a page:
AliasThe Alias property is used to:
  • get or change the alias of a window (WINDEV and WINDEV Mobile).
  • get or change the alias of a dynamic tab (WINDEV).
  • get the internal HTML/JavaScript name of a control (WEBDEV).
BackgroundColorThe BackgroundColor property is used to set the background color of a control, window, page or block of a report.
CaptionHTMLThe CaptionHTML property is used to handle the text of a control as HTML code.
ColorThe Color property is used to get or change the font color for:
  • a Font variable.
  • a text displayed in a Static control or in a calculated control of a report.
  • a text displayed in a window control.
  • a text displayed in a page control.
ContentThe Content property is used to read or write the whole content of a control:
  • List Box populated programmatically,
  • Combo Box populated programmatically,
  • Spreadsheet.
DisplayedValueThe DisplayedValue property returns the value currently displayed in the control of a window or page.
FontThe Font property is used to
  • Get the identifier of the font used in a control in a report, page or window.
  • Change the font used in a control in a report, page or window.
FontBoldFontBold is used to:
  • Determine if the text is bold.
  • Change the weight of the text.
FontItalicFontItalic is used to:
  • Determine if the text is italicized.
  • Apply or remove italic formatting from the text.
FontNameThe FontName property is used to:
  • Identify the font used in a control.
  • Change the font used in a control.
FontSizeThe FontSize property is used to:
  • Identify the size of the font used in a control.
  • Change the size of the font used in a control.
FontUnderlinedFontUnderlined is used to:
  • Find out whether a text is underlined or not.
  • Underline (or not) a text.
FullNameThe FullName property is used to find out the full name:
  • of a control.
  • of a window.
  • of a menu option.
  • of a table column.
HorizontalAlignmentThe HorizontalAlignment property is used to get and change the horizontal alignment of a control.
OpacityThe Opacity property is used to get and define the opacity percentage for a window, or for controls in a window or page.
ProgressBarColorThe ProgressBarColor property is used to get and change the progress color in the following controls and elements:
  • Progress Bar control,
  • Progress Bar column,
  • Progress Bar cell,
  • infinite Progress Bar control.
ToolTipThe ToolTip property is used to get and change the text displayed in the tooltip associated with a window or page control.
ValueThe Value property is used to:
  • Find out and modify the value of a report control.
  • Find out and modify the value of a control or the title of a window.
  • Find out the identifier of a stream.
  • Find out and modify the value of a control or the title of a page.
VerticalAlignmentThe VerticalAlignment property is used to get and change the vertical alignment of a control.
VisibleThe Visible property is used to:
  • Find out whether an element is visible.
  • Make an element visible or invisible.
Remark: The FontXXX properties are available in read-only. You cannot modify the characteristics regarding the font of a table cell.
WEBDEV - Browser code

Properties available in a page (browser code)

The following properties are available for the table cells in a page:
BackgroundColorThe BackgroundColor property is used to set the background color of a control, window, page or block of a report.
ColorThe Color property is used to get or change the font color for:
  • a Font variable.
  • a text displayed in a Static control or in a calculated control of a report.
  • a text displayed in a window control.
  • a text displayed in a page control.
ProgressBarColorThe ProgressBarColor property is used to get and change the progress color in the following controls and elements:
  • Progress Bar control,
  • Progress Bar column,
  • Progress Bar cell,
  • infinite Progress Bar control.
ToolTipThe ToolTip property is used to get and change the text displayed in the tooltip associated with a window or page control.
TypeThe Type property is used to get:
  • the type of element described through programming (file or item description) or not (file or item defined in the data model editor, view or query).
  • the type of object.
  • the type of value stored in a variant.
ValueThe Value property is used to:
  • Find out and modify the value of a report control.
  • Find out and modify the value of a control or the title of a window.
  • Find out the identifier of a stream.
  • Find out and modify the value of a control or the title of a page.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment