![]() ![]() To use my ActiveX ( MKDataGrid), you must add only one file from files: msado20.tlb, msado21.tlb, msado25.tlb or msado27.tlb to Interface from the folder C:\WINDOWS\SYSTEM32 and add ( MKDataGrid) control to the Toolbox. MKDataGrid1.ListControl 4, adoCities, "CityName" Set ComboBox control at column c with Recordset rs and Field f. Set DTPicker control at column c if b = True MKDataGrid1.GridCaption = "School data base" ![]() My ActiveX control has some methods and some properties in the following table, refer to MSDataGrid for other methods and properties: Method/Property When using my ActiveX control ( MKDataGrid), you must load the grid with data from database file, see the code in form2 and form3. Fill the field which has Date data type.Choose items from ComboBox to fill any field in the DataGrid.Now I create a new AciveX for using ( MSDataGrid) and include ( ComboBox) and ( DTPicker) control to any column in the DataGrid. To see this ActiveX and its application, click here. I wrote an article before about ActiveX using ( MSFlexGrid) to edit cells and include ( ComboBox) in any column in the FlexGrid. Download source (NewActiveX) - 30.85 KB.Download source (MKDataGrid) - 65.36 KB. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |