FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
WTF ? Wierd bug
WTF ? Wierd bug
Iniciado por Stef, 25,mar. 2013 10:54 - 3 respuestas
Conéctese…
Stef
#1
Miembro registrado
45 mensajes
Publicado el 25,marzo 2013 - 10:54
Any command on the first line of an "Exit with modification (onchange)" browser code of an edit control is rejected with errors that are completely not appropriate and simply incorrect.
For example
EDT_v1..X=200 generates an error saying "indirection is not allowed in browser code".
This isn't even indirection !!!
Any correct command I write there is rejected with the most insane error notifications.
When I simply add an empty line first all correct code is suddenly accepted ?!
Removing the empty line causes the errors to re-appear ??
I must admit that this is the wierdest bug I have ever seen. The workaround is simply leaving the empty line so the problem is solved for me, I just wanted to inform all of you about this issue.
I just updated my WebDev 17 with the latest release, maybe this causes the error I have not experienced before ?
Informar
0
0
Fabrice Harari
#2
Publicado el 25,marzo 2013 - 14:37
Hi Stef
I tried the same thing without any problem...
You should try to exit your project, delete the .cpl directory and the
..env file, then renter the project and recompile and see if that solves
the problem
best regards
On 3/25/2013 4:02 AM, Stef wrote:
Any command on the first line of an "Exit with modification (onchange)" browser code of an edit control is rejected with errors that are completely not appropriate and simply incorrect.
For example
EDT_v1..X 0 generates an error saying "indirection is not allowed in browser code".
This isn't even indirection !!!
Any correct command I write there is rejected with the most insane error notifications.
When I simply add an empty line first all correct code is suddenly accepted ?!
Removing the empty line causes the errors to re-appear ??
I must admit that this is the wierdest bug I have ever seen. The workaround is simply leaving the empty line so the problem is solved for me, I just wanted to inform all of you about this issue.
I just updated my WebDev 17 with the latest release, maybe this causes the error I have not experienced before ?
Informar
0
0
Stef
#3
Miembro registrado
45 mensajes
Publicado el 05,abril 2013 - 12:31
I am expieriencing more and more of these bizarre phenomena.
Now an entire block of browser code in a control entry (onfocus) procedure is suddenly interpreted as if each single word is a variable. The code was running fine all day and now the entire block is one huge "syntax error".
For example
BTNX is int
BTNY is int
EDT_LabelNr..Value= MySelf..Name
EDT_LabelValue..Value=MySelf..Value
BTNX = MySelf..X
BTNY = MySelf..Y+20
BTN_RepositionLabel..X=BTNX
BTN_RepositionLabel..Y=BTNY
BTN_RepositionLabel..Visible=True
Easy and straightforward but now suddenly all text is green as if each word is interpreted as a variable.
- closing and reopening the project will not help
- deleting all code and retyping will not work, not even after saving and reopening
- when I copy the code to any another procedure everything works fine, just not when i copy it to any other edit control's control entry (onfocus) procedure.
@ Fabrice: I located the .cpl folder but I get lots of .env files. Which one of them should I delete ?
Informar
0
0
Fabrice Harari
#4
Publicado el 05,abril 2013 - 16:58
Hi stef
you should delete the WHOLE .cpl directory and the MyProject.env file in
the main project directory
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
More information on
http://www.fabriceharari.com
On 4/5/2013 7:56 AM, Stef wrote:
I am expieriencing more and more of these bizarre phenomena.
Now an entire block of browser code in a control entry (onfocus) procedure is suddenly interpreted as if each single word is a variable. The code was running fine all day and now the entire block is one huge "syntax error".
For example
BTNX is int
BTNY is int
EDT_LabelNr..Value= MySelf..Name
EDT_LabelValue..Value=MySelf..Value
BTNX = MySelf..X
BTNY = MySelf..Y+20
BTN_RepositionLabel..X=BTNX
BTN_RepositionLabel..Y=BTNY
BTN_RepositionLabel..Visible=True
Easy and straightforward but now suddenly all text is green as if each word is interpreted as a variable.
- closing and reopening the project will not help
- deleting all code and retyping will not work, not even after saving and reopening
- when I copy the code to any another procedure everything works fine, just not when i copy it to any other edit control's control entry (onfocus) procedure.
@ Fabrice: I located the .cpl folder but I get lots of .env files. Which one of them should I delete ?
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto