HAL07 wrote:
> ok i dont know what you mean. can you give me an example Sub bCopy_Click()
if sGlobalResult = "" Then
MsgBox "Can't copy nothing.",,"Broggle"
Else
document.parentwindow.clipboardData.SetData "text", sGlobalResult
End If
End Sub
Sub bScreen_Click
v3.Value = document.body.clientHeight
v4.Value = document.body.clientWidth
End Sub
Sub bNew_Click
rmlFile = "untitled.rml"
tMaster.Value = ""
rmlLoaded = False
bGlobalResult = ""
document.title = rmlFile
End Sub
In these function in one of my own HTAs notice that I start from
"document." and work down.
HTH
Kind regards,
Bruce.