pb中关于windowobject,该如何处理

pb中关于windowobject
这里面分dragobject 和 drawobject ,能不能赋给同一变量,这样的变量声明有无,如果用windowobject,则不能用,例ldr_a.X与ldr_a.Y

------解决方案--------------------
C# code
drawobject 是 WindowObject 的子类, drawobject的子类包括Line,RoundRectangle,Rectangle,Oval; 
DragObject也是WindowObject的子类,DragObject的子类包括VTrackbar,VProgressBar,HTrackbar,HProgressBar,
SingleLineEdit,TreeView,GroupBox,ListView,omControl,StaticText,CommandButton,UserObject,VScrollBar,
RichTextEdit,HScrollBar,RadioButton,Tab,Graph,ListBox,MultiLineEdit,Picture,CheckBox,DropDownListBox,DataWindow; 
WindowObject的子类除去drawobject,DragObject还包括MDIClient; 

看你的意思是想给所有的control设置x,y属性,drawobject下的线段、椭圆、矩形和园角矩形要进一步通过子类Line,Oval,Rectangle,RoundRectangle来确定