PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview
  • The available actions
  • Preset actions
  • Specific actions
  • Specific actions
  • Special case: sharing on social networks
  • 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 link
Overview
You can associate an action with the link regardless of the type of link. WEBDEV offers the most common actions in the general tab of the control description window.
Action associated with the Link control
For more specific actions, click "More options".
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 Link control (browser code or server and browser code),
  • display a page of the site,
  • display a page from another site,
  • perform a custom action (send an email, call a phone number, connect to an FTP server, download a file, etc.). In this case, different parameters can be specified.
Caution: The actions are performed after the link click code (browser and server code)

Specific actions

Specific actions

The "More options" link shows 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: sharing on social networks

The "Share on a social network" action is used to create a link 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 NetworkShared elementEffect
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 the link to be sent must be entered 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 the link to be sent must be entered 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 the link to be sent must be entered in the "Target URL" control.

The "Destination" field is used to select the display mode of the connection and input window on the social network.
New in version 18

Special case: sharing on social networks

The "Share on a social network" action is used to create a link 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 NetworkShared elementEffect
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 the link to be sent must be entered 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 the link to be sent must be entered 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 the link to be sent must be entered in the "Target URL" control.

The "Destination" field is used to select the display mode of the connection and input window on the social network.

Special case: sharing on social networks

The "Share on a social network" action is used to create a link 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 NetworkShared elementEffect
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 the link to be sent must be entered 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 the link to be sent must be entered 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 the link to be sent must be entered in the "Target URL" control.

The "Destination" field 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 available targets for an action performed on a link 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 parent 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.
See also
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment