Click here to Skip to main content
15,887,683 members
Articles / Desktop Programming / WTL

Form Designer

26 Jul 2021CPOL24 min read 351.4K   82.5K   230  
Component for adding scriptable forms capabilities to an application.
VERSION 5.00
Object = "{F848E101-112B-11D6-B6A6-F0FA2EAB9C44}#1.0#0"; "DDFORMS.DLL"
Begin VB.Form Form4 
   Caption         =   "Preview"
   ClientHeight    =   2820
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4095
   LinkTopic       =   "Form4"
   ScaleHeight     =   2820
   ScaleWidth      =   4095
   StartUpPosition =   1  'CenterOwner
   Begin DDFORMSLibCtl.FormViewer FormViewer1 
      Height          =   3135
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   5415
      _cx             =   9551
      _cy             =   5530
      BorderVisible   =   0   'False
      BackColor       =   -2147483633
   End
End
Attribute VB_Name = "Form4"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'
' Form Editor Demonstration Program
'
' Author :  David Shepherd
'           Copyright (c) 2002, DaeDoe-Softwre
'

Private Sub Form_Resize()
    On Error GoTo error

    ' size the form viewer
    FormViewer1.Width = ScaleWidth
    FormViewer1.Height = ScaleHeight

    Exit Sub
error:
End Sub

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions