James
Adolfo,
Quote:
Simple browses as the ones built with xBrowser are not used often in professional applications, you usually try to give more control over the functions you could do with the browse.
I don't understand--could you give an example.
Quote:
When you browse a clients account, you want to know which document originated it, how many payments are done, and a hundred of options you could have with a single browse.
So, as I told you, with all the complex options you could give a browse, there's no possibility to use use only COMMAND creation of a xbrowse,
Multiple browses are possible using command line syntax. I assume you are referring to complicated browses not being possible with command line syntax?
Regards,
James
1° - Im refering to the real browses used in bussiness aplications, they are not as simple as the ones created by xBrowser command... unless you give it the SETUP option with the call to fnSetup, which it can make as difficult as one created with xBrowse:New() in terms of code lines of the fnSetup
2° - Sure. Imagine you have to control clients in any store. Each client's record must show you at least this info: Personal info (1 browse, addresses ), buys (2 Browses , headers and related details), account ( 2 browses, debts and payments done ), purchase orders ( 1 browse ). For each one you wil need to format the columns, (cuantities are different from amounts ), Titles, Sizes, If there are Totals, Footers, If we are going to let the user see the actual sale ( by clicking in the xbrowse row ), or the purchase order, or the payment done. Then you will need to assign a color to the unpaid account... and so on.
There I see the difference, real and complex browses need a lot of personalization, and I don't see the benefit of using a command approach. At the end the preprocessor translates it anyways.
Moreover. Imagine a data driven xbrowse, which receives parameters from any part of the application, like :
MyBrowse( oData,aColumns,aSizes,aPictures,xRights,aSearch,bOnLClick,aM_Bitmaps)
Where the arrays could have nil values, because you can use a default value.
The only thing I'm wondering, because of my lack of knowledge or the lack of xBrowse documentation, would be better to use a Command xbrowse creation or not in this scenario.
As far as Mr. Rao saying that it will produce a reduced obj size, I don't see a benefit on it.
In fact Complex browses done with command or function must have the same code lines.
From Chile
Adolfo