Hola a Todos :
Basicamente esta publicacion y deseo viene de otro post :
http://hmgforum.com/viewtopic.php?p=28756#p28756.
Mucha gente crea un proyecto en determinada carpeta, podemos darle nombre al proyecto; pero siempre se crean archivos para contener lo esencial para el nuevo proyecto.
MiProyecto.hbp, MiProyecto.rc, MiProyecto.hbc, Main.Prg, Main.Fmg
Solo MiProyecto.Hbc y MiProyecto.Rc son editables dentro del Examinador de Proyecto puedo agregar rutas; indicando donde esta ese archivo necesario para una compilacion sin problemas.
- Examinador.jpg (63.71 KiB) Viewed 3688 times
todos los archivos que se importan se copian a esta carpeta donde esta el archivo de proyecto nuevo pero no son modificables. estos archivos se amontonan dentro de la carpeta del proyecto.
imagine un proyecto grande y la carpeta ordenada por nombres.
MiProyecto.Hbp es el archivo que contiene todos los modulos que componen dicho proyecto, si edito este archivo puedo incluir un modulo que este fuera de la carpeta de proyecto.
puedo importar un modulo y este es copiado de su carpeta original hacia la carpeta del proyecto pero no puedo agregar (no es lo mismo) este caso solo es incluido en el archivo .HBP y queda en su carpeta original.
dentro del Examinador de Proyecto existe una solapa Formularios en la cual contiene todos los formularios que existen dentro de la carpeta del proyecto y no importa si son parte del mismo.
si tengo un formulario fuera de la carpeta de proyecto tengo que utilizar este formato en mi codigo fuente.
lo mismo sucede con la solapa "tablas" en el "examinador" puedo importarlo y tambien es incuido en la solapa pero puede existir otro dentro de la misma solapa y puede no pertenecer al proyecto.
todo esto puede solucionarte sin ninguna modificacion del IDE generando carpetas individuales para contener cada uno de estos objetos diferentes dentro del proyecto invisibles al usuario común.
desde ya gracias por todo el trabajo que hacen con HMG; esto es solo una "Idea" o si quieren "Deseo"
---
Hi all,
Basically this post is coming by a desire from an existing post:
http://hmgforum.com/viewtopic.php?p=28756#p28756
Many of us uses to create a project in a particular folder, we give the name of project, but always are created exclusive files for the new project.
In IDE, is only allow to re-edit in files Hbc and Rc only undereditable within "Project Browser" with full path for success of compilation.
<see Examinador.jpg file>
The IDE allow to import source files from outside of project folder by "copying" (duplicating) prg files into the project folder but not allow to re-edit pathg+file name of PRGs. These files are stacked within the project folder. Imagine a big project and the large listing names of files...
The Hbp is the file containing all the modules that compose the project and if we would like to edit this file, we must go by outside of IDE (by a text editor).
Is possible to import a module with the IDE by duplicating a file into the current folder but we can not add a PRG in outside too (which would be easy).
Within the "Project Browser" in the tab of "Forms" is also not allow to import or just simply use outside of project folder other folder which can be usuable just with path+name of form.
if I have a form outside the project folder, IMO we should allow use in oders projects by registering in hbp file with path and name. Like this: Load Window
.\Forms\prefixgs1
The same occurs in the tab of "Tables" in the "Project Browser" that allow only for import by copying. But these inclusion may be unwanted by the existence of a DBF file with the same name but different structure.
All these, can be solved without any modification of the IDE by generating individual folders which would contains it respective kind of different objects and being visible within the project by a common user.
In advance I wish to thank you for the great working of HMG. And this is just an "idea" or if your wish is just a "Desire".