Click here to Skip to main content
15,884,298 members
Articles / Desktop Programming / WTL

Form Designer

26 Jul 2021CPOL24 min read 351.1K   82.5K   230  
Component for adding scriptable forms capabilities to an application.
VERSION 5.00
Begin VB.Form Form2 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "About"
   ClientHeight    =   1815
   ClientLeft      =   4110
   ClientTop       =   4410
   ClientWidth     =   3975
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1815
   ScaleWidth      =   3975
   ShowInTaskbar   =   0   'False
   StartUpPosition =   1  'CenterOwner
   Begin VB.CommandButton AboutFormViewer 
      Caption         =   "Form Viewer"
      Height          =   375
      Left            =   1440
      TabIndex        =   2
      Top             =   1080
      Width           =   1095
   End
   Begin VB.CommandButton AboutSimpleScriptEditor 
      Caption         =   "Script Editor"
      Height          =   375
      Left            =   2640
      TabIndex        =   1
      Top             =   1080
      Width           =   1095
   End
   Begin VB.CommandButton AboutFormEditor 
      Caption         =   "Form Editor"
      Height          =   375
      Left            =   240
      TabIndex        =   0
      Top             =   1080
      Width           =   1095
   End
   Begin VB.Frame Frame1 
      Caption         =   "Components"
      Height          =   975
      Left            =   120
      TabIndex        =   3
      Top             =   720
      Width           =   3735
   End
   Begin VB.Label Label2 
      Caption         =   "Copyright (c) 2002, DaeDoe-Software"
      Height          =   255
      Left            =   120
      TabIndex        =   5
      Top             =   360
      Width           =   3735
   End
   Begin VB.Label Label1 
      Caption         =   "DaeDoe Forms Demonstration Application, v1.00"
      Height          =   255
      Left            =   120
      TabIndex        =   4
      Top             =   120
      Width           =   3615
   End
End
Attribute VB_Name = "Form2"
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 AboutFormEditor_Click()
    On Error GoTo error
    
    ' show the form editor about box
    Form1.FormEditor1.About
    
    Exit Sub
error:
End Sub

Private Sub AboutFormViewer_Click()
    On Error GoTo error
    
    ' show the form viewer about box
    Form1.FormViewer1.About

    Exit Sub
error:
End Sub

Private Sub AboutSimpleScriptEditor_Click()
    On Error GoTo error
    
    ' show the simple script editor about box
    Form1.SimpleScriptEditor1.About

    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