Results 1 to 2 of 2

Thread: Instancing forms

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2001
    Location
    Newport, UK
    Posts
    1

    Question Instancing forms

    Is it possible to instantiate a form using it's name held within a string? I'm getting a string of XML from an automation server that contains the form name to display and the data for the form; just need to instantiate it!

    I don't really want to load up all forms at startup and cycle the collection each time until I find the required form, either by tag or name... unless it's the only possible way to achieve what I want to do.

  2. #2
    Frenzied Member vbgladiator's Avatar
    Join Date
    May 2001
    Posts
    1,950
    Try this,

    dim oForm as Form

    set oForm = "Form name from the xml string"

    load(oform)
    oform.visible = true

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width