Gracias Luis, es muy grato para mí contactarme con ustedes.
Tengo dos capturas de pantalla ( jpg ) como un ejemplo de dos estructuras básicas de diseño de interfaz ( HMG y HTM ) en las que intento obtener similares experiencias de usuario para mis aplicaciones, pero ¡¡ no encuentro las opciones para subirlas al foro !!. De todas formas su descripción es la de tres áreas horizontales a modo encabezado, cuerpo y pie, donde serán distribuidas las funcionalidades de la aplicación. En la parte inferior izquierda ( en el area del pie de página ), se presenta un logo que permite el llamado a un proceso alojado en un sitio web como forma de integración de interfaces MS-Windows y procesos de registro local y en línea.
El problema que vos mencionas es real, como así lo es, la necesidad de que el usuario interactúe en forma directa con imagenes ( tal cual se utiliza en las interfaces web ).
Respecto del error, en tiempo de ejecución se observa que, dependiendo del orden en que se definen los objetos IMAGE, estos se comportan como vos lo describiste:
Ejemplo: Si se definen 2 imagenes según el siguente ejemplo:
DEFINE IMAGE oimgPie
ROW 520
COL 0
WIDTH 780
HEIGHT 50
PICTURE "imagenes\fondo07.jpg"
HELPID Nil
VISIBLE .T.
STRETCH .T.
ACTION Nil
END IMAGE
DEFINE IMAGE oImgLogo
ROW 525
COL 10
WIDTH 40
HEIGHT 40
PICTURE "imagenes\logo02.jpg"
VISIBLE .T.
STRETCH .F.
ACTION ( MsgInfo("Ejecuto algo") )
END IMAGE
( Código equivalente al estrito para la página utilizada como pie en entorno web: <html><base target="_blank"><body background="imagenes/fondo07.jpg" bgproperties="fixed"><a href="ejecuto algo"><img src="imagenes/logo02.jpg" border=0></a></html> )
La imagen oImgLogo se visualiza sobre la imagen oImgPie pero no se ejecuta la acción programada. Si se invierte el orden de las definiciones, la imagen oImgLogo no se visualiza ya que la imagen oImgPie se muestra por delante. Pero, en este caso, si ubicamos el puntero sobre la zona donde debería verse la imagen oImgLogo y hacemos clic, se ejecuta la acción.
El pasado 10 de Febrero de 2009 envié un reporte con algunos problemas con los que me encontré al utilizar el IDE para generar interfaces, a la dirección
harbourminigui@gmail.com ( presentada en la barra de título del IDE ) pero no sé si ese es el canal de reportes de errores ya que no he recibido respuesta. He encontrado otros posibles lugares para el envío de este tipo de reportes como <
hmg_bugreport@ciudad.com.ar>, mencionado en el archivo bugreport.txt de la distribución de la librería y
http://sourceforge.net/tracker/?atid=47 ... unc=browse, Mencionado en el sitio desde donde se baja la distribución de la librería. Como aún no se dónde reportar estas cosas ( ¡¡ no sé donde mandar reportes !!) , les comento aquí que, respecto de errores en el tratamiento de imagenes, se produce algo similar en tiempo de edición del IDE ( en sus 2 versiones ). No se muestran los objetos IMAGE al cargar un formulario luego de cerrarlo.
Reproducción del error:
01) Crear objetos IMAGE sobre un formulario
02) Cerrar el formulario
03) Aceptar actualizar las modificaciones efectuadas
04) Volver a cargar el formulario con doble clic sobre examinador de proyecto.
Observaciones:
01) El código generado por el IDE contiene las definiciones de los objetos IMAGE cuando es mostrado con la opción Ver/Codigo del formulario.
02) Los objetos creados aparecen en el examinador de objetos.
03) Cuando se activa un objeto IMAGE desde el examinador de objetos, se muestran los puntos de modificación de posición y forma pero es visible el área del objeto.
04) Cuando se hace clic sobre el área donde se había ubicado un objeto IMAGE, sólo los objetos a los que se le ha modificado alguna propiedad responden al evento, pero sin presentar su área blanca.
Bueno, si alguien puede orientarme respecto de mis limitaciones, estaré agradecido ya que... ¡¡ no encuentro las opciones para subir adjuntos al foro !! ..... ¡¡ no sé donde mandar reportes !!... y todo porque... ¡¡ no sé hablar en ingles !!...
Saludos !!
TRADUCCION SEGUN GOOGLE
Thanks Luis, it is very gratifying for me to contact you.
I have two screenshots (jpg) as an example of two basic structures of interface design (HMG and HTM) in the attempt to achieve similar user experiences for my applications, but we do not find the options for uploading to the forum! . Anyway its description of the three horizontal areas as head, body and foot, which will be distributed features of the application. In the bottom left (in the footer area), is a logo that allows the call to a process hosted on a website as a way to integrate MS-Windows interfaces and processes of local and online registration.
The problem that you mention are real, as well as the need for the user to interact directly with images (as is used in the Web interface).
Regarding the error, run-time shows that, depending on the order in which objects are defined IMAGE, they behave as you described it:
Example: If defined as the 2 images below example:
DEFINE IMAGE oimgPie
ROW 520
COL 0
WIDTH 780
HEIGHT 50
PICTURE "images \ fondo07.jpg"
HELP Nil
VISIBLE. T.
STRETCH. T.
ACTION Nil
END IMAGE
DEFINE IMAGE oImgLogo
ROW 525
COL 10
WIDTH 40
HEIGHT 40
PICTURE "images \ logo02.jpg"
VISIBLE. T.
STRETCH. F.
ACTION (MsgInfo ( "start something"))
END IMAGE
(Equivalent to pure code for the page used as a foot in Web environment: <html> <base <body target="_blank"> background="imagenes/fondo07.jpg" bgproperties="fixed"> <a href = "start something">< img src = "imagenes/logo02.jpg" border = 0> </ a> </ html>)
OImgLogo The image is displayed on the image oImgPie but does not run the scheduled action. If the order of definitions, oImgLogo image is not displayed because the picture shows oImgPie ahead. But in this case, if we place the pointer over the area where the image should be oImgLogo and we click, the action is executed.
On February 10, 2009 I sent a report with some problems that I found when using the IDE to generate interfaces to address
harbourminigui@gmail.com (presented in the title bar of the IDE) but I do not know if that is channel bug reports because I have not received a reply. I have found other possible locations for the transmission of such reports as <
hmg_bugreport@ciudad.com.ar> mentioned in the file bugreport.txt distribution of the book and
http://sourceforge.net/tracker/?atid = 473940 & group_id = 54496 & func = browse mentioned on the site from where the distribution of low bookstore. As yet I do not know where to report these things (Do not know where to send reports!), I commented here that, in respect of errors in the processing of images, there is something similar in time of publishing the IDE (in 2 versions) . No display objects IMAGE loading a form after closing it.
Playing the error:
01) Create a form on objects IMAGE
02) Close the form
03) To accept the changes made to update
04) Reload the form on double click on browser project.
Comment:
01) The code generated by the IDE contains definitions of objects when IMAGE is shown with the View / code form.
02) The objects created in the object browser.
03) When you activate an object image from the object browser, showing the points of change in position and shape but is the visible area of the object.
04) When you click on the area where he had located an object image, just the objects that it has amended a property responsive to the event, but without his white area.
Well, if anyone can guide regarding my limitations, I would be grateful to ... Do not see the option to upload attachments to forum! ..... Do not know where to send reports !!... and all because ... Do not speak English !!...
Greetings!