pisces840306 发表于 2005-8-24 15:26:00

取值得问题

怎么办,windows里面自带的计算器,editbox 里面的数值取出来啊?

ilovejolly 发表于 2005-8-24 15:48:27

Sub Main
    Dim Result As Integer
    dim txtvalue as string
    Window SetContext, "Caption=Calculator;Class=SciCalc", ""
    Result = SQAGetProperty("Type=Label;ObjectIndex=1","Text",txtValue)
    msgbox txtvalue
End Sub
页: [1]
查看完整版本: 取值得问题