s200:
> Hello all, Thank you very much for this fantastic software.
> I modified my osc much, and I would like to know if
> the developers can help me to add new columns, to see
> more. I program in a PASCAL, PHP, and much of others.
> But my english is not very good.....
> Main.pas (1170, 1184 ... ???)
Hi. Sorry for this late answer. There are several places you will need to modify to add new colums.
I think the main places are:
* The products data records in oscpmdata.pas (opmR_Product), where the product data is stored each time the user choose a new category.
* Several procedures and functions in main.pas,
FNopm_GetProductByID (retrieve a product record from the DB)
PRopm_UpdateProduct (update the data of a product record in the DB)
opm_PopMenuItem_PAddClick (adding a new product)
PRopm_AddProduct (add a product record to the DB)
* Several visual procedures in main.pas,
PRopm_SaveConfiguration (store the column widths to the Registry)
PRopm_SetDisplay (create and set the columns)
PRopm_RenderProductDisplay (copy product records from the memory list to the visual list)
FNopm_Sort_ProductList (sort the columns)
opm_ListView_MainColumnClick (process the column header clicking for sorting)
According to the plan, by mid January the OSCPMWin application will include a custom product data feature, to allow you add your own columns to the application.
Regards,
Mario A. Valdez-Ramirez.
|
|