Edit Extended / Edit WorkArea - ABM / ABM2

Topic Specific Tutorials and Tips.

Moderator: Rathinagiri

User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Edit Extended

Post 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
Viva INTERNATIONAL HMG :D
User avatar
tonton2
Posts: 444
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Edit Extended

Post by tonton2 »

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: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Edit Extended in Spanish ?

Post 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.
Attachments
Sin título-3.png
Sin título-3.png (48 KiB) Viewed 5073 times
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Edit Extended in Spanish ?

Post 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. ;)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: Edit Extended in Spanish ?

Post 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.
Attachments
Sin título-4.png
Sin título-4.png (89.92 KiB) Viewed 5050 times
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Edit Extended / EDIT WORKAREA - ABM / ABM2

Post 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.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Edit Extended / Edit WorkArea - ABM / ABM2

Post 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. ;)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: Edit Extended / Edit WorkArea - ABM / ABM2

Post by Javier Tovar »

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

Saludos
rubenalf
Posts: 26
Joined: Mon Jan 11, 2016 5:55 pm

Re: Edit Extended / Edit WorkArea - ABM / ABM2

Post 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.
Attachments
editex-2col.prg.zip
editex.prg modificado para 2 columnas
(17.11 KiB) Downloaded 250 times
Modificado para 2 columnas / 2 columns modification
Modificado para 2 columnas / 2 columns modification
anomEditex2c.png (17.03 KiB) Viewed 4633 times
Ventana actual (1 columna) / normal window (1 column)
Ventana actual (1 columna) / normal window (1 column)
anomEditex1c.png (14.6 KiB) Viewed 4633 times
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Edit Extended / Edit WorkArea - ABM / ABM2

Post 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
Viva INTERNATIONAL HMG :D
Post Reply