DOMAJ DXLIB TIPS
How do I show delphi forms?
This example comes direct from the DelphiXTRA forum
First you need to create the form and then display it.
An example would be:
procedure TMyTool.Execute;
var
form:TForm1;
begin
form:=Tform1.CreateParented(ParentWindow);
form.ShowModal;
form.Free;
end;
For the above example to work, you need to change the form
borderStyle property to bsDialog.
If you need a sizeable form, you can replace the above line with:
form:=Tform1.CreateParented(0);
The reason for using the bsDialog style is that such a form will not appear on the Taskbar.
DXLIB TIPS INDEX
- When I use sendMessage, the message does not appear
in the Director message window. Why?
- How do I return a value to Director?.
- What is the results interface?
- Field properties.
- How do I trigger the mouseUp handler?
- How do I add my own function to an asset?
- How do I add my own function to a sprite?
- How do I manipulate the score?
- How do I show delphi forms?
- How do I define and use my own variables?
- How do I create and and read global variables and
their values?
- How do I create a behavior?
- How do I trigger a script in Director?
- How do I get the properties of a cast member?(31Mar03)
- How do I manipulate casts?
- How do I debug an XTRA?
- How do I draw a castmember icon?
- How do I add my own resource file bitmap as the
castmember icon?
- How do I add a Director property interface
- Using the bitmap media property of a castmember
(30Apr02)
- How do I return a list to Director (09May02)
- How to create, execute and delete a Director script
(08Oct02)
- How to create a Director Bitmap (09Oct02)
- How to export a Director Bitmap (15Oct02)
DOMAJ Links
