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 ?
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 ?
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.
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.....