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

  1. ; This is a simple lable control that displays a single line of text.
  2. ;
  3. ; The text for the string is stored in a localized text part.
  4. ; If you just want to do some prototyping type in the text you want to 
  5. ; display and set the Localization menu to display StringID's.
  6. ;
  7. ; Alignment is handled using an Enumeration attiribute in a data part.
  8. ;
  9.  
  10. [control]
  11. id=REAL.LABEL
  12. description=Label
  13. parts=label,data
  14. states=normal,hidden
  15.  
  16. name.value=ID_LABEL
  17. size.value=label.size.width*2,label.size.height
  18. size.flags=HIDDEN|READONLY
  19. moveable.value=1
  20. moveable.flags=HIDDEN|READONLY
  21. resizeable.value=0
  22. resizeable.flags=HIDDEN|READONLY
  23. autosize.value=1
  24. autosize.flags=HIDDEN|READONLY
  25.  
  26. [state.normal]
  27. parts=label,data
  28.  
  29. [state.hidden]
  30. parts=data
  31.  
  32. [part.label]
  33. id=LOCALIZEDTEXT
  34. pos.value=(0-label.size.width)/2*data.align,0
  35. pos.flags=HIDDEN|READONLY
  36. size.flags=HIDDEN|READONLY
  37. fontPathName.value=univers8b.ffn
  38. text.value=Text Here
  39. stringID.value=IDS_YOUR_STRING
  40. foreColor.value=0xffffffff
  41. backColor.value=0x00000000
  42.  
  43. [part.data]
  44. id=DATA
  45. attributes.value=align,transon,transoff,nosize
  46. transon.type=STRING
  47. transon.value=FADE
  48. transon.label=Transition On
  49. transon.flags=0
  50. transoff.type=STRING
  51. transoff.value=SAME
  52. transoff.label=Transition Off
  53.  
  54.  
  55. align.type=INT
  56. align.value=0
  57. nosize.type=INT
  58. nosize.value=1
  59. nosize.flags=HIDDEN|READONLY