Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Graal3/4 Gui Image Download Problem (https://forums.graalonline.com/forums/showthread.php?t=58783)

Rick 04-29-2005 12:45 PM

Graal3/4 Gui Image Download Problem
 
When you display an image in a GuiMLTextCtrl and the client does not have that image, Graal does not refresh/reflow that GuiMLTextCtrl after the image has been downloaded, so the image is not displayed until that Gui ctrl is pushed back onto the display or reflown manually.

(<img src=example.png> in GuiMLTextCtrl contents)

Of course you can work around this with a download system, but I feel it would be more appropriate to make GuiMLTextCtrls either wait until the image data is accessible, or reflow when the image is available.

Ajira 04-29-2005 06:01 PM

NPC Code:

GuiMLTextCtrl (GuiControl):
reflow()


Rick 04-29-2005 10:38 PM

...

Admins 05-01-2005 03:42 AM

Yes reflow() is fixing it, but it must be done automatically by the engine when the image is downloaded (there is some onfiledownload event or so now, but this is easy to fix so you don't need to work on a workaround).

Rick 05-01-2005 10:09 PM

Quote:

Originally Posted by Stefan
Yes reflow() is fixing it, but it must be done automatically by the engine when the image is downloaded (there is some onfiledownload event or so now, but this is easy to fix so you don't need to work on a workaround).

:D

Good to hear Stefan.

I'll keep my eyes out for the fix, :).

Admins 05-02-2005 02:47 PM

Ok fixed in the new version, will upload it end of the day.

Admins 05-04-2005 05:09 PM

Test it with the latest version please?


All times are GMT +2. The time now is 07:46 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.