Condividi tramite


Forms in Active Documents

The user interface in a Visual FoxPro Active Document is defined by its program code. In general, a Visual FoxPro form should be displayed as the initial user interface. The following form properties, events, and methods are available to allow forms to work well in Active Documents.

Properties    
AlwaysOnBottom ContinuousScroll HscrollSmallChange
Scrollbars TitleBar ViewPortHeight
ViewPortLeft ViewPortTop ViewPortWidth
VScrollSmallChange    
Events    
Scrolled    
Methods    
SetViewPort    

Forms in Active Documents

Forms in an Active Document are displayed in the client area provided by Internet Explorer. To make a form display entirely within the Internet Explorer client area, set the following form properties to these values:

BorderStyle 0 (No Border)
TitleBar 0 (Off)
WindowState 2 (Maximized)

Also, to display scrollbars when the Internet Explorer client area is smaller than the Active Document viewport (the area determined by a rectangle that encloses all the controls on the form), set the Scrollbars property to 3.

See Also

Creating an Active Document | Menus in Active Documents | Interoperability and the Internet | Running Active Documents | Active Documents | Active Document Security