GRIDSETORDER()
Posted: Sun May 17, 2009 6:47 pm
Hola a todos!!
Como no pude encontrar una función con la lógica de DBSETORDER() que pueda ser incluida en la definición de un control GRID, generé una muy básica que es de utilidad para usos comunes.
Me gustaría saber si existen funciones de este tipo ya que preferiría utilizar las del lenguaje para asegurar compatibilidad y rendimiento . De no ser así, me gustaría que evalúen la posibilidad de su inclusión en la HFCL (Hmg Forum Component Library), con las mejoras que ustedes crean convenientes.
Les hago llegar un ejemplo de su uso:
En el cógido de ejemplo SAMPLES\GRID_7 incluido en la distribución Harbour MiniGUI 2.0.020 (2006.06.27) efectué los siguientes cambios:
01) En la definición del control GRID incluí los llamados a la función GRIDSETORDER() de la siguiente manera
ONHEADCLICK { {||GRIDSETORDER(1)},{||GRIDSETORDER(2)},{||GRIDSETORDER(3)} }
02) Al final del archivo incluí la referencia a la librería que contiene la función GRIDSETORDER()
#Include "setord.prg"
Saludos!!
GOOGLE TRANSLATION
Hello everybody!
As I could not find a function with the logic of DBSETORDER () that can be included in the definition of a grid control, it generates a very basic which is useful for common uses.
I wonder if there are features of this type and would prefer to use the language to ensure compatibility and performance::. If not, I would like to evaluate the possibility of inclusion in the HFCL (HMG Forum Component Library), with the improvements you see fit.
I extend an example of its use:
In the sample taken SAMPLES \ GRID_7 included in the distribution Harbor Mini 2.0.020 (2006.06.27) make the following changes:
01) In the definition of control contained the GRID function call GRIDSETORDER () as follows
ONHEADCLICK ((| | GRIDSETORDER (1 )},{|| GRIDSETORDER (2 )},{|| GRIDSETORDER (3)))
02) At the end of the file included the reference to the library that contains the function GRIDSETORDER ()
# Include "setord.prg"
Greetings!
Como no pude encontrar una función con la lógica de DBSETORDER() que pueda ser incluida en la definición de un control GRID, generé una muy básica que es de utilidad para usos comunes.
Me gustaría saber si existen funciones de este tipo ya que preferiría utilizar las del lenguaje para asegurar compatibilidad y rendimiento . De no ser así, me gustaría que evalúen la posibilidad de su inclusión en la HFCL (Hmg Forum Component Library), con las mejoras que ustedes crean convenientes.
Les hago llegar un ejemplo de su uso:
En el cógido de ejemplo SAMPLES\GRID_7 incluido en la distribución Harbour MiniGUI 2.0.020 (2006.06.27) efectué los siguientes cambios:
01) En la definición del control GRID incluí los llamados a la función GRIDSETORDER() de la siguiente manera
ONHEADCLICK { {||GRIDSETORDER(1)},{||GRIDSETORDER(2)},{||GRIDSETORDER(3)} }
02) Al final del archivo incluí la referencia a la librería que contiene la función GRIDSETORDER()
#Include "setord.prg"
Saludos!!
GOOGLE TRANSLATION
Hello everybody!
As I could not find a function with the logic of DBSETORDER () that can be included in the definition of a grid control, it generates a very basic which is useful for common uses.
I wonder if there are features of this type and would prefer to use the language to ensure compatibility and performance::. If not, I would like to evaluate the possibility of inclusion in the HFCL (HMG Forum Component Library), with the improvements you see fit.
I extend an example of its use:
In the sample taken SAMPLES \ GRID_7 included in the distribution Harbor Mini 2.0.020 (2006.06.27) make the following changes:
01) In the definition of control contained the GRID function call GRIDSETORDER () as follows
ONHEADCLICK ((| | GRIDSETORDER (1 )},{|| GRIDSETORDER (2 )},{|| GRIDSETORDER (3)))
02) At the end of the file included the reference to the library that contains the function GRIDSETORDER ()
# Include "setord.prg"
Greetings!