29-08-2009, 12:23 PM
For the UI("WidgetName"), I assume UI is a function, you can make it return a type, and then put draggable in that type. Something Like
and
Also, lots of alpha blending makes everything look better.
Code:
Function UI (Byval WidgetName as String) as Widget
Code
End Function
and
Code:
Type Widget
Draggable as Boolean
X as Integer
Y as Integer
Height as Integer
Width as Integer
End Type
Also, lots of alpha blending makes everything look better.