求VFP中通过4个命令按钮来控制标签(label1)实现向上移动,向下移动,向左移动,向右移动的代码。

2025-04-07 09:07:28
推荐回答(1个)
回答1:

thisform.label1.top = thisform.label1.top + 1 下
thisform.label1.top = thisform.label1.top - 1 上
thisform.label1.left = thisform.label1.left + 1 右
thisform.label1.left = thisform.label1.left - 1 左