PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • 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.
Notes:
  • PHP version 4.3.2 (or later) is required. A MySQL database is required.
  • The PHP sites generated by WEBDEV can also be used by PHP servers version 5.The PHP sites generated by WEBDEV can also be used by PHP servers version 5 or version 7.
The properties available in PHP
The following properties are available in PHP:
Alias..Alias 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).
BrowsedItem..BrowsedItem 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.
BrushColor..BrushColor is used to manage the background color of a control, window, page or report block.
CaptionIn a database, ..Caption 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, ..Caption is used to:
  • Find out the text displayed in a Static control or in a link control.
  • Modify the text displayed in a Static control or in a link control.
In a window or in a page, ..Caption is 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 site map path.
Collapsed..Collapsed is used 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 HideShow 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.
Content..Content is used to read or write the content of a control:
  • Memory list box,
  • Memory combo box,
  • Spreadsheet.
Description..Description is used to find out and modify the description associated with the page.
DisplayedValue..DisplayedValue 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
FontBold..FontBold is used to:
  • Find out whether a text is bold or not.
  • Modify the weight of a text
FontItalic..FontItalic is used to:
  • Find out whether the italic attribute is assigned to a text.
  • Modify the italic attribute of a text
FontName..FontName is used to:
  • Find out the font used in a control.
  • Modify the font used in a control.
FontSize..FontSize is used to:
  • Find out the size of the font used in a control.
  • Modify the size of the font used in a control.
FontUnderlined..FontUnderlined is used to:
  • Find out whether a text is underlined or not.
  • Underline (or not) a text.
GranularityAppointment..GranularityAppointment allows you to find out and modify the precision of the grid used by the Organizer control or by the Scheduler control to define the appointments
Height..Height is used to find out and modify the height:
  • of a control or block in a report.
  • of a control (found in a window), window, row found in a table, in a list box or in a listview, option found in a radio button or in a check box, break header or break footer found in a table or in a looper.
  • of a control (found in a page), break header or break footer found in a table or in a looper. The control can be stackable or not.
Hint..Hint is used to find out and modify the indication text displayed when the edit control is empty.
HorizontalAlignment..HorizontalAlignment is used to find out and modify the horizontal alignment of a control.
HTMLAfter..HTMLAfter 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.
Image..Image is used to find out and modify the background image associated with a control or with a block.
InitialValue..InitialValue is used to find out the initial value of a control found in a window or in a page.
Keywords..Keywords is used to find out and modify the keywords associated with a page.
MaxValue..MaxValue 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
MemoryFormat..MemoryFormat 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
MinValue..MinValue 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
Name..Name is used to find out:
  • 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.
Note..Note is used to:
  • Find out the notes associated with a control, a window or a page.
  • Modify the notes associated with a control, a window or a page.
NoteTitle..NoteTitle is used to:
  • Find out the title of the notes used in the program documentation of a window, control or page
  • Modify the title of the notes used in the program documentation of a control, window or page.
Occurrence..Occurrence is used to find out the number of elements found in a set.
Opacity..Opacity is used to find out and define the percentage of opacity for a window or for the controls found in a window or in a page.
ReturnedValue..ReturnedValue 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
Selected..Selected is used to find out whether a row is selected (in a List Box control, a ListView control or a Table control) and to select a row (in a List Box control, a ListView control or a Table control).
Size..Size is used to find out and modify the size of an element
SortOption..SortOption 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.
State..State is used to find out and modify the display status of an element.
StoredValue..StoredValue is used to find out the value currently stored by a row in a List Box control, ListView control or Combo Box control.
Thumbnail..Thumbnail is used 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.
Title..Title is used 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.
ToolTip..ToolTip is used to find out and modify the text displayed in the tooltip associated with a control found in a window or in a page.
Type..Type is used to find out:
  • 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.
TypeFiles..TypeFiles is used to find out and modify the filter on the files proposed in the file picker of the Upload control.
URL..URL is used to:
  • Find out the address associated with a control.
  • Modify the address associated with a control.
Value..Value 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.
Vertical..Vertical 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)
VerticalAlignment..VerticalAlignment is used to find out and modify the vertical alignment of a control.
Visible..Visible is used to:
  • Find out whether an element is visible.
  • Make an element visible or invisible.
Width..Width 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 stackable or not.
WorkingHourEnd..WorkingHourEnd is used to find out and modify the end time of the working hours used:
  • by an Organizer control.
  • by a Scheduler control.
  • by a Gantt Chart column (in a Table or TreeView Table control).
WorkingHourStart..WorkingHourStart is used to find out and modify the start time of the working hours used:
  • by an Organizer control.
  • by a Scheduler control.
  • by a Gantt Chart column (in a Table or TreeView Table control).
X..X 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).
Y..Y 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.
Minimum required version
  • Version 10
Comments
Click [Add] to post a comment