With Xailer 2.0.0 (January 2009), when you add a new component to a form,
and its variable name is similar to a pre-existing component on another part
of the form, it seems that the original component is lost. I wish I could be
more specific about this problem, but I only discover the problem when I
attempt to compile the project and Xailer tells me that a component is
missing. The component still exists on the form, so if I go back and
manually add the component statement in the .prg file, everything compiles
correctly.
Xailer does not warn if the new component name is the same as a component
that already exists on the form. That would be helpful. Of course, in this
case, the new component I am adding does not have the same name, but a
similar name, such as:
Original component: oButtonEdit
New component: oButtonEditCase
Perhaps the part of the program that is generating and updating the .prg
file and keeping it in sync with the .xfm file is only comparing the first
10 characters of the component name or something like that, but, in my
humble opinion, Xailer should warn you at the time the component is named if
there is a problem with the component name.
Thanks,
Gary
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
New Components on a form overwrite existing components in some cases
-
- Mensajes: 202
- Registrado: Dom Feb 17, 2008 3:35 am