faqts : Computers : Programming : Languages : Delphi

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 9 people (56%) answered Yes
Recently 5 of 9 people (56%) answered Yes

Entry

Delphi: File: .dfm: Text: Ascii: View: How to view a .dfm file as ascii text? [caption]

Apr 4th, 2004 13:41
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 04 April 2004 - 10:38 pm ----------------------

Delphi: File: .dfm: Text: Ascii: View: How to view a .dfm file as 
ascii text? [caption]

---

Steps: Overview:

 1. -Open Delphi

 2. -Select from menu option 'File'

 3. -Select from list 'Open'

 4. -Choose 'Delphi form *.xfm, *.dfm'
     in 'Files of type'

 5. -Browse to your .dfm file

     e.g.

      unit1.dfm

 6. -click button 'Open'

 7. -You will then see it as ASCII text in the
     Delphi code editor

e.g.

--- cut here ---------------------------------------------------------

object Form1: TForm1
  Left = 0
  Top = 0
  Width = 1280
  Height = 770
  Caption = 'Your form caption'
  Color = clInfoBk
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  Menu = MainMenu1
  OldCreateOrder = False
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13

--- cut here ---------------------------------------------------------

----------------------------------------------------------------------