[DEL] Delete Characters

Navigation:  Tokens > Layout Tokens >

[DEL] Delete Characters

Previous pageReturn to chapter overviewNext page

The [DEL] token allows you to specify that characters to the left, or right, of the token should be deleted.

The use of the token is as follows:

 

 [DEL:direction:size]

 

Where the values for direction have the following meaning:

 

L

Delete to the LEFT (similar to the Backspace key)

R

Delete to the RIGHT (similar to the Delete key)

 

Where the values for size have the following meaning:

 

1 -> 999

Delete the corresponding number of characters

0

Delete all characters until the beginning of the textbox (with L) or to the end of the textbox (with R).

-1

Delete as many characters are needed to get rid of text overflow (does nothing if there is no text overflow). Note that text is considered to fit in the box either if there is no overflow, or if the overflow is caused by a Next Box character in a chain of linked textboxes.

 

Note that return characters (soft or hard) are counted as only one character each.

 

See also: Textbox Re-Sizing Tokens.


Topic 178660 updated on 21-Sep-2011.
Topic URL: http://www.qppstudio.net/webhelp/index.html?del_delete_characters.htm