Links
EControl Form Designer Pro
Functions

The following table lists functions in this documentation.

Function 
Description 
Copies properties of Source component to Dest component via memory stream. 
Reads component's resource from the file (forms, data modules, ...). As against of ReadComponentResFile, it performs:
 

  1. Automatic detection file format (text / binary).
  2. Existing element is not deleted, it is only updated from the resource.
  3. Not existing components are created and loaded from resource.
  4. If loaded component is a registered frame, it is initialized during creation.
  5. Allows ignoring and processing errors using OnError procedure.
  6. Allows controlling component creation using OnCreateCmp procedure.


Events - list of event associations, where names are event path, values - script procedures. If Events is nil no event associations are read from form. 

Reads component's resource from the stream (forms, data modules, ...). As against of ReadComponentResFile, it performs:
 

  1. Automatic detection file format (text / binary).
  2. Existing element is not deleted, it is only updated from the resource.
  3. Not existing components are created and loaded from resource.
  4. If loaded component is a registered frame, it is initialized during creation.
  5. Allows ignoring and processing errors using OnError procedure.
  6. Allows controlling component creation using OnCreateCmp procedure.


Events - list of event associations, where names are event path, values - script procedures. If Events is nil no event associations are read from form. 

Write Root component resource to file FileName. Set AsText to True to write in text resource format, otherwise component will be written in binary format.
Events - list of event associations, where names are event path, values - script procedures. If events is nil no event associations is saved to form. 
Saves component's resource (forms, data modules, ...) to stream. If AsText is True, saves resource in text format, otherwise saves in binary.
Events - list of event associations, where names are event path, values - script procedures. If events is nil no event associations is saved to form. 
 
Method 
Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!