CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

New features in 1.7-2.1, some questions.

General discussion

by Jorge Sousa » 30 Oct 2013 19:27

Hi

What seems to be the problem? we can't see any problem...

Regards
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by George » 30 Oct 2013 19:41

Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Jorge Sousa » 30 Oct 2013 20:02

Hi

This is very strange

Because I'm running your exe and i don't get this result in chrome (31.0.1650.39 beta-m) ...

But i've scrolls with FF and IE if i set lower browser sizes.

This is... a nightmare, what should be the simplest thing is 99% of the problems.

And all because of the way browser resize is done... with javascript....

We need to find way to IW ignore our controls in Browser Resize and doing this solely with css.

Best Regards
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by George » 30 Oct 2013 20:22

Did you do step 3?
3. Change size of the browser window - this mean, that windows browser form shoud be resized.

I don't know why does this affect in demo..
I was tested on two computers with windows 7 and 8 (chrome and IE 10).
in my real project, scroller appears without browser

>> With ABrowserResize=True, scrollbar not appears and problem only with initial grid height.

This is... a nightmare, what should be the simplest thing is 99% of the problems.

Totally agree!

For future, i'm planning to remake all design in html (using IW templates), css and JQ.
Because there is many problems with resizing and performance in IW.
But this way, requre more time :(
Instead of setting one property - aling, i will must implement html template with css properties and JQ for calculating middle frame height. and so on. More complex task.
But i want make app with best experience for users.
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Jorge Sousa » 30 Oct 2013 22:48

Hi again

Yes I did the step 3

Don't worry, this will be our top priority.

Best Regards
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Jorge Sousa » 01 Nov 2013 01:12

Hello

Ok it's not easy, if impossible, to apply css only, that can have the same effect as Delphi's Align and Anchors, at least without adding extra divs.

If you agree, the only problem is the grid's height resize behaviour in Chrome when ABrowserResize parameter is True in RenderAsyncRegion, we better fix that single problem.

Best Regards
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by George » 01 Nov 2013 07:05

If you agree, the only problem is the grid's height resize behaviour in Chrome when ABrowserResize parameter is True in RenderAsyncRegion, we better fix that single problem.

Agree :)

Unfortunately, Atozed not often makes web application and does not face a lot of problems. The same goes for design.
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by George » 14 Nov 2013 09:28

Hi :)
Can you provide little more details about when "CGCallBackDisableAjaxResponse" block should be used?
delphi code
CGCallBackDisableAjaxResponse;
try
// ...
finally
CGCallBackEnableAjaxResponse;
end;
RenderRegionAsync( ... ) // or ChangedControl.AjaxReRender();

When i change visibility, state (enabled/disabled) or caption of one control, should i use?
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Jorge Sousa » 14 Nov 2013 10:56

Hello

If you're going to use Render Async method, using RenderRegionAsync or .AjaxReRender

It's useless to have controls adding javascript, because of property changes that will be overriden by Render Async,

Best Regards
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Jorge Sousa » 14 Nov 2013 10:56

Hello

If you're going to use Render Async method, using RenderRegionAsync or .AjaxReRender

It's useless to have controls adding javascript, because of property changes that will be overriden by Render Async,

Best Regards
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

PreviousNext

Return to General - Archive

Who is online

Users browsing this forum: Google [Bot] and 0 guests

Contact Us.