Page 11 of 15

Re: Edit Extended

Posted: Mon Aug 12, 2013 12:52 pm
by esgici
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

Re: Edit Extended

Posted: Mon Aug 12, 2013 5:15 pm
by tonton2
Merci beaucoup mon ami ,
Thank you very much Mr Esgici,I am going to use something else
good day

Edit Extended in Spanish ?

Posted: Sat Aug 17, 2013 5:07 pm
by andyglezl
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.

Edit Extended in Spanish ?

Posted: Sat Aug 17, 2013 5:20 pm
by Pablo César
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. ;)

Re: Edit Extended in Spanish ?

Posted: Sat Aug 17, 2013 11:45 pm
by andyglezl
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.

Edit Extended / EDIT WORKAREA - ABM / ABM2

Posted: Sat Jan 03, 2015 3:18 pm
by Pablo César
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.

Edit Extended / Edit WorkArea - ABM / ABM2

Posted: Sat Jan 03, 2015 4:48 pm
by Pablo César
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. ;)

Re: Edit Extended / Edit WorkArea - ABM / ABM2

Posted: Sat Jan 03, 2015 5:46 pm
by Javier Tovar
Gracias Pabo César por la información, Yo si uso Edit Extentd! Util, práctico, sencillo!

Saludos

Re: Edit Extended / Edit WorkArea - ABM / ABM2

Posted: Tue Jan 12, 2016 5:40 pm
by rubenalf
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.

Re: Edit Extended / Edit WorkArea - ABM / ABM2

Posted: Tue Jan 12, 2016 7:14 pm
by esgici
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