Skip to main content
Steven__
Inspiring
January 19, 2010
Question

Is it necessary to fill in all Command parameters

  • January 19, 2010
  • 2 replies
  • 542 views

When filling in the parameters of a command, and I only want to modify 1 of many properties changed by this command, do I have to fill the command information from the current or I can leave it blank and no change will happen only to the property that I placed into command.

This topic has been closed for replies.

2 replies

Participating Frequently
February 14, 2010

If you want to keep the value of any parameter as it is, instead, just put a "-1". See, for example, SnpManipulateTextFrame.cpp

January 22, 2010

On a command you can set the properties you want to. Just get the appropriate interface on the command, call the functions you want to and process the command. And you need to insert at least one item you want the command to operate on in the itemlist of the command