PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview
  • Principle for generating a PHP site with WEBDEV
  • The properties available in PHP
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview

Principle for generating a PHP site with WEBDEV

WEBDEV allows you to generate a PHP site without even knowing the PHP language. The site is developed in WLanguage like any other WEBDEV site.
You also have the ability to directly enter your PHP code.
A syntactic and lexical analysis is now available for the PHP code (and for the Javascript code).
When generating the pages, the WEBDEV pages and the WLanguage properties are automatically converted into PHP pages.
Remark: Minimum version required:
  • PHP 4 servers: PHP version 4.3.2 (or later) is required.
  • PHP 5 servers: The PHP sites generated by WEBDEV can also be used by PHP servers version 5. The minimum recommended version is version 5.2.1.
  • Versions 21 and later
    PHP 7 servers: The PHP sites generated by WEBDEV can also be used by PHP servers version 7. It is recommended to use version 7.0.22 onwards.
    New in version 21
    PHP 7 servers: The PHP sites generated by WEBDEV can also be used by PHP servers version 7. It is recommended to use version 7.0.22 onwards.
    PHP 7 servers: The PHP sites generated by WEBDEV can also be used by PHP servers version 7. It is recommended to use version 7.0.22 onwards.
Remark: Minimum version required:
  • PHP 5 servers: The PHP sites generated by WEBDEV can also be used by PHP servers version 5. It is recommended to use version 5.3 onwards.
  • Versions 21 and later
    PHP 7 servers: The PHP sites generated by WEBDEV can also be used by PHP servers version 7. It is recommended to use version 7.0.22 onwards.
    New in version 21
    PHP 7 servers: The PHP sites generated by WEBDEV can also be used by PHP servers version 7. It is recommended to use version 7.0.22 onwards.
    PHP 7 servers: The PHP sites generated by WEBDEV can also be used by PHP servers version 7. It is recommended to use version 7.0.22 onwards.
The properties available in PHP
The following properties are available in PHP:
AliasThe Alias property is used to:
  • find out or modify the alias of a window (WINDEV)
  • Find out and modify the alias of a dynamic tab pane (WINDEV)
  • find out the internal HTML/JavaScript name of a control (WEBDEV).
BackgroundColor..BackgroundColor is used to manage the background color of a control, window, page or report block.
BrowsedItemBrowsedItem is used to:
  • Find out the item used to automatically browse the Table, Looper, List Box, ListView and Combo Box controls, the reports based on file or the supercontrols.
  • Modify the item used to automatically browse the Table, Looper, List Box, ListView and Combo Box controls, the reports based on file or the supercontrols. Then, the browse is reinitialized.
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.
CollapsedThe Property Wound makes it possible to:
  • find out or define the status (collapsed or expanded) that will be used when rows are added into a TreeView Table control.
  • find out or modify the collapsed/expanded status for:
    • the breaks of a Table control,
    • the breaks of a Looper control,
    • a Drawer control,
    • a Ribbon control,
    • a Navigation Bar control.
    • a Pivot Table control in a report.
Color..Color is used to find out and modify 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 Property Contenu allows to read or write in one block the content of an control:
  • Memory List Box,
  • Memory Combo Box,
  • Spreadsheet.
CountThe Property Occurrence makes it possible to know the number of elements present in a set.
DescriptionDescription is used to find out and modify the description associated with the page.
DisplayedValueDisplayedValue is used to find out the value currently displayed on the screen in a window control or in a page control.
Empty..Empty is used to find out whether:
  • a Looper, Table, List Box or Combo Box control is empty. The control can be a browsing control or a memory control.
  • a Chart control contains no series.
  • a report control is empty (control linked to an item).
  • an array (or an associative array) contains no element.
  • an element of an associative array exists or not.
  • a queue, a list or a stack contains no element.
FontBoldFontBold is used to:
  • Find out whether a text is bold or not.
  • Modify the weight of a text.
FontItalicFontItalic is used to:
  • Find out whether the italic attribute is assigned to a text.
  • Modify the italic attribute of a text.
FontNameFontName is used to:
  • Find out the font used in a control.
  • Modify the font used in a control.
FontSizeFontSize is used to:
  • Find out the size of the font used in a control.
  • Modify 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.
GranularityAppointmentThe Property GranularityRendezVous makes it possible to know and modify the precision of the grid used by the Organizer control or Scheduler control to define appointments.. Property kept for backward compatibility.
HeightThe Property Height allows to know and modify 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 Looper control. The control can be overlayable or not.
HintHint is used to find out and modify the information text displayed when the edit control is empty.
HorizontalAlignmentHorizontalAlignment is used to find out and modify the horizontal alignment of a control.
HTMLAfterHTMLAfter is used to find out and modify the HTML code added after the control.
HTMLBefore..HTMLBefore used to find out and modify the HTML code added before the control.
ImageImage is used to find out and modify the background image displayed in a control or in a block.
InitialValueInitialValue is used to find out the initial value of a control in a window or in a page.
KeywordsKeywords is used to find out and modify the keywords associated with a page.
MaxValueMaxValue 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.
MemoryFormatMemoryFormat is used to find out and modify the format of the value returned for:
  • the Date or Time edit controls.
  • the Date or Time table columns.
  • the Calendar controls.
  • the Static controls.
  • the editable combo boxes.
  • the table columns displayed by combo boxes.
MinValueMinValue 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.
Multiselection..Multiselection is used to find out and modify the selection mode:
  • of a Table (and TreeView Table) control.
  • of a Pivot Table control.
  • of a List Box (and ListView) control.
  • of a Looper control.
  • of a Calendar control.
  • of files in an Upload control.
NameThe Property Name allows you to know:
  • 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.
NoteNote 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 Property TitleNote allows to:
  • Find out the title of the notes used in the program documentation of a control, window, page or report.
  • Modify the title of the notes used in the program documentation of a control, window, page or report.
OpacityThe Property Opacity allows you to know and define the opacity percentage of a window or of the fields present in a window or a page.
ReturnedValueReturnedValue is used to:
  • Find out and modify the value returned by a window, a page or a report.
  • Find out and modify the value returned by an option in a Radio Button control.
SelectedThe Property Selected allows to know if an row is selected (in an List Box control, an ListView control or an Table control) and to select an row (in an List Box control, an ListView control or an Table control).
SizeThe Size property is used to determine and change the size of an element.
SortOptionSortOption is used to find out and modify the sort options used in:
  • the text columns found in Table controls,
  • the text columns found in Treeview Table controls,
  • the List Box and ListView controls,
  • the Combo Box controls,
  • the attributes of Looper controls,
  • the images, the clickable images and the thumbnails with automatic scroll.
StateThe Property Report makes it possible to know and modify the display report of an item.
StoredValue..StoredValue is used to find out the value currently stored by:
  • a row in a List Box, ListView or Combo Box control.
  • a "Text token" edit control.
ThumbnailThe Property Vignette allows you to:
  • find out the value of an item thumbnail. This item was defined in the data model editor or by programming.
  • find out and modify the image associated with a Thumbnail control.
TitleThe Property Title allows to:
  • Find out the title of a table column, Chart control, window or page
  • Modify the title of a table column, Chart control, window or page.
ToolTipThe Tooltip property is used to get and change the text displayed in the tooltip associated with a window or page control.
TypeThe Property Type allows to know:
  • the type of element described by 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.
TypeFilesThe Property TypeFiles allows to know and modify the filter on the files proposed in the file selector of the Upload control.
URLThe Property URL allows you to:
  • Find out the address associated with a control.
  • Modify the address associated with a 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.
VerticalVertical is used to:
  • find out whether a control is oriented horizontally or vertically.
  • modify the display direction of Table and Looper controls (switch from vertical to horizontal and conversely).
VerticalAlignmentThe Property CadrageVertical makes it possible to know and modify the vertical framing of an control.
VisibleThe Property Visible allows to:
  • Find out whether an element is visible.
  • Make an element visible or invisible.
WidthWidth is used to find out and modify 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.
WorkingHourEndThe WorkingHourEnd property is used to identify and change the end time of working hours used:
  • by an Organizer control.
  • by a Scheduler control.
  • by a Gantt Chart column (in a Table or TreeView Table control).
WorkingHourStartThe WorkingHourStart property is used to get and change the start time of working hours used:
  • by an Organizer control.
  • by a Scheduler control.
  • by a Gantt Chart column (in a Table or TreeView Table control).
XX is used to:
  • Find out the X coordinate of a control, of a Table control column or of a window (position on X axis).
  • Modify the X-coordinate of a control or window (position on X-axis).
YThe Property Y makes it possible to:
  • Find out the Y coordinate of a control or window (position on Y axis).
  • Modify the Y coordinate of a control or window.
Minimum version required
  • Version 10
Comments
Click [Add] to post a comment