Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This function is used to apply a designer property in customization scripts.

Parameters:

  • obj – the object or element to which design property will be applied. This could also be an element ID (string)
  • propName – name of the designer property to apply to the object.
  • propValue – value of the designer property to apply to the object.

Example:

The code below changes a textbox to a date field by changing the design field type designer property into a date field rather than textbox:

var myTextBox = getObj("TextBox1");     //get the textbox object reference

applyDesignProperty(myTextBox, "field type", "date field");
  • No labels