probably useless but here you go

dynamic_sysop

Senior Contributor
Joined
Oct 1, 2002
Messages
1,039
Location
Ashby, Leicestershire.
hi guys , this is probably useless and someone's probably come up with a similar thing no doubt, but i have devised a bit of code to allow a second form to be loaded from faded to normal ( Opacity ).
Dim strVal As String
Dim i As Integer
Dim op As New OpacityConverter()
For i = 1 To 100
strVal = i
Form1.ActiveForm.Opacity = op.ConvertFromString(strVal)
Next i
basically it loads the form ( that was the actuall main form, not a seperate form just for testing ) and fades it in from virtually unvisible to normal form view.:) looks nice when loading certain forms rather than a new form just appearing.
 
Add this piece of code before yours (in the load event of the form) to open a can of possibilities :)

Visual Basic:
Dim gp As New Drawing2D.GraphicsPath(Drawing.Drawing2D.FillMode.Alternate)
        gp.AddEllipse(10, 10, Me.Width - 10, Me.Height - 10)
        gp.AddEllipse(CInt(Me.Width / 2 - 100), CInt(Me.Height / 2 - 100), 200, 200)
        Me.Region = New Region(gp)

Cheers!
 
Back
Top