Microsoft
Software
Hardware
Network
Question : Icon causing trouble with spell checker
I have a function on one of my forms memo fields. The After Update event opens up a spell checker (based on the Screen.ActiveControl) function, which usually works fine. However, I also have numerous icons along the top of the form and if I press the one of the icons (whilst the notes field has focus and before the spell checker is run), I get the following error:
Err number = 2766 = The object doesn't contain the Automation object '|.'
The reason for this is that the spell check function is trying to spell check the Icon (which now has focus) – I think.
So here is the question. Is there a standard way to ensure that all events have been completed - prior to the Icons function is being initiated?
Answer : Icon causing trouble with spell checker
you can exclude the icons from the spellcheck function,
by adding line of code to test what type of control is active before running the spell check
Random Solutions
create a new record A in a table and copy some data from record B in the same table
file system structure on the disk is corrupt on \Device\HarddiskVolumeShad
owCopy31
Can I enter my work domain from a personal PC from home using VPN software that my company provides?
Wallpaper Settings in Roaming Profiles
How do you remove trailing blanks in SSRS JOIN expression
SBS 2008 BPA - User Account delete?
ASP.NET: I am having a problem with inserting a value into an mssql select statement
Best Smart UPS
does php.ini need modification to allow <form> POST method to work?
Iomega Screenplay Director and movie files