mariovaldez.net

MV.net forums
It is currently 14 Jul 2016, 00:33

All times are UTC - 7 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Add a column(s)
PostPosted: 11 Oct 2005, 07:59 

Joined: 11 Oct 2005, 07:53
Posts: 1
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 ... ???)


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Custom columns...
PostPosted: 20 Nov 2005, 20:26 
User avatar

Joined: 06 Mar 2003, 03:21
Posts: 447
Location: Monterrey, NL, Mexico
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.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group