Results 1 to 3 of 3

Thread: Tabbing Support On Dynamic Forms

  1. #1
    Join Date
    Sep 2004
    Posts
    281
    Rep Power
    0

    Default Tabbing Support On Dynamic Forms

    When ever I load a form from a “dll “the form looses the ability to use the tab key to move from one component to the other. { ie: from one tedit to another}

    Is their way to enable this support after I load the form from the dll or BPL ?

  2. #2
    Join Date
    Mar 2003
    Posts
    492
    Rep Power
    0

    Default

    I would need to see the code you used to create that form from within the DLL.

    Your calling convention should look like this:

    procedure ShowSomeForm; stdcall;
    begin
    SomeForm := TSomeForm.Create(nil); // used if calling from within the DLL because there is no parent form to act as owner.
    try
    SomeForm.ShowModal;
    finally
    SomeForm.Free;
    end; // end try
    end;

    Exports
    ShowSomeForm;

    This is if you are using a modal form, just assuming.

    Also make sure that your Controls' Tab Stop is set to True. If it is not set then the control will not have a tab order and will not respond to the TAB Key at all.

    Regards,
    Blunty
    Last edited by Blunty Killer; Jul 1, 2005 at 04:42 PM.

  3. #3
    Join Date
    Sep 2004
    Posts
    281
    Rep Power
    0

    Default Tabbing Support On Dynamic Forms Reply to Thread

    Actually that kind of dynamic loading works ok.....

    I am using the tjvdi plug-in manager.......the forms loading actually works quit well.......the problem is they loose the Tabbing feature....
    if you want to try it out you cold download the libraries at the location below....

    http://homepages.borland.com/jedi/jvcl/

    It’s quit a large set but very useful...

    Try the MDI example.......to speed up the learning i can tell you about the mess i made before i got it going.....

Posting Permissions

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