KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: How to deselect objects within a 4D Write Area?
PRODUCT: 4D Write | VERSION: 11 | PLATFORM: Mac & Win
Published On: September 19, 2008

To deselect an object in a 4D Write Area simply call the following:

WR GET CURSOR POSITION (area; page; column; line; position)
WR SET CURSOR POSITION (area; page; column; line; position)

This is helpful when executing a copy and paste. When a copy is done, a selection is made. In order to paste the content after the selection, the above code needs to be executed. If not, the selection will be overwritten.