4D v15

Name or theme changes

Home

 
4D v15
Name or theme changes

Name or theme changes    


 

SHOW TOOL BAR and HIDE TOOL BAR have been moved from the "User Interface" theme to the "Windows" theme.

On Picture Scroll becomes On Scroll.

In 4D v15, the On Scroll form event is available for two "scrollable" objects: 

  • Picture fields and variables with the "Truncated (non centered)" display format (already available in previous 4D versions under the On Picture Scroll name, value 59),
  • List boxes (new in 4D v15 - available in the Property list for list boxes).

Compatibility notes:
There are two small differences between the On Picture Scroll form event implementation in previous versions of 4D and the new On Scroll event:

  • On Picture Scroll was generated in the object method and in the form method (but it cannot be checked or unchecked at the form property level). For better consistency, in 4D v15, the On Scroll event is generated only in the object method. If your converted application was handling picture scrolling events from the form method, you will need to move the code to the appropriate object method(s).
  • In the event stack, On Picture Scroll could be called before other user events such as On Click. On Scroll is always generated after the other user events.

OPEN URL is the new name of the OPEN WEB URL command. In addition, this command accepts a new optional appName parameter, allowing you to designate the application to be used to open the document or URL specified in the path parameter.

  //Examples for opening the same text file using different applications:
 OPEN URL("C:\\temp\\cookies.txt") //opens the file using Notepad
 OPEN URL("C:\\temp\\cookies.txt";"winword") //open the file using MS Word (if installed)
 OPEN URL("C:\\temp\\cookies.txt";"excel") //opens the file using MS Excel (if installed)

 
 

 
PROPERTIES 

Product: 4D
Theme: Name or theme changes

 
HISTORY 

 
ARTICLE USAGE

Conversion to 4D v15 ( 4D v15)