Accessing madHelp from other programs / wizards
Accessing madHelp from other programs / wizards
Hello,
I want to access the madCollection help through an other ide wizard (CustomHelp). The idea is to show the help topics in a custom selector form and show the selected topic in the ide welcome page.
Is it possible to publish the required class definitions in madHelp.pas, and make a function, that translates the selected help string (e.g. IMEException (madCollection)) to the corresponding url (i.e. file:// ...)? Or even better a method, that gets caption, description, link and group for the specified help string?
Thanks,
Andre
I want to access the madCollection help through an other ide wizard (CustomHelp). The idea is to show the help topics in a custom selector form and show the selected topic in the ide welcome page.
Is it possible to publish the required class definitions in madHelp.pas, and make a function, that translates the selected help string (e.g. IMEException (madCollection)) to the corresponding url (i.e. file:// ...)? Or even better a method, that gets caption, description, link and group for the specified help string?
Thanks,
Andre
Hi Andre,
trying to understand this: Are you doing this for your own personal needs or do you plan to do something for all madExcept customers? I'm a bit confused right now, because doing such changes just for your personal needs sounds a bit like overkill to me right now, but maybe I'm just not fully understanding it...
Anyway, if you want me to just move around some code in madHelp.pas, that's no problem at all. Is that what you're asking for? To be honest, I wouldn't really want to spend hours on custom building something that only benefits one of my customers, though. So if you want me to do more than just moving some code around, there must be a something in store for all (or at least many) of my customers. Hope you understand that...
trying to understand this: Are you doing this for your own personal needs or do you plan to do something for all madExcept customers? I'm a bit confused right now, because doing such changes just for your personal needs sounds a bit like overkill to me right now, but maybe I'm just not fully understanding it...
Anyway, if you want me to just move around some code in madHelp.pas, that's no problem at all. Is that what you're asking for? To be honest, I wouldn't really want to spend hours on custom building something that only benefits one of my customers, though. So if you want me to do more than just moving some code around, there must be a something in store for all (or at least many) of my customers. Hope you understand that...
Hello madshi,
I want to have a solution not only for me, but for all users of madExcept and CustomHelp. Since CustomHelp is running inside the Delphi IDE too, I could use GetModuleHandle or similar to hook up a lookup function in the design time package, but a public interface declaring such method and implemented by the TMadHelpViewer class would work too.
The current signature of the function is
Which solution sounds better to you?
Regards,
Andre
Please have a look at http://code.google.com/p/theunknownones/wiki/CustomHelp.madshi wrote: trying to understand this: Are you doing this for your own personal needs or do you plan to do something for all madExcept customers? I'm a bit confused right now, because doing such changes just for your personal needs sounds a bit like overkill to me right now, but maybe I'm just not fully understanding it...
I want to have a solution not only for me, but for all users of madExcept and CustomHelp. Since CustomHelp is running inside the Delphi IDE too, I could use GetModuleHandle or similar to hook up a lookup function in the design time package, but a public interface declaring such method and implemented by the TMadHelpViewer class would work too.
The current signature of the function is
Code: Select all
type
TMadHelp_TranslateHelpString = function(const HelpString: string; var Caption,Description,Link,Group: string): Boolean;
Sure, I do understand this. If I wanted a solution only for me, I would have used the unit directly, but as I told I want to use it in an open source ide expert, so every customer could benefit.madshi wrote: Anyway, if you want me to just move around some code in madHelp.pas, that's no problem at all. Is that what you're asking for? To be honest, I wouldn't really want to spend hours on custom building something that only benefits one of my customers, though. So if you want me to do more than just moving some code around, there must be a something in store for all (or at least many) of my customers. Hope you understand that...
Regards,
Andre
Hi,
Please be patient until next week, since I am busy on the weekend.
Regards,
Andre
OK, I will do my best;)madshi wrote:Ok, sounds good to me!
Would you be willing to simply do the changes you need to madHelp.pas and send the file back to me? I'd then simply use your modified file. That would be great cause it wouldn't cost me any time...
Please be patient until next week, since I am busy on the weekend.
Regards,
Andre