PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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 in the general tab of the description window of the control.
Action associated with the button
For more specific actions, all you have to do is click the "Other actions" button.
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:
  • display a project page,
  • run the click code of a button,
  • position on an anchor defined in the page.
Caution: the actions are performed after the click code of the button (browser code and server code).

Specific actions

The "Other actions" button is used to define the custom actions. You can for example:
  • display a page from another site.
  • download a file.
  • connect to an FTP server.
  • position on an anchor.
  • send an email.
  • position on one of the page anchors.
  • send the value of the page controls to ... a ASP, JSP or PHP script or to an email address. This option can be used to process the content of a form found in a static site for instance.
  • Versions 18 and later
    share on a social network.
    New in version 18
    share on a social network.
    share on a social network.
  • perform another action.
Notes:
  • All these operations can also be performed by programming.
  • Only the "None", "Preset actions", "Submit the value of controls to" and "Other actions" actions are available for the "Send the value of controls to the server" links.
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.
Note: 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 the connected Web user a link to the domain of the current site.
Caution: A default index page must exist on the hosting server.
The pageCreates on the Facebook wall of the connected Web user a link to the page of the current site.
Custom targetThe URL must be entered in the "Target URL" control.
Case 1: URL of a Facebook page:
  • Increments the counter of the Facebook page that was liked.
  • Creates a favorite on the Facebook wall of the connected Web user.
Case 2: URL of any page or site:
Creates on the Facebook wall of the connected Web user a link to the specified page or site.
TwitterThe domainCreates on the Twitter wall of the connected Web user a message containing a link to the domain of the current site.
The pageCreates on the Twitter wall of the connected Web user a message containing a link to the page of the current site.
Custom targetThe URL must be entered in the "Target URL" control.
Creates on the Twitter wall of the 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 the 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 the selected contacts.
Custom targetCreates a post on the Google profile with a custom link. The post is sent to the home page of the selected contacts.
The URL of the link to send must be entered in the "Target URL" control.
LinkedInThe domainCreates a post on the news of the 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 the connected LinkedIn profile with a link on the page.
Custom targetCreates a post on the news of the connected LinkedIn profile with a custom link.
The URL of the link to send must be entered in the "Target URL" control.
TumblrThe domainCreates on the Tumblr wall of the connected Web user a message containing a link to the domain of the current site.
The pageCreates on the Tumblr wall of the connected Web user a message containing a link to the page of the current site.
Custom targetThe URL must be entered in the "Target URL" control.
Creates on the Tumblr wall of the connected Web user a message containing a link to the specified URL.
DeliciousThe domainCreates a post on the Delicious wall of the 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 the connected Web user with a link on the page.
Custom targetCreates a post on the Delicious wall of the connected Web user with a custom link.
The URL of the link to send must be entered 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.
Note: 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 the connected Web user a link to the domain of the current site.
Caution: A default index page must exist on the hosting server.
The pageCreates on the Facebook wall of the connected Web user a link to the page of the current site.
Custom targetThe URL must be entered in the "Target URL" control.
Case 1: URL of a Facebook page:
  • Increments the counter of the Facebook page that was liked.
  • Creates a favorite on the Facebook wall of the connected Web user.
Case 2: URL of any page or site:
Creates on the Facebook wall of the connected Web user a link to the specified page or site.
TwitterThe domainCreates on the Twitter wall of the connected Web user a message containing a link to the domain of the current site.
The pageCreates on the Twitter wall of the connected Web user a message containing a link to the page of the current site.
Custom targetThe URL must be entered in the "Target URL" control.
Creates on the Twitter wall of the 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 the 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 the selected contacts.
Custom targetCreates a post on the Google profile with a custom link. The post is sent to the home page of the selected contacts.
The URL of the link to send must be entered in the "Target URL" control.
LinkedInThe domainCreates a post on the news of the 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 the connected LinkedIn profile with a link on the page.
Custom targetCreates a post on the news of the connected LinkedIn profile with a custom link.
The URL of the link to send must be entered in the "Target URL" control.
TumblrThe domainCreates on the Tumblr wall of the connected Web user a message containing a link to the domain of the current site.
The pageCreates on the Tumblr wall of the connected Web user a message containing a link to the page of the current site.
Custom targetThe URL must be entered in the "Target URL" control.
Creates on the Tumblr wall of the connected Web user a message containing a link to the specified URL.
DeliciousThe domainCreates a post on the Delicious wall of the 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 the connected Web user with a link on the page.
Custom targetCreates a post on the Delicious wall of the connected Web user with a custom link.
The URL of the link to send must be entered 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.
Note: 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 the connected Web user a link to the domain of the current site.
Caution: A default index page must exist on the hosting server.
The pageCreates on the Facebook wall of the connected Web user a link to the page of the current site.
Custom targetThe URL must be entered in the "Target URL" control.
Case 1: URL of a Facebook page:
  • Increments the counter of the Facebook page that was liked.
  • Creates a favorite on the Facebook wall of the connected Web user.
Case 2: URL of any page or site:
Creates on the Facebook wall of the connected Web user a link to the specified page or site.
TwitterThe domainCreates on the Twitter wall of the connected Web user a message containing a link to the domain of the current site.
The pageCreates on the Twitter wall of the connected Web user a message containing a link to the page of the current site.
Custom targetThe URL must be entered in the "Target URL" control.
Creates on the Twitter wall of the 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 the 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 the selected contacts.
Custom targetCreates a post on the Google profile with a custom link. The post is sent to the home page of the selected contacts.
The URL of the link to send must be entered in the "Target URL" control.
LinkedInThe domainCreates a post on the news of the 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 the connected LinkedIn profile with a link on the page.
Custom targetCreates a post on the news of the connected LinkedIn profile with a custom link.
The URL of the link to send must be entered in the "Target URL" control.
TumblrThe domainCreates on the Tumblr wall of the connected Web user a message containing a link to the domain of the current site.
The pageCreates on the Tumblr wall of the connected Web user a message containing a link to the page of the current site.
Custom targetThe URL must be entered in the "Target URL" control.
Creates on the Tumblr wall of the connected Web user a message containing a link to the specified URL.
DeliciousThe domainCreates a post on the Delicious wall of the 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 the connected Web user with a link on the page.
Custom targetCreates a post on the Delicious wall of the connected Web user with a custom link.
The URL of the link to send must be entered 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 required version
  • Version 9
Comments
Click [Add] to post a comment