Jump to content

Recommended Posts

Posted

Hello there

 

First at all, with latest 919 build the "Object expected on line 1" error has been corrected.

Now I have a new issue. In a third application customer application, I can show HTML frames.

A UniGui application have a UniDBGrid with custom draw. With version 0.87, the attribute

cell changes where shown as expected. But with the new v.88.0.919, these attribute cells

changes are not showed, even the event is fired. In Chrome or IE8 the attributes are also

showed correctly. I attached a image to illustrate. I don't know how these third application

shows the HTML frames, neither I can control it. I can only pass a URL.

I don't think that is a third application issue.

 

Thx

post-27-0-80995100-1325240566_thumb.jpg

Posted

I didn't understand. IE8 and Chrome works correctly. So ?

 

Well, is a bit hard to explain. The application is a ERP who has a "portal" where I can put HTML windows.

Each window has a URL customizable. The question is that with a older version of UniGui the changes done

at the Attribs object in the OnDrawColumnCell event were applied and the same program compiled with last

version, no. The URL that I call in the application, when called directly in a Chrome or IE8 window are

correctly applied. Seems that the render mechanism between v.87 and v.88 has been changed.

I attached a image that shows how your DrawCell demo is showed inside the portal; the StringGrid is shown

correctly but the DBGrid is wrong.

 

Thx

post-27-0-15149600-1325258424_thumb.jpg

Posted

Or let me connect to the web page containing those frames.

 

 

The application is not a web page, but you can reproduce in this way:

1. In Delphi, create a new VCL forms application.

2. Put a TWebBrowser.

3. At the form create event, put "WebBrowser1.Navigate('http://localhost:8077/');"

4. Run your CellDraw demo.

5. Run the VCL application. You'll see the same as within or inside my ERP application.

 

The behaviour in a TWebBrowser is the same as seen in the application.

Hope this helps you.

 

Thx

×
×
  • Create New...