Post by ranilwallace on Jan 17, 2016 23:49:42 GMT 10
I think I kinda know what the prob is.. for those of you who created apps with cef, was the app a x86 app?
Ranil, Lauve Tech
|
|
Post by ranilwallace on Jan 18, 2016 4:01:27 GMT 10
Yay i changed the config to x86 and downloaded the binaries for cef x86 and the scrollbars are fixed . Thanks everyone!
Ranil, Lauve Tech
|
|
Post by ranilwallace on Jan 18, 2016 5:28:33 GMT 10
How do you use the loading state changed so that when it is loading i could change text to say loading and the so on. I tried but it doesnt work
Ranil, Lauve Tech
|
|
Post by Nathan Lecompte on Jan 18, 2016 7:24:42 GMT 10
You have to check if it's loading first, in the LoadingStateChanged event use e.IsLoading = YayorNay (true or false) However just browse through the events and use them all, for example the StatusTextChanged event should be used for your status text instead of putting everything in the loading event
|
|
Post by ranilwallace on Jan 18, 2016 9:12:10 GMT 10
THats what i did
Ranil, Lauve Tech
|
|
Post by Nathan Lecompte on Jan 18, 2016 11:35:38 GMT 10
Did you make sure it's handled properly?
|
|
Post by ranilwallace on Jan 20, 2016 8:32:00 GMT 10
How were you able to update gui elements inside you form when the page is finished loading. Also, when i try to create another cef form (new tab) i get this error: "An unhandled exception of type 'System.Exception' occurred in CefSharp.Core.dll Additional information: Cef can only be initialized once. Use Cef.IsInitialized to guard against this exception." How can i change pdate gui elements inside the form when the page is finished loading? SHould i use a background timer or something? If so, can you give an example. if of how u did it.
Ranil, Lauve Tech
|
|
Post by ranilwallace on Jan 21, 2016 5:23:27 GMT 10
|
|
Post by Nathan Lecompte on Jan 21, 2016 5:59:13 GMT 10
Well my tabs are in a separate control and when added; instead of initializing it multiple times on startup; just check if it has been initialized already first (view my previous code, the cef.initialize pretty much works like the webcore for Awesomium)
|
|
Post by ranilwallace on Jan 21, 2016 6:20:10 GMT 10
oh ok. but what about the background worker and stuff with the loading..
Ranil, Lauve Tech
|
|