Forum Discussion
kalldrexx
14 years agoContributor
I am using TC 7.52.678.7
This is easily reproducible using notepad. I created a new project, mapped the main notepad window and the font dialog. I then ran the following code:
Upon running this while the font dialog does not exist causes TC to keep looking for it for about 10-15 seconds
This is easily reproducible using notepad. I created a new project, mapped the main notepad window and the font dialog. I then ran the following code:
function Main()
{
try
{
var win = Aliases["Sys"]["notepad"]["WaitAliasChild"]("dlgFont", 5);
}
catch(exception)
{
Log["Error"]("Exception", exception["description"]);
}
}
Upon running this while the font dialog does not exist causes TC to keep looking for it for about 10-15 seconds