home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2000 June / CyberMycha0006.iso / NFSPorsche / data1.cab / Program_Files / FEDATA / Controls / ListBox.ctr < prev    next >
Text File  |  2000-03-27  |  3KB  |  110 lines

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;
  3. ; List Box (inherits from combo box with slider in code)
  4. ;
  5. ; List Boxes are basically combo boxes that are always open.
  6. ;
  7. ;    hackrect is a hack that is there to make sure that the size always includes the full 
  8. ;    width (we sometimes reduce this if a slider is there)... it's pretty complicated to explain right
  9. ;     now, so just believe me and leave it in there.
  10. ;
  11. ; Created by Gary Steinke, May 21/99
  12. ;
  13. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  14.  
  15. [control]
  16. id=NFS5.ListBox
  17. description=List Box
  18.  
  19. name.value=ID_LISTBOX
  20.  
  21. parts=data,selectionbox,hackrect
  22.  
  23.  
  24. states=normal,hover,hidden
  25. states.flags=0
  26.  
  27. size.value=data.width,data.selectionboxmaxheight
  28. size.flags=HIDDEN|READONLY
  29. moveable.value=1
  30. moveable.flags=HIDDEN|READONLY
  31. resizeable.value=1
  32. resizeable.flags=HIDDEN|READONLY
  33. pos=0,0
  34. pos.label=control.pos
  35.  
  36. autosize.value=1
  37. autosize.flags=HIDDEN|READONLY
  38.  
  39.  
  40. [state.normal]
  41. parts=data,selectionbox,hackrect
  42.  
  43. [state.hover]
  44. parts=data,selectionbox,hackrect
  45.  
  46. [state.hidden]
  47. parts=data
  48.  
  49.  
  50.  
  51. [part.data]
  52. id=DATA
  53. attributes.value=accessor,width,selectionboxmaxheight,transon,transoff,fontpath,selectmode,textcolor,highlightcolorhover,highlightcolorselected,disablesound
  54.  
  55. transon.type=STRING
  56. transon.value=FADE
  57. transon.label=Transition On
  58. transon.flags=0
  59. transoff.type=STRING
  60. transoff.value=SAME
  61. transoff.label=Transition Off
  62.  
  63. fontpath.type=STRING
  64. fontpath.value=Univers8b.ffn
  65. fontpath.flags=HIDDEN|READONLY
  66.  
  67. accessor.type=STRING
  68. accessor.value=Put_Accessor_Value_Here
  69. width.type=INT
  70. width.value=100
  71. selectionboxmaxheight.type=INT
  72. selectionboxmaxheight.value=130
  73.  
  74.  
  75. selectmode.type=INT
  76. selectmode.value=0
  77.  
  78. disablesound.type=INT
  79. disablesound.value=0
  80.  
  81. textcolor.type=COLOR
  82. textcolor.value=0x00000000
  83. textcolor.flags=HIDDEN|READONLY
  84. highlightcolorhover.type=COLOR
  85. highlightcolorhover.value=0x00FFBB00
  86. highlightcolorhover.flags=HIDDEN|READONLY
  87. highlightcolorselected.type=COLOR
  88. highlightcolorselected.value=0x00BC0000
  89. highlightcolorselected.flags=HIDDEN|READONLY
  90.  
  91.  
  92.  
  93. [part.selectionbox]
  94. id=RECT
  95. pos.value=0,1
  96. pos.flags=HIDDEN|READONLY
  97. size.value=data.width,data.selectionboxmaxheight
  98. size.flags=HIDDEN|READONLY
  99. color.value=0x4000ff00
  100. color.flags=HIDDEN|READONLY
  101.  
  102. [part.hackrect]
  103. id=RECT
  104. pos.value=0,0
  105. pos.flags=HIDDEN|READONLY
  106. color.value=0x00000000
  107. color.flags=HIDDEN|READONLY
  108. size.value=data.width,1
  109. size.flags=HIDDEN|READONLY
  110.