imagina Posted December 30, 2011 Posted December 30, 2011 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
Administrators Farshad Mohajeri Posted December 30, 2011 Administrators Posted December 30, 2011 What is the html frame?
Administrators Farshad Mohajeri Posted December 30, 2011 Administrators Posted December 30, 2011 Have you put your uniGUI app inside an "html iframe"?
Administrators Farshad Mohajeri Posted December 30, 2011 Administrators Posted December 30, 2011 I didn't understand. IE8 and Chrome works correctly. So ?
imagina Posted December 30, 2011 Author Posted December 30, 2011 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
Administrators Farshad Mohajeri Posted December 30, 2011 Administrators Posted December 30, 2011 I tried in an iframe but couldn't reproduce it. You must show me a way to reproduce this issue.
Administrators Farshad Mohajeri Posted December 30, 2011 Administrators Posted December 30, 2011 Or let me connect to the web page containing those frames.
imagina Posted December 30, 2011 Author Posted December 30, 2011 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
imagina Posted December 30, 2011 Author Posted December 30, 2011 I attached the sample project (D2009). Thx WEBBROWSER.rar
Administrators Farshad Mohajeri Posted December 30, 2011 Administrators Posted December 30, 2011 OK I will test.
Administrators Farshad Mohajeri Posted December 30, 2011 Administrators Posted December 30, 2011 Please replace the attached file. Problem here is the embedded Browser (an IE variation) which seems to not support some syntax changes in uniGUI JS code. We can all pray that IE will be vanished from earth in new year. ext-unigui-1.3.6-min.rar
Recommended Posts