From: Dan S. <dy...@fu...> - 2000-12-11 22:18:25
|
Already done and working. I've actually got quite a large amount of fixes/changes coming due to a lot of problems with widgets using the new inline creation system. Currently there's only 1 very perplexing problem when using Button in another widget (pushpanel/scrollpane in particular) that is holding it back. I will be sure it's all working in IE4 before releasing anything to CVS. Did anyone figure out exactly what to do to get IE4/5 to stop selecting text for Label? Dan On Mon, Dec 11, 2000 at 03:28:27PM -0500, Robert Rainwater wrote: > > The main issue with DynImage is getting the images width and height > when it is done loading. Then the dynimage has to update itself and > invoke some kind of event saying its ready. So ideally, you don't > need to specify the w/h if you want to use the actual width/height. > Because in the Button widget, it has to be able to resize itself, but > it can't do so until it knows the image's width and height, unless you > specify it. > > I beleive in IE if you say x = new Image(w||0,h||0), it will > initialize the w/h to 0 even after the load (if w or h is 0), so thats > one of the problems with the DynImage as it is now. > > -- > // Robert Rainwater > > On 12/10/2000, 4:38:27 AM EST, Eytan wrote about "[Dynapi-Dev] Button/DynImage - I am fixing this": > > > I have looked at how the images work. I have made somthing similair but I > > find more simple. I created a TImage which in its constructor creates a > > "real" image (as in an IMG tag) then I can play with it using function I > > have created. Resizing would simply mean call ImgName.width and changing it. > > > 8an > > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |