--- In [email protected], "Ernesto Laban" <ernesto.la...@...> wrote:
> following questions I have. A yes or no answer is fine as I want to know if > it's (easy) to do. After purchase I can > > figure out how to do it. But any directions to code examples or > documentation is always appreciated. > > 1] I'm using a dll from within .Net and Excel. I don't have the source of > the dll but do have the declarations file and am able to use the functions > within my own Excel > sheets and programs. > > Is it possible to use the dll from within Amibroker You can access COM objects from within AFL. If your DLL is a .NET assembly then you should be able to expose it as a COM object and invoke it from AFL. http://www.amibroker.com/guide/a_aflcom.html How well the DLL works with AmiBroker would depend on the specific implementation. >and is translating VB.Net to AFL easy? I guess it depends on the VB.NET code. ;) > 2] Can you add Buttons to the toolbar and/or menuitems with own functions? See: http://www.amibroker.com/guide/h_customizeui.html http://www.amibroker.com/guide/w_customize.html > 3] I see a lot of indicators In AFL. Is it also possible to make (simple) > drawing tools, > > like clicking on a button and then draw a line on a chart with AFL. I know > it's a standard > > functionality but is it easy done in AFL? > > I see GfxLine To for example, but are there functions for when you press the > mouse button, > > then find the coordinates, when you release the mouse button, again find the > coordinates > > and then draw the line with GfxLineTo? I'm not sure the effort required. Tuzo
