XLL IsInFunctionWizard ...

Add-in Express™ Support Service
That's what is more important than anything else

XLL IsInFunctionWizard ...
 
Dragon Fly




Posts: 76
Joined: 2011-07-27
Hi,

I have the following line of code in my XLL module:

bool isFunctionWizard = ADXXLLModule.CurrentInstance.IsInFunctionWizard;

As expected, the IsInFunctionWizard property returns true if the "Insert Function" dialog is displayed and false otherwise. What should the IsInFunctionWizard property return if the "Find and Replace" dialog is displayed (by typing Ctrl-F)? My test returned true if the "Find and Replace" dialog was displayed. Is that a bug? Thank you.
Posted 02 May, 2012 07:04:26 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hi,

Please see this thread: http://www.add-in-express.com/forum/read.php?FID=5&TID=10120&MID=52701#message52701. IsInFindAndReplace from that thread is a minor modification of the IsInFunctionWizard used in Add-in Express. The problem is: the captions are the only difference between these dialogs. And since we don't know all captions of these dialogs in all languages, there's no real solution to this problem.


Andrei Smolin
Add-in Express Team Leader
Posted 02 May, 2012 09:07:26 Top
Dragon Fly




Posts: 76
Joined: 2011-07-27
OK, thanks.
Posted 02 May, 2012 11:11:14 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
You are welcome!


Andrei Smolin
Add-in Express Team Leader
Posted 03 May, 2012 01:53:38 Top