Atozed Forums
Ajax and CGDEV Button and Edit - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Ajax and CGDEV Button and Edit (/thread-2005.html)



Ajax and CGDEV Button and Edit - ozelaya - 09-25-2020

Hi,

I'm having the following issues:

On form create I set a CGJQEdit text property with a constant value. I have a CGJQButton with the OnClick event with Ajax set to false.

1. On the button Event I assign the edit text value to a local string var, If the user does not modify the edit text, it returs a empty string,
If the users does modify the text field it works ok. If I set Button Ajax to true it work ok on both situations.

2. On the button event I call Free to close the form, If Ajax is true I get a access violation, If Ajax is false works ok.

Any hints,

Thanks in advance,

Omar Zelaya