I tried to use "Clipboard" as the OutputVar of "LV_GetText", but it doesn't work. Why?
Thanks.
Code: Select all
LV_GetText(Clipboard, 1)
Code: Select all
LV_GetText(Clipboard, 1)
Code: Select all
LV_GetText( vInfo , 1)
Clipboard := vInfo
Code: Select all
var := ""
obj := []
Clipboard := ""
;These are all valid targets for assignments:
;var, obj.1 or Clipboard
;yet only var can be passed as output parameter:
setToHelloWorld(var)
Msgbox % var ;var now should be Hello World
setToHelloWorld(obj.1)
Msgbox % obj.1 ;should now be Hello World
setToHelloWorld(Clipboard)
Msgbox % Clipboard ;should now be Hello World
;The last 2 messages will not contain Hello World despite the fact that they should.
setToHelloWorld(byref outputParameter) {
outputParameter := "Hello World"
}
Users browsing this forum: No registered users and 102 guests