NUEVO EN QT - BROWSE VS GRID

93 views
Skip to first unread message

Jose Manuel

unread,
Mar 5, 2021, 4:37:05 AM3/5/21
to QtContribs
Hola a todos, mi nombre es José Manuel de Alicante (España)

Hasta ahora he programado con HARBOUR+HMG, pero quiero probar MARINA GUI por el tema de la portabilidad y necesito algo de ayuda para hacer el cambio.
Si me pueden ayudar con estas cuestiones.., quedare agradecido.

1/ ¿Las diferencias de Browse y Grid son las mismas que en HMG.., "BROWSE" PARA LAS DBF y GRID PARA LAS TABLAS...?  Yo vengo usando "GRID", leo los registros (un numero determinado 1000), y los paso a un Array para evitar cargar toda la DBF

2/ En un BROWSE o GRID¿Hay alguna forma de  obtener  la FILA y la COLUMNA REAL (las coordenadas de pantalla), cuando se pulsa ONENTER 

Muchas gracias por anticipado, y reciban un cordial saludo.

*-*-*-*-*-*
Según GOOGLE TRASLATOR esto he dicho en Inglés.
*-*-*-*-*-*
Hello everyone, my name is José Manuel from Alicante (Spain)

So far I have programmed with HARBOR + HMG, but I want to try MARINA GUI for portability and I need some help to make the change.
If you can help me with these questions ..., I will be grateful.

1 / Are the differences of Browse and Grid the same as in HMG .., "BROWSE" FOR DBF and GRID FOR TABLES ...? I have been using "GRID", I read the registers (a certain number 1000), and I pass them to an Array to avoid loading the entire DBF

2 / In a BROWSE or GRID, is there a way to get the ROW and the REAL COLUMN (the screen coordinates), when ONENTER is pressed

Thank you very much in advance, and kind regards.


Hmpaquito X

unread,
Mar 6, 2021, 12:27:15 PM3/6/21
to QtContribs
Este no es el foro de Marinas GUI

Creo que ese proyecto está ahora mismo parado, lo cual no quiere decir que no sirva para producción

Auge & Ohr

unread,
Apr 30, 2021, 3:58:04 AM4/30/21
to QtContribs
hi,

if you use Mouse

Properties Available For OnDblClick Procedure:

      - This.CellRowIndex

      - This.CellColIndex

      - This.CellRow

      - This.CellCol

      - This.CellWidth

      - This.CellHeight

      - Note: These properties are not available when OnDblClick procedure is fired by <Enter> key pressing

---

            <ParentWindowName>.<GridControlName>.CellRowClicked   --> nCellRowIndex

            <ParentWindowName>.<GridControlName>.CellColClicked   --> nCellColIndex

---

greetings Jimmy

Reply all
Reply to author
Forward
0 new messages