PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
This content has been translated automatically. Click here to view the French version.
  • Overview
  • The available actions
  • Preset actions
  • Specific actions
  • Special case: share on a social network
  • The target of the action
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
Choosing the action associated with the button (WEBDEV)
Overview
Regardless of the button type, you have the ability to associate an action with this button. WEBDEV proposes the most common actions directly in the "General" tab of the field description window.
Action associated with the button
For more specific actions, just click on the "More choices" link.
In any case, you will have to define the destination of this action.
The available actions

Preset actions

Several preset actions are proposed by default in a drop-down list box. These preset actions depend on the elements found in the page and in the project.
For example, you can choose to:
  • execute the click code of a button (browser code or server and browser code),
  • display a site page,
  • display a page from another site,
  • Carry out a personalized action (send an email, call a phone number, connect to an FTP server, download a file, ...). In this case, parameters can be specified.
Caution: the actions are performed after the click code of the button (browser code and server code).

Specific actions

The "More choices" link allows you to offer more options. You can for example:
  • do an action on another control;
  • position on one of the page anchors,
  • share a social network,
  • change current language
  • send the value of the page controls to ... a page or a script. This option can be used to process the content of a form found in a static site for instance.
Remark: All these operations can also be performed by programming.
Versions 18 and later

Special case: share on a social network

The "Share on a social network" action is used to create a button, a link or a clickable image allowing you to share the current page, the current domain or a specific URL on a social network. This action can also be performed via the Social network control.
Remark: Using a button, a link or a clickable image allows you to entirely configure the style used (however, we advise you to comply with the license agreements of the different social networks). The Social network control proposes an advanced setting (display the number of shares, ...).
The table below presents the information used for each social network:
Social networkTargetEffect
FacebookThe domainCreates on the Facebook wall of connected Web user a link to the domain of current site.
Caution: A default index page must exist on the hosting server.
The pageCreates on the Facebook wall of connected Web user a link to the page of current site.
Custom targetThe URL must be typed in the "Target URL" control.
Case 1: URL of a Facebook page:
  • Increments the counter of Facebook page that was liked.
  • Creates a favorite on the Facebook wall of connected Web user.
Case 2: URL of any page or site:
Creates on the Facebook wall of connected Web user a link to the specified page or site.
TwitterThe domainCreates on the Twitter wall of connected Web user a message containing a link to the domain of current site.
The pageCreates on the Twitter wall of connected Web user a message containing a link to the page of current site.
Custom targetThe URL must be typed in the "Target URL" control.
Creates on the Twitter wall of connected Web user a message containing a link to the specified URL.
Google+The domainCreates a post on the Google profile with a link on the domain. The post is sent to the home page of selected contacts.
The pageCreates a post on the Google profile with a link on the page. The post is sent to the home page of selected contacts.
Custom targetCreates a post on the Google profile with a custom link. The post is sent to the home page of selected contacts.
The URL of link to send must be typed in the "Target URL" control.
LinkedInThe domainCreates a post on the news of connected LinkedIn profile with a link on the domain.
Caution: A default index page must exist on the hosting server.
The pageCreates a post on the news of connected LinkedIn profile with a link on the page.
Custom targetCreates a post on the news of connected LinkedIn profile with a custom link.
The URL of link to send must be typed in the "Target URL" control.
TumblrThe domainCreates on the Tumblr wall of connected Web user a message containing a link to the domain of current site.
The pageCreates on the Tumblr wall of connected Web user a message containing a link to the page of current site.
Custom targetThe URL must be typed in the "Target URL" control.
Creates on the Tumblr wall of connected Web user a message containing a link to the specified URL.
DeliciousThe domainCreates a post on the Delicious wall of connected Web user with a link on the domain.
Caution: A default index page must exist on the hosting server.
The pageCreates a post on the Delicious wall of connected Web user with a link on the page.
Custom targetCreates a post on the Delicious wall of connected Web user with a custom link.
The URL of link to send must be typed in the "Target URL" control.
The "Target" control is used to select the display mode of the connection and input window on the social network.
New in version 18

Special case: share on a social network

The "Share on a social network" action is used to create a button, a link or a clickable image allowing you to share the current page, the current domain or a specific URL on a social network. This action can also be performed via the Social network control.
Remark: Using a button, a link or a clickable image allows you to entirely configure the style used (however, we advise you to comply with the license agreements of the different social networks). The Social network control proposes an advanced setting (display the number of shares, ...).
The table below presents the information used for each social network:
Social networkTargetEffect
FacebookThe domainCreates on the Facebook wall of connected Web user a link to the domain of current site.
Caution: A default index page must exist on the hosting server.
The pageCreates on the Facebook wall of connected Web user a link to the page of current site.
Custom targetThe URL must be typed in the "Target URL" control.
Case 1: URL of a Facebook page:
  • Increments the counter of Facebook page that was liked.
  • Creates a favorite on the Facebook wall of connected Web user.
Case 2: URL of any page or site:
Creates on the Facebook wall of connected Web user a link to the specified page or site.
TwitterThe domainCreates on the Twitter wall of connected Web user a message containing a link to the domain of current site.
The pageCreates on the Twitter wall of connected Web user a message containing a link to the page of current site.
Custom targetThe URL must be typed in the "Target URL" control.
Creates on the Twitter wall of connected Web user a message containing a link to the specified URL.
Google+The domainCreates a post on the Google profile with a link on the domain. The post is sent to the home page of selected contacts.
The pageCreates a post on the Google profile with a link on the page. The post is sent to the home page of selected contacts.
Custom targetCreates a post on the Google profile with a custom link. The post is sent to the home page of selected contacts.
The URL of link to send must be typed in the "Target URL" control.
LinkedInThe domainCreates a post on the news of connected LinkedIn profile with a link on the domain.
Caution: A default index page must exist on the hosting server.
The pageCreates a post on the news of connected LinkedIn profile with a link on the page.
Custom targetCreates a post on the news of connected LinkedIn profile with a custom link.
The URL of link to send must be typed in the "Target URL" control.
TumblrThe domainCreates on the Tumblr wall of connected Web user a message containing a link to the domain of current site.
The pageCreates on the Tumblr wall of connected Web user a message containing a link to the page of current site.
Custom targetThe URL must be typed in the "Target URL" control.
Creates on the Tumblr wall of connected Web user a message containing a link to the specified URL.
DeliciousThe domainCreates a post on the Delicious wall of connected Web user with a link on the domain.
Caution: A default index page must exist on the hosting server.
The pageCreates a post on the Delicious wall of connected Web user with a link on the page.
Custom targetCreates a post on the Delicious wall of connected Web user with a custom link.
The URL of link to send must be typed in the "Target URL" control.
The "Target" control is used to select the display mode of the connection and input window on the social network.

Special case: share on a social network

The "Share on a social network" action is used to create a button, a link or a clickable image allowing you to share the current page, the current domain or a specific URL on a social network. This action can also be performed via the Social network control.
Remark: Using a button, a link or a clickable image allows you to entirely configure the style used (however, we advise you to comply with the license agreements of the different social networks). The Social network control proposes an advanced setting (display the number of shares, ...).
The table below presents the information used for each social network:
Social networkTargetEffect
FacebookThe domainCreates on the Facebook wall of connected Web user a link to the domain of current site.
Caution: A default index page must exist on the hosting server.
The pageCreates on the Facebook wall of connected Web user a link to the page of current site.
Custom targetThe URL must be typed in the "Target URL" control.
Case 1: URL of a Facebook page:
  • Increments the counter of Facebook page that was liked.
  • Creates a favorite on the Facebook wall of connected Web user.
Case 2: URL of any page or site:
Creates on the Facebook wall of connected Web user a link to the specified page or site.
TwitterThe domainCreates on the Twitter wall of connected Web user a message containing a link to the domain of current site.
The pageCreates on the Twitter wall of connected Web user a message containing a link to the page of current site.
Custom targetThe URL must be typed in the "Target URL" control.
Creates on the Twitter wall of connected Web user a message containing a link to the specified URL.
Google+The domainCreates a post on the Google profile with a link on the domain. The post is sent to the home page of selected contacts.
The pageCreates a post on the Google profile with a link on the page. The post is sent to the home page of selected contacts.
Custom targetCreates a post on the Google profile with a custom link. The post is sent to the home page of selected contacts.
The URL of link to send must be typed in the "Target URL" control.
LinkedInThe domainCreates a post on the news of connected LinkedIn profile with a link on the domain.
Caution: A default index page must exist on the hosting server.
The pageCreates a post on the news of connected LinkedIn profile with a link on the page.
Custom targetCreates a post on the news of connected LinkedIn profile with a custom link.
The URL of link to send must be typed in the "Target URL" control.
TumblrThe domainCreates on the Tumblr wall of connected Web user a message containing a link to the domain of current site.
The pageCreates on the Tumblr wall of connected Web user a message containing a link to the page of current site.
Custom targetThe URL must be typed in the "Target URL" control.
Creates on the Tumblr wall of connected Web user a message containing a link to the specified URL.
DeliciousThe domainCreates a post on the Delicious wall of connected Web user with a link on the domain.
Caution: A default index page must exist on the hosting server.
The pageCreates a post on the Delicious wall of connected Web user with a link on the page.
Custom targetCreates a post on the Delicious wall of connected Web user with a custom link.
The URL of link to send must be typed in the "Target URL" control.
The "Target" control is used to select the display mode of the connection and input window on the social network.
The target of the action
If no target is chosen for the action, the action is performed in the default target defined for the current page.
The possible targets of an action performed by a button are:
New browser (_blank):
Displays the result in a new window of the browser.
New browser
Current frame (_self):
Displays the result in the same frame.
Current frame
Parent frame (_parent):
Displays the result in the source frame (case of nested framesets).
Parent frame
Current browser (_top):
Displays the result in the current page of the browser (without frames).
Current browser
Other frames of the frameset (if the page belongs to a frameset):
Displays the result in a specific frame.
Versions 15 and later
iFrame control of the page (if the page contains at least one iFrame control):
Displays the result in an iFrame control.
New in version 15
iFrame control of the page (if the page contains at least one iFrame control):
Displays the result in an iFrame control.
iFrame control of the page (if the page contains at least one iFrame control):
Displays the result in an iFrame control.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment