指点一下:
if xpos > integer(dw_toolbar.describe(dwobjectname+".text.x")) and xpos < integer(dw_toolbar.describe(dwobjectname+".text.x")) + integer(dw_toolbar.describe(dwobjectname+".text.width")) &
and ypos > integer(dw_toolbar.describe(dwobjectname+".text.y")) and ypos < integer(dw_toolbar.describe(dwobjectname+".text.y")) + integer(dw_toolbar.describe(dwobjectname+".text.heigth")) then
wf_toolbar(dwobjectname)
end if