Results 1 to 4 of 4

Thread: Can't access textbox while form is modeless in Autocad VBA

  1. #1
    Woo! Hoo! my 1st post
    Join Date
    2007-06
    Posts
    1
    Login to Give a bone
    0

    Default Can't access textbox while form is modeless in Autocad VBA

    Dear All,
    I am writting a programme to zoom the entities in the drawing using autocad vba.The entities are identified by the color.The color of the entity is get from the textbox
    in the form.I need to access the drawing and dialogbox alternatively.My problem is i can't enter anything in my text box while the coding is "Userform1.show vbmodeless".
    please clear my doubt.Thanks.
    Regards,
    Jeyankondan.

  2. #2
    Member
    Join Date
    2007-05
    Location
    Guelph, Ontario, Canada
    Posts
    3
    Login to Give a bone
    0

    Default Re: Can't access textbox while form is modeless in Autocad VBA

    Hi jeyankondan.k... you could use a small modal form with a textbox and OK button to fill in the textbox on the modeles form... you would also need a button on the modeless form to invoke it. Hope it helps.

    Cheers, Peter.

  3. #3
    Member
    Join Date
    2005-09
    Posts
    5
    Login to Give a bone
    0

    Default Re: Can't access textbox while form is modeless in Autocad VBA

    Try dropping the AcFocusCtrl some where on your form.

  4. #4
    Woo! Hoo! my 1st post
    Join Date
    2016-01
    Posts
    1
    Login to Give a bone
    0

    Default Re: Can't access textbox while form is modeless in Autocad VBA

    I had my control on a Tab on the form. I still had issues with the textbox until I moved the control off the tab and onto the form itself.

Similar Threads

  1. Autocad DLL plugin with Form
    By Dubweisertm in forum Dot Net API
    Replies: 6
    Last Post: 2014-12-05, 01:36 PM
  2. parse imperial length format from textbox form
    By Ning Zhou in forum Revit - API
    Replies: 0
    Last Post: 2010-06-02, 02:43 PM
  3. textfile to textbox
    By rwbaker08 in forum VBA/COM Interop
    Replies: 2
    Last Post: 2008-08-12, 02:37 PM
  4. TextBox Focus
    By spencer.67965 in forum VBA/COM Interop
    Replies: 5
    Last Post: 2006-04-07, 05:18 PM
  5. check value of the textbox
    By toanzeppelin in forum VBA/COM Interop
    Replies: 3
    Last Post: 2005-09-26, 07:10 AM

Posting Permissions

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