Edit Extended / Edit WorkArea - ABM / ABM2

Topic Specific Tutorials and Tips.

Moderator: Rathinagiri

User avatar
esgici
Posts: 4250
Joined: Wed Jul 30, 2008 9:17 pm
Location: iskenderun / Turkiye
Has thanked: 131 times
Been thanked: 42 times
Contact:

Re: Edit Extended

Post by esgici » Mon Aug 12, 2013 12:52 pm

tonton2 wrote:Hello,
Please how to add a "InputMask" to "EDIT.EXTENDED" for a character field.
Ex: Field => "CHARACTER" InputMask "9999999"
or aColx: = {"TEXTBOX", "CHARACTER", "9999999"}
Thank you in advance
Hello Tabet

Sorry for delay (I was await a response by an expert ) :(

If I'm not wrong, edit extended doesn't support input mask :(

This is a quite old and complex .prg; moreover is in foreign (at least for me) language;

so intervening to source for this purpose, seems is quite difficult ( again, at least for me) :(

In other hand, though very useful and educative; this .prg isn't a "must have" tool ;)

Instead of use it, a xBase programmer can build her / his own editing routines, I think.

Happy HMG'ing
Viva INTERNATIONAL HMG :D

User avatar
tonton2
Posts: 228
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Has thanked: 3 times
Been thanked: 2 times
Contact:

Re: Edit Extended

Post by tonton2 » Mon Aug 12, 2013 5:15 pm

Merci beaucoup mon ami ,
Thank you very much Mr Esgici,I am going to use something else
good day
L'Algerie vous salut
Y.TABET

User avatar
andyglezl
Posts: 794
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Has thanked: 7 times
Been thanked: 11 times
Contact:

Edit Extended in Spanish ?

Post by andyglezl » Sat Aug 17, 2013 5:07 pm

Hola a todos

Estoy probando el Edit Extended pero los textos me salen en ingles
a pesar de de que pongo:
REQUEST HB_LANG_ES
HB_LANGSELECT( "ES" )
ó
REQUEST HB_LANG_ESWIN
HB_LANGSELECT( "ESWIN" )

Hay algo que estoy omitiendo ? Gracias.
---------------------------------------------------
Hello everyone

I'm testing the Extended Edition but I get texts in English
despite that put:
REQUEST HB_LANG_ES
HB_LANGSELECT ("ES")
or
REQUEST HB_LANG_ESWIN
HB_LANGSELECT ("Eswin")

Is there something I'm missing? Thank you.
Attachments
Sin título-3.png
Sin título-3.png (48 KiB) Viewed 650 times
Andrés González López
Desde Guadalajara, Jalisco. México.

User avatar
Pablo César
Posts: 3793
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 78 times
Been thanked: 126 times

Edit Extended in Spanish ?

Post by Pablo César » Sat Aug 17, 2013 5:20 pm

Hi Andrés !

Try this:

Code: Select all

include "hmg.ch"

Function Main()
SET LANGUAGE TO SPANISH
// SET CODEPAGE TO SPANISH
// HB_LANGSELECT( "ES" ) 
InitMessages( "ES" )
Please read this topic. ;)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
andyglezl
Posts: 794
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Has thanked: 7 times
Been thanked: 11 times
Contact:

Re: Edit Extended in Spanish ?

Post by andyglezl » Sat Aug 17, 2013 11:45 pm

Hola, gracias Pablo César pero no pude hacerlo funcionar con lo que mencionas.

Intente de diferentes formas y no pude !
(Olvide mencionar que tengo HMG 3.0.46)

Por lo que tome el fuente del Edit Extended, lo revise y modifique en algunas
partes y obtuve lo que queria.
----------------------------------------------------------------------------
Hi, thanks Pablo Cesar but I could not make it work with what you mention.

Try different ways and I could not!
(I forgot to mention that I have HMG 3.0.46)

So you take the Extended Edition source, review and modify in some
parts and got what I wanted.
Attachments
Sin título-4.png
Sin título-4.png (89.92 KiB) Viewed 627 times
Andrés González López
Desde Guadalajara, Jalisco. México.

User avatar
Pablo César
Posts: 3793
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 78 times
Been thanked: 126 times

Edit Extended / EDIT WORKAREA - ABM / ABM2

Post by Pablo César » Sat Jan 03, 2015 3:18 pm

oldclipperguy wrote:found the h_edit.prg but it's all in spanish.

does anyone have an english version ??
Hi, sorry for delay response.

But you will see in this for your solution: http://hmgforum.com/viewtopic.php?p=27009#p27009


This is a important tool for edit options in HMG. I decided to merge (join all topics concerned to EDIT EXTEND) just to keep all together and try to work on. I wish to make some improvements, of course keeping retrocompatilibity and I will take all demands around of this and will see what I can do for it.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
Pablo César
Posts: 3793
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 78 times
Been thanked: 126 times

Edit Extended / Edit WorkArea - ABM / ABM2

Post by Pablo César » Sat Jan 03, 2015 4:48 pm

Hi all,

I have read in all this amended topic, that many says "experts" when there is a demand for improvements in HMG library.

IMHO, it's everyone's responsibility for improvements, to make it better.

Everyone should feel encouraged to get to work and make changes in our source code and present it here in the forum. Of course if and when, keep backward compatibility. It's the only way to grow up all together ! :)

From now, I could catch what it were required and all it be checked, repaired and if posible to be implemented following demands:

- Correct language setting
- Form backColor change
- FontColor and Bold would be allowed
- aOptions questons
- Selectable fields to be displayed (not all)
- Shared usage for dtabases at network
- Height and Width settable form sizes

When we join forces and goodness for improving something, there is quite nothing impossible. ;)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

Javier Tovar
Posts: 1254
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: Edit Extended / Edit WorkArea - ABM / ABM2

Post by Javier Tovar » Sat Jan 03, 2015 5:46 pm

Gracias Pabo César por la información, Yo si uso Edit Extentd! Util, práctico, sencillo!

Saludos

rubenalf
Posts: 15
Joined: Mon Jan 11, 2016 5:55 pm
Been thanked: 1 time

Re: Edit Extended / Edit WorkArea - ABM / ABM2

Post by rubenalf » Tue Jan 12, 2016 5:40 pm

hola

Estoy usando Edit Extended y es una gran herramienta. Puede ahorrar mucho tiempo de programación.

Adjunto una sugerencia de mejoras que considero útiles para mejorar su funcionalidad:

1- Organizar los controles de la ventana de edición (modif/new) en 2 columnas (se ve más profesional)
2- Permitir un parámetro para introducir una matriz que contenga llamadas para la clausula "valid" de cada control (no parece dfícil y creo que es fundamental)
3- Agregar una función que permita hacer ajustes a los controles después de haber sido generados automáticamente.
Esto es más ambicioso, pero sería un buen punto intermedio entre algo automático (pero que no nos satisfaga del todo) y algo hecho totalmente a mano con una considerable inversión de tiempo

Con relación al primer punto lo he logrado modificando algo el programa (no soy un experto y tal vez el código pueda mejorarse) sirve para mostrar su factibilidad y permite comparar los resultados. Con respecto a la compatibilidad hacia atrás, no sería difícil agregar un parámetro para elegir 1 ó 2 columnas

Con respecto al punto 3 estoy trabajando en ello y va bien, pero esperemos a tener algo funcionando

adjunto el archivo modificado para 2 columnas (los cambios estan marcados) y un par de imágenes de lo que se obtiene
_______

Hey there

I'm using "Edit Extended" and it is a great tool. It can save a lot of programming time.

A suggestion list that I consider useful improvements to enhance its functionality:

1- Organize controls at the editing window (modify/new) in 2 columns (looks more professional)
2- Add parameter to enter an array containing calls to functions for each control "valid" clause (does not seem tough and I think that is important)
3- Add a function to make adjustments after the controls being automatically generated .
This is more ambitious, but it would be a good compromise between an automatic generated window (who does not fully satisfy us ) and a window made entirely by hand with a considerable investment of time.

Regarding the first item I have achieved some results modifying the program (I am not an expert and maybe the code can be improved) serves to show its feasibility and allows to compare the results. With regard to backward compatibility, it would not be difficult to add a parameter to choose 1 or 2 columns

With respect to item 3 I'm working on it and doing well, but we wait to have something working.

Attached the 2 columns modified code (changes are marked) and a couple of pictures of what you get.
Attachments
editex-2col.prg.zip
editex.prg modificado para 2 columnas
(17.11 KiB) Downloaded 33 times
anomEditex2c.png
Modificado para 2 columnas / 2 columns modification
anomEditex2c.png (17.03 KiB) Viewed 210 times
anomEditex1c.png
Ventana actual (1 columna) / normal window (1 column)
anomEditex1c.png (14.6 KiB) Viewed 210 times

User avatar
esgici
Posts: 4250
Joined: Wed Jul 30, 2008 9:17 pm
Location: iskenderun / Turkiye
Has thanked: 131 times
Been thanked: 42 times
Contact:

Re: Edit Extended / Edit WorkArea - ABM / ABM2

Post by esgici » Tue Jan 12, 2016 7:14 pm

rubenalf wrote:...
I'm using "Edit Extended" and it is a great tool. It can save a lot of programming time.

A suggestion list that I consider useful improvements to enhance its functionality:

1- Organize controls at the editing window (modify/new) in 2 columns (looks more professional)
2- Add parameter to enter an array containing calls to functions for each control "valid" clause (does not seem tough and I think that is important)
3- Add a function to make adjustments after the controls being automatically generated .
This is more ambitious, but it would be a good compromise between an automatic generated window (who does not fully satisfy us ) and a window made entirely by hand with a considerable investment of time.

Regarding the first item I have achieved some results modifying the program (I am not an expert and maybe the code can be improved) serves to show its feasibility and allows to compare the results. With regard to backward compatibility, it would not be difficult to add a parameter to choose 1 or 2 columns

With respect to item 3 I'm working on it and doing well, but we wait to have something working.

Attached the 2 columns modified code (changes are marked) and a couple of pictures of what you get.
Hello Rubenalf

Welcome aboard :)

Your improvements are useful;

hopefully many friends will like :arrow:

Happy HMG'ing :D
Viva INTERNATIONAL HMG :D

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest