Browse obsoleto?

HMG Samples and Enhancements

Moderator: Rathinagiri

Post Reply
jucar_es
Posts: 82
Joined: Thu Nov 13, 2008 11:12 pm

Browse obsoleto?

Post by jucar_es »

Browse obsoleto?

Una de las grandes ventajas que tiene trabajar con dbf es la facilidad que tiene para extraer informacion guardada el una base de datos para consultas o modificaciones

un simple "copy to temporal FOR CONDITION" me extrae la informacion

y con BROWSE solo la muestro aquellos campos que el usuario debe ver

" browse field codigo, nombre " ....

para realizar busquedas .. simplemente index y listo...

para ordenar facil.... etc...

si se apaga el computador.... al retornar la DBF esta ahi...

Para mi es muy potente y facil de usar

un GRID implica mucho trabajo.. para llenarlo, modificarlo, etc


mi temor es que si lo declaran obsoleto, no se le hagan las maravillas que estan haciendo
con grid

POR FAVOR NO DECLAREN OBSOLETO A BROWSE..!!!!

EN INGLES:

Browse obsolete?

One of the great advantages of working with dbf is the ease that
is to extract information stored on a database for queries and modifications

a simple "copy to temporary FOR CONDITION" I extracted the information

BROWSE and only show those fields that the user should see

"Browse field number, name" ....

To search .. simply index and ready ...

Easy to order .... etc ...

if it shuts down the computer .... to return the DBF is there ...

For me it is very powerful and easy to use

a grid involves a lot of work .. to fill it, modify it, etc.


my fear is that if you declare obsolete, does not make him the wonders they are doing with grid

PLEASE DO NOT deprecated TO BROWSE ..!!!!
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: Browse obsoleto?

Post by luisvasquezcl »

Estimado,
lo que Roberto hizo es potenciar el grid para que pueda leer dbf como si fuera un browse y dejar un solo control para la manipulacion de datos en grillas.
Por eso se dijo que el browse queda obsoleto como control ya que el grid lo reemplaza.
Vea los ejemplos y la descripcion del control grid de la última versión para que se vaya interiorizando de los cambios.
Saludos cordiales,
Luis Vasquez
User avatar
swapan
Posts: 242
Joined: Mon Mar 16, 2009 4:23 am
Location: Kolkata, India
Contact:

Re: Browse obsoleto?

Post by swapan »

Obsolete means "outdated"................ but "outdated" items & people do exists in our world!

So, lets not remove it.....lets keep it, may be no more enhancement.


Thanks,

Swapan
Thanks & Regards,
Swapan Das

http://www.swapandas.com/
User avatar
mustafa
Posts: 1158
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: Browse obsoleto?

Post by mustafa »

Hello friends
against defenders and retractors Browse
I personally that I recycle the Clipper Jurassic "Summer 87"
and I had a hard time letting go of old programming methods
cost me a little understanding of how the Browse and far away
even samples of the Grid I find it difficult to adapt and moment
Browse seguire with
One idea would be very easy if it is not possible as both Browse
Grid only if the name and put the box cordenadas serious example:
USE FILE
BROWSE (10,10,500,250) or GRID (10,10,500,250)

In ancient dBFAST the browse was like this:
USE FILE
BROWSE FIELDS name, street, city, state;
TITLE 'Customer; Name, Address'

USE FILE
BROWSE TITLE 'Customer'

This is the opinion of a novice.
Regards

*---------------------------------*
Hola amigos
frente a los defensore y retractores del Browse
Yo personalmente que me he reciclado del Jurasico del Clipper "Summer 87"
y me ha costado mucho ir dejando los antiguos metodos de programacion
me costo un poco entender el mecanismo del Browse y ahora desaparece
incluso de los samples el Grid me cuesta mucho adaptarme y de momento
seguire con el Browse
una idea seria muy facil no se si es posible que tanto Browse como
Grid solo si se pusiera el nombre y las cordenadas de cuadro seria ejemplo:
USE FICHERO
BROWSE(10,10,500,250) o GRID(10,10,500,250)

En el antiguo dBFAST el browse era asi:
USE FICHERO
BROWSE FIELDS nombre, calle, ciudad, estado ;
TITULO 'Cliente;Nombre;Dirección'

USE FICHERO
BROWSE TITLE 'Cliente'


esta es la opinion de un novato.
Recuerdos

Mustafa :mrgreen:
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Browse obsoleto?

Post by mol »

Many years ago writing programs was really easier...
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Browse obsoleto?

Post by Roberto Lopez »

jucar_es wrote: Browse obsolete?

One of the great advantages of working with dbf is the ease that
is to extract information stored on a database for queries and modifications

a simple "copy to temporary FOR CONDITION" I extracted the information

BROWSE and only show those fields that the user should see

"Browse field number, name" ....

To search .. simply index and ready ...

Easy to order .... etc ...

if it shuts down the computer .... to return the DBF is there ...

For me it is very powerful and easy to use

a grid involves a lot of work .. to fill it, modify it, etc.


my fear is that if you declare obsolete, does not make him the wonders they are doing with grid

PLEASE DO NOT deprecated TO BROWSE ..!!!!

Browse code IS AND WILL BE IN THE LIBRARY in future versions to keep the backwards compatibility.

I've changed its status to 'obsolete', since GRID is able to handle tables in a better way that Browse does from this release.

Please read this post:

viewtopic.php?f=2&t=1078

Some developers prefers to have multiple controls to do the same thing.

Please imagine a library with the following controls:

- Squared button
- Round button
- Oval button

IMHO this is not the right way.

In this case, my criteria is to have only one button control with a 'shape' property:

Or worse yet, to join two (existent) controls to make a new one.

The bottom line is that having only one control to show data in table format is easier for the HMG programmer and consistent with the overall library design.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Browse obsoleto?

Post by Roberto Lopez »

mustafa wrote: <...>
Grid only if the name and put the box cordenadas serious example:
USE FILE
BROWSE (10,10,500,250) or GRID (10,10,500,250)
<...>
It could be easily done with a wrapper with 20-30 code lines.

You only need to get the names and sizes of the fields in the current work area and pass the values to a Grid control.

But consider that column sizes, headers, editing controls, etc. will be determined automatically and you'll miss customization.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
swapan
Posts: 242
Joined: Mon Mar 16, 2009 4:23 am
Location: Kolkata, India
Contact:

Re: Browse obsoleto?

Post by swapan »

Roberto Lopez wrote:
Browse code IS AND WILL BE IN THE LIBRARY in future versions to keep the backwards compatibility.

I've changed its status to 'obsolete', since GRID is able to handle tables in a better way that Browse does from this release.
THANKS ...... THAT'S ENOUGH!

And lets concentrate on grid at our application programming level and at our HMG's development level - so that it not only becomes powerful but also easy to implement in our applications.

AND LET'S PUT PERIOD TO THIS THREAD......AS THE MAJOR CONCERN OF KEEPING "BROWSE" FEATURE IN FUTURE RELEASES HAS BEEN CLARIFIED BY MAESTRO ROBERTO LOPEZ....IT IS GOING TO STAY - MAY BE NOT MUCH FURTHER ENHANCEMENTS.......

Thanks & Regards,

Swapan
Thanks & Regards,
Swapan Das

http://www.swapandas.com/
User avatar
mustafa
Posts: 1158
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: Browse obsoleto?

Post by mustafa »

Thanks Maestro Roberto
For their insightful advice
With kind regards

Gracias Maestro Roberto
Por sus acertados consejos
un cordial saludo
Mustafa :oops:
Post Reply