BLOGS

DEVELOPMENT ENVIRONMENT

warning: file_get_contents(http://www.telize.com/geoip/54.81.178.153) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/www.4d.com/docs/includes/common.inc(1762) : eval()'d code on line 4.

Web Services Wizard

For developers new to Web Services, this wizard sets them up for you.

Get Text Keywords

When storing a text with a keyword index, the field content is parsed to fill a keyword list in order to build the index. A new command does the same on a passed variable (or field).

GET TEXT KEYWORDS(theText ; the TextArray) fills an array with all words within the text. 

 

GET TEXT KEYWORD(theText ; the TextArray ; *) fills an array with all unique words within the text.

 

Download for Windows or Mac

Save as Reference

This How-Do-I demonstrates how to save a value by reference (e.g. 1, 2, 3, 4) instead of by value (e.g. Mr., Mrs., Ms., Dr., etc.).

save as reference

 

Download for Windows or Mac

Set Up a Choice List

This How-Do-I demonstrates how to programatically modify a choice list associated with a form object.

This list can be created just as well in structure mode as it can be dynamically by programming.

 

set up a choice list

 

Use a Placeholder

This How-Do-I example shows how to display placeholder text inside a text field.

Placeholders

 

Download for Windows or Mac

Use Popups with a Single Variable

This How-Do-I shows you how to use single variables (C_TEXT or C_ALPHA, for example) and to display them as drop-down menus or combo boxes in the interface without using tables.

Popup with variables

 

Download for Windows or Mac

Get List Item Parameters

This "How Do I" demonstrates how to read list item names.

Previous to 4D v13, to retrieve a parameter value, you had to know the parameter name and use the GET LIST ITEM PARAMETER command.

 

With the new GET LIST ITEM PARAMETER ARRAYS command, you can retrieve all parameter names and parameter values. 

 

Download for Windows or Mac

Get Query Destination

How do I use "GET QUERY DESTINATION" and "Get query limit"?

We added the command GET QUERY DESTINATION to allow you to know where the result of the current query has been placed for the current process, and the command Get query limit that lets you know whether or not there is a limit for the query.

 

We've also added a new parameter for the command SET QUERY DESTINATION: A pointer to the local variable, when the destination type is a variable.

 

Download for Windows or Mac

Getters and Setters

4D v13 introduces new getters and setters.

This demo shows you how to use these new getters and setters and their associations.

 

Download for Windows or Mac

Selection to Array

4D v13 introduces new syntax for Selection to Array, Array to Selection, and Selection Range to Array.

This demo shows you how to use them.

 

Download for Windows or Mac