How to overload a method in browser

Topic Specific Tutorials and Tips.

Moderator: Rathinagiri

Post Reply
User avatar
apais
Posts: 423
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 93 times
Been thanked: 87 times
Contact:

How to overload a method in browser

Post by apais »

I need to overload this function in a dbf browser:

Function _BrowseDelete ( ControlName , ParentForm , z )

Does anybody know how to do that ?

TIA

Angel Pais
Angel Pais
Web Apps consultant/architect/developper.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com

User avatar
luisvasquezcl
Posts: 1230
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 16 times
Been thanked: 27 times
Contact:

Post by luisvasquezcl »

Estimado Angel,
¿cual es tu idea? ... posiblemente la solución pueda ir por otro camino.
saludos,
Luis Vasquez.

User avatar
apais
Posts: 423
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 93 times
Been thanked: 87 times
Contact:

Post by apais »

hola Luis

Yo uso un sistema de reciclado de registros, para el cual la operacion dbdelete() no es suficiente.
Asi que necesito sustituir el delete del comando BROWSE por el mio propio. Llamémosle BorrarRegistro().
Se entendió?

Gracias por tu tiempo
Angel
Angel Pais
Web Apps consultant/architect/developper.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com

User avatar
Roberto Lopez
HMG Founder
Posts: 3991
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 85 times
Been thanked: 184 times

Post by Roberto Lopez »

apais wrote:hola Luis

Yo uso un sistema de reciclado de registros, para el cual la operacion dbdelete() no es suficiente.
Asi que necesito sustituir el delete del comando BROWSE por el mio propio. Llamémosle BorrarRegistro().
Se entendió?

Gracias por tu tiempo
Angel
HMG does not support method overloading directly, but there is lots of things to try.

IE: You could attempt to create a semi-oop translate directive to replace the standard one, scoping some prg's only.

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
apais
Posts: 423
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 93 times
Been thanked: 87 times
Contact:

Post by apais »

Thank you Roberto
Angel Pais
Web Apps consultant/architect/developper.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com

User avatar
Roberto Lopez
HMG Founder
Posts: 3991
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 85 times
Been thanked: 184 times

Post by Roberto Lopez »

apais wrote:Thank you Roberto
OFFTOPIC:

As far as I remember you are from Uruguay...

So, I want to congrat you because Uruguay was the first country in the world to do the complete implementation of the OLPC program (ALL school kids has now its own portable PC).

Education is the best investment that a country can do and require very generous governors, since the results will be seen only many years in the future.

A great future is waiting for Uruguay.

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
apais
Posts: 423
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 93 times
Been thanked: 87 times
Contact:

Post by apais »

It's called "Plan Ceibal".
The goverment gave a laptop computer to every shool child in the country.
They also implemented a network of content producers, most of them educational software for chidren.

Thank you for the compliments =)

Angel
Angel Pais
Web Apps consultant/architect/developper.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com

User avatar
Roberto Lopez
HMG Founder
Posts: 3991
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 85 times
Been thanked: 184 times

Post by Roberto Lopez »

apais wrote:It's called "Plan Ceibal".
The goverment gave a laptop computer to every shool child in the country.
They also implemented a network of content producers, most of them educational software for chidren.

Thank you for the compliments =)

Angel
In fact a feel envy (a lot :) )...

Negroponte was here promoting OLPC two years ago, but almost nothing was done (I guess that a 'pilot' plan only).

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

Post Reply