Bobypoz :
usted esta necesitando actualizar su aplicacion D.O.S hacia una aplicacion GUI, para ello es necesario que trabaje con el IDE que se incluye en la instalacion de HMG.3.1.1, le dejo aqui su aplicacion con pequeños retoques que son necesarios, ellos son:
Un Proyecto HMG : Ekomp.hbp
este es el contenedor de todo el proyecto.
Un Formulario : main.fmg
este formulario contendra todos los controles GUI como LABELS, TEXTBOX, COMBOBOX que reemplazaran a los viejos SAY, GET, ACHOICE que usted manejaba en su aplicacion D.O.S
un PRG : su codigo se encuentra en la carpeta x:\Ekomp\Sources\Ekomp.prg
aqui esta el codigo que subio con algunas correcciones que son necesaria para un buen entendimiento en la lectura por parte de otras personas o usted mismo.
un .RC : Ekomp.rc
aqui se guarda informacion sobre imagenes, iconos.
este archivo es llamado archivo de recursos.
un .HBC : Ekomp.hbc
aqui se guarda informacion acerca de la configuracion del IDE y Librerias varias, no es necesario que modifique el mismo en forma manual.
esto es lo basico que usted necesita para seguir con su aplicacion GUI, es necesario incluir los CONTROLES faltantes, no pude seguir porque se necesita el archivo mesta.dbf para poder armar el Control COMBOBOX (Achoice)
Translate Google :
Bobypoz:
You need to upgrade your DOS application to a GUI application, it is necessary to work with the IDE that is included in the installation of HMG.3.1.1, your application will leave here with minor tweaks are needed, they are:
A Project HMG: Ekomp.hbp
This is the container for the entire project.
a Form: main.fmg
This form will contain all GUI controls as
LABELS,
TEXTBOX,
COMBOBOX that will replace the old
SAY,
GET,
ACHOICE you drove in your DOS application
a PRG: your code is in the folder
x:\Ekomp\Sources\Ekomp.prg
Here is the code that came up with some corrections that are necessary for a good understanding in reading by other people or yourself.
a .RC: Ekomp.rc
Here it stores information about images, icons.
This file is called a resource file.
a. HBC: Ekomp.hbc
Here it stores information about the configuration of the IDE and several Libraries, no need to modify it manually.
Here are the basics you need to stick with your GUI application, you must include the controls missing, I could not go because you need the file mesta.dbf to assemble the ComboBox (ACHOICE).
need to read this link on Convention names
http://hmgforum.com/viewtopic.php?f=12& ... ilit=names