stringChooser.bil 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. // $XConsortium: stringChooser.bil /main/2 1996/11/11 11:59:07 drk $
  2. :bil-version 1 0
  3. :module stringChooser
  4. (
  5. :element stringChooser
  6. (
  7. :type :dialog
  8. :x 279
  9. :y 546
  10. :width 459
  11. :height 90
  12. :bg-color "white"
  13. :label "tt_ptype_undeclare"
  14. :resizable :true
  15. :visible :false
  16. :default-button stringOkButton
  17. :children (
  18. stringPane
  19. dialog_button_panel
  20. )
  21. )
  22. :element stringPane
  23. (
  24. :type :container
  25. :container-type :relative
  26. :x 0
  27. :y 0
  28. :width 455
  29. :height 86
  30. :visible :true
  31. :border-frame :shadow-in
  32. :north-attachment (:point 0 0)
  33. :south-attachment (:obj stringChooser 0)
  34. :east-attachment (:obj stringChooser 0)
  35. :west-attachment (:point 0 0)
  36. :children (
  37. stringText
  38. )
  39. )
  40. :element stringText
  41. (
  42. :type :text-field
  43. :text-type :alphanumeric
  44. :x 16
  45. :y 10
  46. :label-type :string
  47. :label "ptype"
  48. :label-position :north
  49. :num-columns 58
  50. :max-length 256
  51. :read-only :false
  52. :active :true
  53. :visible :true
  54. :north-attachment (:point 0 10)
  55. :west-attachment (:point 0 16)
  56. )
  57. :element dialog_button_panel
  58. (
  59. :type :container
  60. :container-type :button-panel
  61. :width 459
  62. :height 48
  63. :visible :true
  64. :border-frame :none
  65. :children (
  66. stringOkButton
  67. stringCancelButton
  68. stringHelpButton
  69. )
  70. )
  71. :element stringOkButton
  72. (
  73. :type :button
  74. :button-type :push-button
  75. :label-type :string
  76. :label-alignment :center
  77. :label "Undeclare"
  78. :active :true
  79. :visible :true
  80. :north-attachment (:point 0 5)
  81. :east-attachment (:grid-line 30 0)
  82. :west-attachment (:grid-line 10 0)
  83. )
  84. :element stringCancelButton
  85. (
  86. :type :button
  87. :button-type :push-button
  88. :label-type :string
  89. :label-alignment :center
  90. :label "Cancel"
  91. :active :true
  92. :visible :true
  93. :north-attachment (:point 0 5)
  94. :east-attachment (:grid-line 60 0)
  95. :west-attachment (:grid-line 40 0)
  96. )
  97. :element stringHelpButton
  98. (
  99. :type :button
  100. :button-type :push-button
  101. :label-type :string
  102. :label-alignment :center
  103. :label "Help"
  104. :active :true
  105. :visible :true
  106. :north-attachment (:point 0 5)
  107. :east-attachment (:grid-line 90 0)
  108. :west-attachment (:grid-line 70 0)
  109. )
  110. :connection
  111. (
  112. :from stringOkButton
  113. :when :activate
  114. :action-type :call-function
  115. :action stringOkayed
  116. )
  117. :connection
  118. (
  119. :from stringCancelButton
  120. :to stringChooser
  121. :when :activate
  122. :action-type :builtin
  123. :action :hide
  124. :arg-type :void
  125. )
  126. :connection
  127. (
  128. :from stringHelpButton
  129. :when :activate
  130. :action-type :call-function
  131. :action stringHelp
  132. )
  133. )