HOW DO I
Use different types of styles based on portions of text: Inster/modify URLs, 4D expressions, recalculations… Manage your own contextual menu in the area… This database will provide you with code examples that can be used in your own projects.
It shows you how to programmatically duplicate and move a column.
It shows you how to orient such text via the property list or by programming.
This database will teach you how this new command lets you do it.
This list can be created just as well in structure mode as it can be dynamically by programming.
It will show you how to modify cell style (character style and color, background color) via the table or via new 4D commands.
This feature is only available for Mac users.
The function returns "true" or "false" depending on the result.
It also builds a mask that shows you the differences between the pictures you compare.
The new events supported by this new method apply to background or foreground application moves.
- COPY DOCUMENT
- CREATE FOLDER
- DOCUMENT LIST
- System folder
- Select document
This "How Do I" covers all of the above commands.
Part of this functionality was previously available in 4D Pack, using the MD5 algorithm and applied only to documents.
The new 4D command will be able to use two different algorithms (MD5 digest and SHA1 digest) and apply it to variables.
Here you have an example of how it works on a variable and how to manipulate it on a document.
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.
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.
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.
This demo shows you how to use these new getters and setters and their associations.
This "How Do I" covers the various commands that are used with the new HTTP client.
When you drop or import a picture into a 4D variable or field, 4D reminds you of the name of the original file.
This name will be used by default in the system "save file" dialog when the command "SAVE PICTURE TO FILE" will be called or when using the contextual "Save as..." menu.
The file name saved inside the picture can be modified or simply read using the new commands PICTURE SET FILENAME and Picture get filename.
This demonstration shows you how to use the progress bar component that is included as of 4D v13.
This demo shows you how to use them.
This "How Do I" demonstrates how to use statistical functions on arrays.
This demonstrates how to use this command to get a file via the browser.
As a result, Web pages will have the same appearance and behavior on both platforms, ignoring Internet Explorer on Windows.
This demo shows how web interfaces look under the Webkit rendering engine.
This allows you to move a specified window to the passed coordinates and set it as a foreground window. The command now accepts a * parameter to keep the window in the background.
This "How Do I" gives you an example of a direct print preview.
On Windows, if a print job is launched with the Print Preview checkbox selected, 4D redirects printing to the Microsoft XPS viewer.
Please note: Under Windows XP, Microsoft's .Net framework is required.
This example requires that PDFCreator be installed, freely available from PDFForge.org