home *** CD-ROM | disk | FTP | other *** search
/ Online Praxis 1998 February / Image.iso / cd-rom / tools / chat / virc96.exe / DCONV.ZIP / DCONV.TXT < prev   
Encoding:
Text File  |  1997-02-09  |  2.3 KB  |  60 lines

  1. DCONV 1.20 - The Delphi 2.0 DFM to ObjectViRCScript VSC converter
  2. =================================================================
  3.  
  4. Introduction
  5. ------------
  6.  
  7. We all know how great ObjectViRCScript is for designing graphical interfaces
  8. for your ViRCScript applications. But there's one problem - it's often very
  9. time-consuming to construct complex forms and their contents, and there's
  10. currently no way of designing OVS forms visually.
  11.  
  12. Solution: design the forms in Delphi 2.0, which is the best tool for designing
  13. forms visually, and then use DCONV to convert the forms you have designed to
  14. ObjectViRCScript VSC files, ready for use with ViRC '96 0.91 or higher.
  15.  
  16. History
  17. -------
  18.  
  19. 1.20    (2-Jan-1997) Added support for menus (TMainMenu, TPopupMenu and
  20.         TMenuItem). Also fixed problems with forward properties (properties
  21.         that refer to objects that have not yet been defined - e.g. a page
  22.         control's ActivePage property is defined before the actual page is
  23.         created), which are now translated to ObjectViRCScript code properly.
  24.  
  25. 1.10    (18-Dec-1996) Added support for TPageControl controls and the TTabSheet
  26.         controls that they own (tabbed dialogs). Fixed recursion bug causing
  27.         EListError errors on some forms using unsupported controls.
  28.  
  29. 1.00    (15-Dec-1996) Initial release.
  30.  
  31. Usage:
  32. ------
  33.  
  34. DCONV infile.dfm outfile.vsc
  35.  
  36. Converts the Delphi 2.0 form infile.dfm to the ObjectViRCScript code
  37. outfile.vsc. Most of the stuff in the original Delphi 2.0 form is converted,
  38. with the exception of graphics (bitmaps/icons/glyphs) and menus. Of course, you
  39. can only use controls in your form that are also supported in ObjectViRCScript
  40. (see OBJECTVS.TXT for a complete list of supported Delphi classes in OVS), but
  41. other than that, you should find it works without problems. Even if the VSC
  42. files produced need a little manual touching-up, this tool can certainly save
  43. hours of work!!
  44.  
  45. Note that, when you create a new form in Delphi, the form's Visible property is
  46. initially set to False, so forms are initially created invisible. So, remember
  47. to add something like ...
  48.  
  49.         @p $Form1.Visible = True
  50.  
  51. ... somewhere in the VSC file DCONV produces to actually make the form
  52. visible!!
  53.  
  54. Is that all there is to it?
  55. ---------------------------
  56.  
  57. Yes. Enjoy. :)
  58.  
  59. - MeGALiTH (2-Jan-1997)
  60.