How to use GISTSDK with D2K?
Ans.: 1. Create a form and data block in forms 5.0 and above. 2. On it draw an ActiveX Control 3. Insert a Gedit object by right clicking on this control. Also set the OLE-CLASS to that of Gedit 4. Use the OLE importer under the program menu to insert the Gedit along with required method Pakages and or event Packages (selecting all is recommended). 5. Create another data block manually and drag-drop the control on it. (lets call it ‘EDITBLOCK’) 6. For this block set Single Record to ‘Yes’ Database Datablock to ‘No’ Maximum Records fetched to ‘1’ 7. Write the properties you want the control to have in the ‘WHEN-NEW-FORM-INSTANCE’ trigger use the functions available in program units to do so. eg: GISTOCX_DGEdit.ScriptName(GET_INTERFACE_POINTER(‘EDITBLOCK.GEDIT’),’Devanagari’) ; GISTOCX_DGEdit.FontType(GET_INTERFACE_POINTER(‘EDITBLOCK.GEDIT’),0) ; where 0 is Bilingual 1 is Monolingual GISTOCX_DGEdit.FontName(GET_INTERFACE_POINTER(‘EDITBLOCK.GEDIT’),’DVB-TTSurekh’) ; GISTOCX_DGEdit.Keyboar