` Derive the FileManager class (Bjarne Havnen - Aditech As) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

ABC: Derive the FileManager class
2006-10-05 -- Bjarne Havnen - Aditech As
 
> The problem is that the two buttons "Data Embed" and "Code Embed" remain > disabled; > I never managed to get these two buttons enabled. I have them enabled after generation, but they are unable to locate the correct embed. Not to worry, they are available from Global Embeds and you can see them in the right pane embed tree when you have added code. > Would there be another way to achieve this with the defaut ABC FileManager Sounds like you need it for all tables, then it is better to derive the filemanager and replace the default FileManager with YourFilemanager (Classes Tab, File Management) Also remember to derive the corresponding Try methods Snippet of derived Class. Remember to make the prototypes EXCACTLY like the ABC method you are deriving, it is case sensitive. !ABCIncludeFile OMIT('_EndOfInclude_',_ADISqlFM_) !not to be compiled if that has already been done _ADISqlFM_ EQUATE(1) !Set a flag to indicate that compile has been done include('abFile.inc'),Once AdiGenSqlFm Class(FileManager), Type,Module('ADISqlFM.Clw'),LINK('ADISqlFM.Clw',_ABCLinkMode_),DLL(_ABCDllMode_) TryInsert FUNCTION ,BYTE,PROC ,VIRTUAL TryUpdate FUNCTION ,BYTE,PROC ,VIRTUAL END ! Class Definition


Today is November 23, 2024, 2:14 pm
This article has been viewed 35407 times.
Google search has resulted in 6 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: