How to overload a method in browser

Topic Specific Tutorials and Tips.

Moderator: Rathinagiri

Post Reply
User avatar
apais
Posts: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
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/developer.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: How to overload a method in browser

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: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: How to overload a method in browser

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/developer.
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: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: How to overload a method in browser

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: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: How to overload a method in browser

Post by apais »

Thank you Roberto
Angel Pais
Web Apps consultant/architect/developer.
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: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: How to overload a method in browser

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: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: How to overload a method in browser

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/developer.
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: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: How to overload a method in browser

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