3 Replies Latest reply: Jan 4, 2013 12:05 AM by HamidHelal RSS

    change type of item

    982158
      hi all ,
      i want to change the type of item (text_item to display_text) using " set_item_property " in the trigger "when-new-form-instance "!!
      it's possible ?
        • 1. Re: change type of item
          carlos cortez
          Hi,

          You can not change the item's type at runtime, what are you trying to do maybe i can tell you how to do it.

          Regards
          Carlos
          • 2. Re: change type of item
            kikolus
            HI,
            No it's not possible. Possible properties to change are available within help. Display item and text items are similiar. You can "convert" text item to display item using SET_ITEM_PROPERTY changing following properties to PROPERTY_FALSE:
            * NAVIGABLE
            * INSERT_ALLOWED
            * UPDATE_ALLOWED
            or simply setting ENABLED property to FALSE
            kikolus
            • 3. Re: change type of item
              HamidHelal
              979155 wrote:
              hi all ,
              i want to change the type of item (text_item to display_text) using " set_item_property " in the trigger "when-new-form-instance "!!
              it's possible ?
              NO, It's not possible.

              Hamid