Namespace: Consultingwerk.Windows.Util.Forms
Class 
LightBoxForm Copy to Clipboard
Parent classes:
Inherits: Progress.Windows.Form

File:LightBoxForm
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Mon Oct 08 13:04:09 CEST 2012
Notes:This Form purposely does not inherit from the Consultingwerk
BaseForm class - as it's only technically a Form (other
Container Controls do not support semi-transparency).
None of the BaseForm features, such as storing the
Windows Position in the Registry is required here.



Top Method Summary
Options Name Purpose
InitializeComponent ()
MoveMe () Moves the LightBox Form to match the location of the overlaid Form
OverlaidForm_Move (Object, EventArgs) Event handler for the Move event of the overlaid form
OverlaidForm_ResizeEnd (Object, EventArgs) Event handler for the ResizeEnd event of the overlaid form
ResizeMe () Resizes the LightBox Form to match the size the overlaid Form

Top Constructor Summary
Options Name Purpose
LightBoxForm () Constructor of the LightBoxForm class.
LightBoxForm (Form) Constructor of the LightBoxForm class.
LightBoxForm (Form, integer) Constructor of the LightBoxForm class.

Top Property Summary
Options Name Purpose
INTEGER CustomOffset
Progress.Windows.Form OverlaidForm
LOGICAL OverlaidFormHasRibbon


Method Detail
Top

InitializeComponent ()


Top

MoveMe ()

Purpose: Moves the LightBox Form to match the location of the overlaid Form
Notes:

Top

OverlaidForm_Move (Object, EventArgs)

Purpose: Event handler for the Move event of the overlaid form
Notes:

Parameters:
poSender System.Object
The reference to the object that raised the event
poArgs System.EventArgs
The System.EventArgs with the data for this event
Top

OverlaidForm_ResizeEnd (Object, EventArgs)

Purpose: Event handler for the ResizeEnd event of the overlaid form
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event
Top

ResizeMe ()

Purpose: Resizes the LightBox Form to match the size the overlaid Form
Notes:



Constructor Detail
Top

LightBoxForm ()

Purpose: Constructor of the LightBoxForm class.
Notes: This Constructor is typically used for Testing purposes only

Top

LightBoxForm (Form)

Purpose: Constructor of the LightBoxForm class.
Notes:

Parameters:
poOverlaidForm Progress.Windows.Form
The reference to the Form which is overlaid by the Light box
Top

LightBoxForm (Form, integer)

Purpose: Constructor of the LightBoxForm class.
Notes:

Parameters:
poOverlaidForm Progress.Windows.Form
The reference to the Form which is overlaid by the Light box
piCustomOffset INTEGER
The number of pixels from the top that the LightBoxForm is using to provide access to Controls at the top of the overlaid Form


Property Detail
Top

INTEGER CustomOffset


Returns INTEGER
Top

Progress.Windows.Form OverlaidForm


Returns Progress.Windows.Form
Top

LOGICAL OverlaidFormHasRibbon


Returns LOGICAL


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:33:33