Ajax and CGDEV Button and Edit

<< Click to Display Table of Contents >>

Navigation:  Forum >

Ajax and CGDEV Button and Edit

Forum link

 


 

09-25-2020, 11:32 PM:

 

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