Do not post any licensing information in this forum.
Need a little help on this code:
IF ($_.Button -eq 'Left')
$CurTopNow = $panel259.Top
$CurLeftNow = $panel259.Left
$panel259.Top = [System.Windows.Forms.Cursor]::Position.X + $CurTopNow
$panel259.Left = [System.Windows.Forms.Cursor]::Position.Y + $CurLeftNow
I have a panel on a form that I'd like to move. So far I've tried above code, but can't determine as to what to add in MouseMove event so it moves smoothly.
SAPIEN Technologies, Inc.
http://www.codeproject.com/Articles/318 ... at-runtime
Who is online
Users browsing this forum: No registered users and 3 guests