Edit Extended / Edit WorkArea - ABM / ABM2

Topic Specific Tutorials and Tips.

Moderator: Rathinagiri

User avatar
esgici
Posts: 4518
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 391 times
Been thanked: 111 times
Contact:

Re: Edit Extended / Edit WorkArea - ABM / ABM2

Post by esgici » Mon Jun 05, 2017 10:27 pm

rubenalf wrote:
Mon Jun 05, 2017 7:30 pm
...
I have been working on translating the source comments to english.
It is about 50% done.

Please let mi know if that help and if my english translation is understandable.
I will apreciate corrections and please point out if any translated line does not make sense
Thanks to your big effort dear Ruben;

I hope this will be valuable for our friends 8-)

Yes, your translation is understandable and no point exist does not make sense :arrow:

Happy HMG'ing :D
Viva INTERNATIONAL HMG :D

rubenalf
Posts: 26
Joined: Mon Jan 11, 2016 5:55 pm
Been thanked: 11 times

Post by rubenalf » Mon Jun 05, 2017 10:58 pm

Thanks Esgici for check it
I will do the rest when I have some time free

User avatar
quartz565
Posts: 566
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Has thanked: 175 times
Been thanked: 20 times
Contact:

Post by quartz565 » Tue Jun 06, 2017 9:29 am

esgici wrote:
Mon Jun 05, 2017 10:27 pm
rubenalf wrote:
Mon Jun 05, 2017 7:30 pm
...
I have been working on translating the source comments to english.
It is about 50% done.

Please let mi know if that help and if my english translation is understandable.
I will apreciate corrections and please point out if any translated line does not make sense
Thanks to your big effort dear Ruben;

I hope this will be valuable for our friends 8-)

Yes, your translation is understandable and no point exist does not make sense :arrow:

Happy HMG'ing :D
+ 1
Thank you Ruben!
Best Regards,
Nikos.

os: Windows Server 2012 - 64
hw: HP Server E5606, 2.13GHz, 8.00 GB - Intel Xeon CPU

rubenalf
Posts: 26
Joined: Mon Jan 11, 2016 5:55 pm
Been thanked: 11 times

Post by rubenalf » Thu Jun 08, 2017 3:16 am

Hello
Another idea to make some specific changes to the edit screen generated by Edit Extended.
It is about passing the coordinates in a parameter added at the end. You can even add additional labels.
Also you have the combobox (in future the item list will be included as arrays)

This 11th parameter accepts "1" (1 column), "V" or "H" (2 columns) or an array (read Instructions.txt)
Run the demo and see "dbfntx demo", "ADVANCED" on the menu
I hope you like it
-------
note: I am not sending de exe file to avoid wasting space, but I can send it if that is not a problem.
__________________

Hola
Otra idea para hacer algunas modificaciones puntuales a la pantalla de edición generada por Edit Extended.
Se trata de pasar las coordenadas en un parámetro agregado al final. Se puede incluso agregar etiquetas adicionales.
Sirven tambien los combo box (en el futuro se incluirán los item como matrices)

Este parámetro acepta "1" (1 columna), "V" o "H" (2 columnas) o una matriz (leer Instructions.txt)
Ejecuten el demo y vean "dbfntx demo", "ADVANCED" en el menu
Espero les guste
Attachments
Editex-demo_par(no-exe).zip
(55.14 KiB) Downloaded 118 times
EditionScreen.jpg
EditionScreen.jpg (44.14 KiB) Viewed 1919 times

rubenalf
Posts: 26
Joined: Mon Jan 11, 2016 5:55 pm
Been thanked: 11 times

Post by rubenalf » Thu Oct 03, 2019 4:18 am

Edit: Attachments were removed because there is a more updated version

Hello friends
I went back to the Edit Extended.
I review what I had done and organized it better.
I took the modifications to a separate prg (h_edit_makeArray.prg)
and called the original 'h_edit_exPlus.prg' which is very little modified.

The use is now simpler:
1- The definition files are generated with the touch of a button (MakeArrays)
2- The command (by now function) is called passing the name of the file xxxx.arr
That's all folks!

The call now includes a single parameter (the 11th) with the file name.
Only if you want to use ListBox should you add the corresponding functions.


******************** ESPAÑOL ********************
Edit: Se retiraron los adjuntos porque hay una versión más actualizada

Hola amigos
Me volvi a meter con el Edit Extended.
Revise lo que habia hecho y lo organicé mejor.
Llevé las modificaciones a un prg separado (h_edit_makeArray.prg)
Llamé al original 'h_edit_exPlus.prg' que está muy poco modificado.

El uso ahora es más simple:
1- Se generan los archivos de definición con el toque de un botón (MakeArrays)
2- Se llama al comando (por ahora función) pasando el nombre del archivo xxxx.arr
¡That's all folks!

La llamada contempla ahora un solo parámetro (el 11ª) con el nombre del archivo.
Solamente si se quieren usar ListBox deben agregar las funciones correspondientes.
Attachments
3-column-v_EditWindow.png
3-column-v_EditWindow.png (17.58 KiB) Viewed 685 times
Last edited by rubenalf on Sun Oct 13, 2019 6:53 pm, edited 1 time in total.

User avatar
dragancesu
Posts: 715
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia
Has thanked: 24 times
Been thanked: 149 times

Post by dragancesu » Thu Oct 03, 2019 12:58 pm

Nice, but how to make a .arr file

i looked at the manual, if i can suggest it to be added
- how it works
- how to make an application

rubenalf
Posts: 26
Joined: Mon Jan 11, 2016 5:55 pm
Been thanked: 11 times

Post by rubenalf » Thu Oct 03, 2019 3:39 pm

Thanks to try it
Just make click on menu
Make arrays / make all 4 arrays
(It does it silent, but it does)
I will improve the instructions.

rubenalf
Posts: 26
Joined: Mon Jan 11, 2016 5:55 pm
Been thanked: 11 times

Post by rubenalf » Fri Oct 04, 2019 3:49 am

Enhanced Instructions

Instrucciones mejoradas
Attachments
EditexPlus_pdf.zip
(472.91 KiB) Downloaded 62 times

rubenalf
Posts: 26
Joined: Mon Jan 11, 2016 5:55 pm
Been thanked: 11 times

Post by rubenalf » Sat Oct 12, 2019 9:11 pm

Hello
Now you can choose the table from which you want to generate the *.arr files.
If ABM3generar() is called from your developing program, it will show the list of tables to choose which one to work with.
Tables must be open before calling it. MsgExtended.prg (thanks to Esgici) must be included for the dialog box to work.

Note: the demo has 2 tables (Test1 and Test2) to show the selection menu, but only the first one is shown in the rest of the menus.


/**** ESPAÑOL ****/

Hola
Ahora se puede elejir la tabla de la que se quieren generar los archivos *.arr
Si llamas ABM3generar() desde tu programa en desarrollo mostrará la lista de tablas para elegir con cual trabajar.
Las tablas deben estar abiertas antes de llamarla.
Se debe incluir MsgExtended.prg (gracias a Esgici) para la caja de diálogo.

Nota: el demo tiene 2 tablas (Test1 y Test2) para mostrar el menú de selección, pero solamente la primera es mostrada en el resto de los menús.
Attachments
EditexPlus191012.zip
(1.69 MiB) Downloaded 61 times
Table_selection.png
Table_selection.png (4.47 KiB) Viewed 493 times

rubenalf
Posts: 26
Joined: Mon Jan 11, 2016 5:55 pm
Been thanked: 11 times

Post by rubenalf » Wed Oct 23, 2019 12:45 am

Hello
Thank you all for trying and commenting.
Now we have a true ComboBox, related to another table that provides the options.
There is a new parameter (the 12th). This should contain the reference to
the table and source field of the Combobox as follows: "Table-> Field"

aCombo: = {,,, "Ciudades-> City" ,,,,,,,}
ABM3 (,,,,,, aOptions ,,,, "TEST1.3h.arr", aCombo)

See demo 3 columns

I would like to have opinions on which of the methods seems more appropriate,
to avoid overloading the tool. (I mean, which one should I remove?)


***** ESPAÑOL *****
Hola
Gracias a todos por probar y comentar.

Ahora tenemos un verdadero ComboBox, relacionado a otra tabla que provee las
opciones. Hay un nuevo parámetro (el 12º). Este debe contener la referencia a
la tabla y campo de origen del Combobox de la siguiente forma: “Tabla->Campo”

aCombo := {,,,"Ciudades->City",,,,,,,}
ABM3 (,,,,,,aOptions,,,,"TEST1.3h.arr",aCombo)

Ver demo 3 columnas

Me gustaría tener opiniones sobre cual de los métodos parece más apropiado,
para evitar sobrecargar la herramienta. (o sea cual quitarían)
Attachments
Edit Extended2 (en).pdf.zip
(243.15 KiB) Downloaded 27 times
Edit Extended2 (es).pdf.zip
(245.05 KiB) Downloaded 18 times
EditexPlus_191022.zip
(1.7 MiB) Downloaded 32 times

Post Reply