2 Replies Latest reply on Feb 23, 2011 1:10 PM by sinned60018

    Question: Controlling Dialog Box Contents

    sinned60018

      Greetings all-

       

      I am trying to find out how to control the contents of a pop up dialog box. I have looked at section 10 of the scripting guide.

       

      In the snippet of code below, the name and the variables get posted as checkboxes.

       

      Approval Stamp

      No Excpetions TAken

      Note Markings

      Rejected.

       

      I understand that the char_height and char_width are for the field, not the font.

       

      All I want to do is be able to control the font size, and maybe color.  I tried looking in the scripting guide but the font controls appear to be realted to the document fonts.

       

      Can anyone offer a sample of a font control syntax for the ADM?is there a command reference that lists the options for each element?

       

      Thanks in advance

       

      Dennis

      ----------------------------


      [
      {
      type: "static_text",
      item_id: "stat",
      name: "Approval Stamp",
      char_width: 25,
      alignment: "align_fill",
      font: "dialog",
      },
      {
      type: "view",
      char_width: 12,
      char_height: 12,
      align_children: "align_top",
      elements:
      [
      {
      type: "view",
      char_width: 12,
      char_height: 12,
      elements:
      [
      {
      type: "check_box",
      item_id: "Chk1",
      name: "No Exceptions Taken",
      },
      {
      type: "check_box",
      item_id: "Chk2",
      name: "Note Markings",
      },
      {
      type: "check_box",
      item_id: "Chk3",
      name: "Rejected",
      },