I imagine the issue of needing to destroy fonts also exists with the
PowerPro Debug window and the other script debugger.
For example, I find the Debug window hard to read, so for a long time
I've been running this script whenever the Debug window opens:
local hWin=win.handle("PowerPro Debug")
local debugctrls=win.childhandlelist(hWin)
For each word debugitem in debugctrls
if (debugitem.class=="button") do
dialog.set_font(debugitem, ?#"Arial" 10#)
elseif (debugitem.class=="edit") do
dialog.set_font(debugitem, ?x"Verdana" 11.0x)
elseif (debugitem.class=="listbox") do
dialog.set_font(debugitem, ?x"Verdana" 11.0x)
elseif (debugitem.class=="Static") do
dialog.set_font(debugitem, ?"Arial 10.0")
endif
endfor
quit
Is it likely that numerous orphan font resources remain after the
window gets closed, and that more are accumulating each time the
window gets opened and closed?
Regards,
Sheri