Easy button
I am very picky
Wednesday, March 7, 2007 by fishpen0 | Discussion: Widget talk
Reply #42 Sunday, March 11, 2007 4:47 PM
Sub Object_OnDrag(x,y,newX,newY)
newh = newY + ObTop 'Take the newY plus the top offset to get the width
neww = newX + ObLeft 'Take the newX plus the left offset to get the height
If neww > Min_width And neww <= Max_width And newh > Min_height And newh
DesktopX.Object(MasterObj).width = neww
DesktopX.Object(MasterObj).height = newh
Else
DesktopX.Object(MasterObj).width = Min_width
DesktopX.Object(MasterObj).height = Min_height
End If
Call MoveMe 'move the resizer so its always in the right spot
End Sub
Reply #43 Sunday, March 11, 2007 5:44 PM
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #41 Sunday, March 11, 2007 4:27 PM
You got it under control.