Build user form data with code only

Discussion in 'AutoCAD' started by macleodjb, Dec 26, 2004.

  1. macleodjb

    macleodjb Guest

    Does anyone know of a way you can build a user form without having to manually input all the form objects yourself, instead build it by typing code and modifying values.
     
    macleodjb, Dec 26, 2004
    #1
  2. On form Load or Initialize, just add the controls --

    Dim oCBX as New CheckBox
    With oCBX
    .Left = 1
    .Top = 1
    .Width = 12
    .....etc.....
    End With


    -- Mike
    ___________________________
    Mike Tuersley
    CADalyst's CAD Clinic
    Rand IMAGINiT Technologies
    ___________________________
    the trick is to realize that there is no spoon...
     
    Mike Tuersley, Jan 3, 2005
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.