The DAViewerControl displays a DirectAnimation model in an HTML page. Here is an example of how it is specified:
<DIV ID=controlDiv> <OBJECT ID="DAViewer" STYLE="position:absolute; left:10; top:10;width:450;height:450" CLASSID="CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D"> </OBJECT> </DIV>
Adds DABehaviors that are not a part of the model. When the system starts the model, it retrieves these additional behaviors and runs them with the same start time as the behaviors included in the model.
viewObj.AddBvrToRun(
bvr
)
Consult a Visual Basic Reference.
controlObj.Drag(
Action
)
Consult a Visual Basic reference.
controlObj.Move(
left,
[top],
[width],
[height]
)
Consult a Visual Basic Reference.
controlObj.SetFocus( )
Consult a Visual Basic reference.
controlObj.ShowWhatsThis( )
Starts the model.
controlObj.Start( )
Consult a Visual Basic reference.
controlObj.ZOrder(
[Position]
)
Sets the background image for situations where the browser does not support windowless controls.
controlObj.BackgroundImage
Returns a DAImage object.
Consult a Visual Basic reference.
controlObj.Container
Consult a Visual Basic reference.
controlObj.DragIcon
Consult a Visual Basic reference.
controlObj.DragMode
Consult a Visual Basic reference.
controlObj.Height
Consult a Visual Basic reference.
controlObj.HelpContextID
Establishes the DAImage displayed by the model.
controlObj.Image
Consult a Visual Basic reference.
controlObj.Index
TBD
controlObj.InputImage
Consult a Visual Basic reference.
controlObj.Left
Sets the unit of measurement to meters and the positive y-axis to up.
controlObj.MeterLibrary
Returns the DAStatics object.
Consult a Visual Basic reference.
controlObj.Name
Consult a Visual Basic reference.
controlObj.Object
Consult a Visual Basic reference.
controlObj.Parent
Sets the unit of measurement to pixel and the positive y-axis to down. Pixel measurements are only available for constructing behaviors. When inquiring for a value, the returned measurement is always in meters.
controlObj.PixelLibrary
Returns the DAStatics object.
Establishes the sound behavior when the model is displayed.
controlObj.Sound
Returns the DASound object.
Consult a Visual Basic reference.
controlObj.TabStop
Consult a Visual Basic reference.
controlObj.Tag
Consult a Visual Basic reference.
controlObj.ToolTipText
Returns/sets the distance between the internal top edge of an object and the top edge of its container.
controlObj.Top
Sets the interval for updating the model, in seconds (a double). Examples of where this property is useful include navigational controls and menu elements, which can use a low update rate.
controlObj.UpdateInterval
Consult a Visual Basic reference.
controlObj.Visible
Consult a Visual Basic reference.
controlObj.WhatsThisHelpID
Consult a Visual Basic reference.
controlObj.Width
Consult a Visual Basic reference.
controlObj.DragDrop(
source,
x,
y
)
Consult a Visual Basic reference.
controlObj.DragOver(
source,
x,
y,
state
)
Consult a Visual Basic reference.
controlObj.GotFocus( )
Consult a Visual Basic reference.
controlObj.LostFocus( )
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.