Gbox    : list_box {
    	   width = 12;
    	   height = 5;
    	   fixed_width = true;
    	   alignment = centered;
    	   }
    	   
main : dialog {
	label = "Dextra Post Tension Bars V1.0" ;
	: row {
	: boxed_column {
	  label = "PTBar type" ;
        : column {
        : radio_button {
     	    key = "mrb1" ;
     	  label = "Smooth Bar" ;
   	}
        : radio_button {
     	    key = "mrb2" ;
     	  label = "Fully Thread Bar" ;
        }
        }
        }
	: boxed_column {
	label = "Application" ;
        : column {
        : radio_button {
     	    key = "mrb3" ;
     	  label = "General" ;
   	}
        : radio_button {
     	    key = "mrb4" ;
     	  label = "Shear key and holding down" ;
        }
        }
        }
        }
	: row {
       	: boxed_row {
	label = "Material";
  	: Gbox {
  	     key = "grde_sel";
  	}
  	}
  	: boxed_row {
  	  label = "Threaded Size" ;
   	: popup_list {
   	  key = "size_sel";
	}
	}
	}
	: row {
	: column {
	: boxed_column {
	    key = "plateinfo" ;
	  label = "Plate Dimensions" ;
        : edit_box {
          key = "plthk" ;
        label = "Thickness" ;
        allow_accept = true ;
        edit_width = 4 ;
        }
        : edit_box {
          key = "plwdt" ;
        label = "Width and Length" ;
        allow_accept = true ;
        edit_width = 4 ;
        }
	}
	}
        : boxed_column {
          label = "Washer";
        : toggle {
            key = "tog1";
          label = "On";
          }
        : row {
	: radio_button {
	    key = "rad1";
	  label = "Swivel";
	  value = 0;
	  }
	: radio_button {
	    key = "rad2";
	  label = "Plain";
	  value = 0;
	  }
	  }
	  }
	  }
        : image {
        alignment = centered ;
	key   = "sld" ;
	height =  10.0  ;
	width  =  10.0  ;
	is_enabled  = false;
	is_tab_stop = false;
        }
        : row {
           alignment   = centered;
           fixed_width = true;
        : button {
           label      = "OK";
           key        = "dl_accept";
           width      = 10;
           is_default = true;
           }
        : button {
           label      = "Cancel";
           key        = "dl_cancel";
           width      = 10;
           is_cancel  = true;
           }
        : button {
           label     = "About";
           key       = "dl_about";
           width     = 10;
           }        
           }
           }              
       
about    : dialog {
            label = "About";
         : boxed_row {
         : paragraph {
         : text_part {
            alignment   = centered;
            label       = "";
            key         = "dxprd";
         }
         : text_part {
            alignment   = centered;
            label       = "";
            key         = "dxpver";
         }
         : text_part {
            alignment   = centered;
            label       = "(c) Copyright Dextra 2021";
         }
         : text_part {
            alignment   = centered;
            label       = "All Rights Reserved";
         }
         spacer_1;
         : text_part {
            alignment   = centered;
            label       = "Visit our web site at";
         }
         : text_part {
            alignment   = centered;
            label       = "http://www.dextragroup.com";
         }
         spacer_1;         
         : text_part {
            alignment   = centered;
            label       = "email : cadbim@dextragroup.com";
         }
         }
         }
         ok_only;
         }
         