FMG Editor
Moderator: Rathinagiri
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
FMG Editor
Hi all,
This is a tool project, which we intend to make joining efforts of whom wants to contribute. It is important to declare what points is going to be covered by you contributor. For at begining we have following intentions:
1. To open any fmg file.
2. To add ContextMenu for all components automactically
3. To add to ContextMenu, following itens:
a. Move
b. Resize
c. Align
d. Properties
c. Select/Unselect
4. Make select and multi-select by clicking of mouse
5. ComboBox with all itens for seletable item
6. To add grids (something like this) with selectable scale
7. To display selected component position at form x,y
8. Preview of fmg
An excellent work we find at C:\MiniGUI\SAMPLES\Advanced\ControlPos_3.
In attached file it is the last version according some goals reached. This is also to be based on.
ChangeLog:
- Open fmg, prepared for reading each elements.
- Recognize Window position, size, title, backcolor. Always will be define as CHILD win.
<Files attached was removed. Please see last message with updated files.>
This is a tool project, which we intend to make joining efforts of whom wants to contribute. It is important to declare what points is going to be covered by you contributor. For at begining we have following intentions:
1. To open any fmg file.
2. To add ContextMenu for all components automactically
3. To add to ContextMenu, following itens:
a. Move
b. Resize
c. Align
d. Properties
c. Select/Unselect
4. Make select and multi-select by clicking of mouse
5. ComboBox with all itens for seletable item
6. To add grids (something like this) with selectable scale
7. To display selected component position at form x,y
8. Preview of fmg
An excellent work we find at C:\MiniGUI\SAMPLES\Advanced\ControlPos_3.
In attached file it is the last version according some goals reached. This is also to be based on.
ChangeLog:
- Open fmg, prepared for reading each elements.
- Recognize Window position, size, title, backcolor. Always will be define as CHILD win.
<Files attached was removed. Please see last message with updated files.>
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: HMG FMG Editor
I can't compile this project because of cFilePath() function missing...
Re: HMG FMG Editor
+1mol wrote:I can't compile this project because of cFilePath() function missing...
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
- luisvasquezcl
- Posts: 1258
- Joined: Thu Jul 31, 2008 3:23 am
- Location: Chile
- Contact:
Re: HMG FMG Editor
I have the same problem.
best regards,
Luis vasquez.
best regards,
Luis vasquez.
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: HMG FMG Editor
en varios ejemplos de Minigui del amigo Grigory Filatov contiene dicha funcion.mol wrote:I can't compile this project because of cFilePath() function missing...
ya que el ejemplo fue sacado de ahi a travez de TextCrawler encontre esta funcion.
several examples of MiniGUI friend Grigory Filatov containing said function.
since the sample was taken from there through TextCrawler I found this function.
Code: Select all
*-----------------------------------------------------------------------------*
STATIC FUNCTION cFilePath( cPathMask )
*-----------------------------------------------------------------------------*
LOCAL n := RAt( "\", cPathMask )
RETURN If( n > 0, Upper( Left( cPathMask, n ) ), Left( cPathMask, 2 ) + "\" )
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
HMG FMG Editor
Good remember Daniel. Very sorry to all. It was too late and I have forgotten this new function at HMG. Please note:
Code: Select all
Function cFilePath( cPathMask )
Local cPath
hb_FNameSplit( cPathMask, @cPath )
Return HB_ULeft( cPath, HMG_Len( cPath ) - 1 )
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
-
- Posts: 1275
- Joined: Tue Sep 03, 2013 4:22 am
- Location: Tecámac, México
Re: HMG FMG Editor
Hola Pablo César,
Felicidades por el inicio del "Editor", todos los puntos están muy bien, excelentes!, pero a mi opinión si estaría mejor si se completara con las siguientes cualidades:
1.- Que genere el código de creación de *.DBF y *.CDX de todos los controles del Form que nosotros seleccionemos, ya que no siempre todos los controles entran en una base de datos.
2.- Que genere el código de "Altas", "Bajas", "Modificaciones", "Consultas", "Desplegados", "Filtros", "Busqueda", "Imprimir", etc. del Form creado.
Ya que yo en múltiples ocasiones ocupo el IDE para la creación del From, pero a parte utilizo "Mi Generador de Código" para que me genere el Código mencianado. Y pues seria formidable que lo generara en el mismo "Editor".
Editor = IDE + DBU (Rathinagiri) + Genera Código == Otro nivel
Saludos
P.D.: Se que es mucho pedir, pero creo que si queremos que HMG sea de otro nivel tiene que ser así.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Hi Pablo César,
Congratulations on the start of the "Editor", all points are very good, excellent, but my opinion would be better if it was completed with the following qualities!:
1 -. Which generates the code for creating DBF and * all * CDX Form controls selected by us, since all the controls do not always come in a database...
. 2 - That code generate the "High", "Low", "Changes", "Query", "Deployed", "Filters", "Search", "Print", etc.. the Form I created.
Since it multiple times occupied the IDE to create the From, but otherwise I use "My Code Generator" to generate my mencianado Code. And it would have generated tremendous in the same "Editor".
Editor = IDE + DBU (Rathinagiri) + Generate Code == Another level
regards
PS: I know it's a tall order, but I think if we want a different level of HMG is has to be.
Felicidades por el inicio del "Editor", todos los puntos están muy bien, excelentes!, pero a mi opinión si estaría mejor si se completara con las siguientes cualidades:
1.- Que genere el código de creación de *.DBF y *.CDX de todos los controles del Form que nosotros seleccionemos, ya que no siempre todos los controles entran en una base de datos.
2.- Que genere el código de "Altas", "Bajas", "Modificaciones", "Consultas", "Desplegados", "Filtros", "Busqueda", "Imprimir", etc. del Form creado.
Ya que yo en múltiples ocasiones ocupo el IDE para la creación del From, pero a parte utilizo "Mi Generador de Código" para que me genere el Código mencianado. Y pues seria formidable que lo generara en el mismo "Editor".
Editor = IDE + DBU (Rathinagiri) + Genera Código == Otro nivel
Saludos
P.D.: Se que es mucho pedir, pero creo que si queremos que HMG sea de otro nivel tiene que ser así.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Hi Pablo César,
Congratulations on the start of the "Editor", all points are very good, excellent, but my opinion would be better if it was completed with the following qualities!:
1 -. Which generates the code for creating DBF and * all * CDX Form controls selected by us, since all the controls do not always come in a database...
. 2 - That code generate the "High", "Low", "Changes", "Query", "Deployed", "Filters", "Search", "Print", etc.. the Form I created.
Since it multiple times occupied the IDE to create the From, but otherwise I use "My Code Generator" to generate my mencianado Code. And it would have generated tremendous in the same "Editor".
Editor = IDE + DBU (Rathinagiri) + Generate Code == Another level
regards
PS: I know it's a tall order, but I think if we want a different level of HMG is has to be.
Last edited by Javier Tovar on Tue Apr 22, 2014 4:40 pm, edited 1 time in total.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
HMG FMG Editor
Hola Javier, gracias por tu interés y comentários. Este tópico y este proyecto, van a ser dedicados a tratar la ediccion de FMG. Lo que tu indicas, poderá ser desarrollado en separado, es decir tenemos que mejorar nuestras herramientas, y una forma de hacerlo es presentando trabajos por separados, si logramos presentar un trabajo bueno y estable, quien sabe podemos juntar todas las herramientas en una, un complemento o nuevas opciones del actual IDE ? Por encuanto, voy a mantenerel foco de ediccion de archivos FMG y poder cambiar posiciones, tamaños y otras propiedades.
Son muchos componentes y ahora tengo la mision de indenticar uno por uno. Asi que te imaginas que grande es la dificultad ?
This message is in spanish, because this matter is because it is a specific matter of our colleague Javier. Only serves to his understanding only.
Son muchos componentes y ahora tengo la mision de indenticar uno por uno. Asi que te imaginas que grande es la dificultad ?
This message is in spanish, because this matter is because it is a specific matter of our colleague Javier. Only serves to his understanding only.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
-
- Posts: 1275
- Joined: Tue Sep 03, 2013 4:22 am
- Location: Tecámac, México
Re: HMG FMG Editor
Hola Pablo César,
OK, revisando tu primer post entiendo que se va a trabajar con archivos FMG, y sobre eso poder cambiar las propiedades de los controles. Excelente!
Saludos
OK, revisando tu primer post entiendo que se va a trabajar con archivos FMG, y sobre eso poder cambiar las propiedades de los controles. Excelente!
Saludos
Last edited by Javier Tovar on Tue Apr 22, 2014 7:08 pm, edited 2 times in total.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
HMG FMG Editor
Si Javier, basicamente es un complemento al IDE. Como nosotros no tenemos acceso al IDE, busca de alguna forma poder incrementar recursos mismo con aplicaciones de terceros. Como dije, quien sabe si con esto, podemos colaborar con mejoras con el IDE en el futuro.
Por eso, te aconsejo que tu idea, lo desenvuelvas en separado como una herramientas más.
This message is in spanish, because this matter is because it is a specific matter of our colleague Javier. Only serves to his understanding only.
Por eso, te aconsejo que tu idea, lo desenvuelvas en separado como una herramientas más.
This message is in spanish, because this matter is because it is a specific matter of our colleague Javier. Only serves to his understanding only.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein