Dynamic load buttons, do not load correct size, why?.
Page.CreateObject(OBJECT_IMAGE,"DianamicBut",nil);
Button.SetProperties("DianamicBut", {ButtonFile=ButtAddress});
Professional Software Development Tools
Dynamic load buttons, do not load correct size, why?.
Page.CreateObject(OBJECT_IMAGE,"DianamicBut",nil);
Button.SetProperties("DianamicBut", {ButtonFile=ButtAddress});
try it with a whole Image properties table
or try this exampleCode:tblImageProps = {}; tblImageProps.ImageFile = ""; tblImageProps.Height = 150; tblImageProps.Width = 150; tblImageProps.Y = 0; tblImageProps.X = 0; tblImageProps.UseTransColor = false; tblImageProps.TransparentColor = Math.HexColorToNumber("FFFFFF"); tblImageProps.Opacity = 100; tblImageProps.Tolerance = 10; tblImageProps.HitTest = HITTEST_STANDARD; tblImageProps.Cursor = CURSOR_ARROW; tblImageProps.TooltipText = ""; tblImageProps.Visible = true; tblImageProps.Enabled = true; tblImageProps.ResizeLeft = false; tblImageProps.ResizeRight = false; tblImageProps.ResizeTop = false; tblImageProps.ResizeBottom = false; tblImageProps.ClickSound = SND_NONE; tblImageProps.ClickSoundFile = ""; tblImageProps.HighlightSound = SND_NONE; tblImageProps.HighlightSoundFile = ""; Page.CreateObject(OBJECT_IMAGE,"DianamicBut",tblImageProps);
http://www.indigorose.com/forums/sho...3&postcount=13
Code:Page.CreateObject(OBJECT_IMAGE,"DianamicBut",nil); Button.SetProperties("DianamicBut", {ButtonFile=ButtAddress});
lol, check your falgs!Don't you get it?
Open your eyes to Narcissism, Don't let her destroy your life!!
I know, can't sleep much either:P
Code:Reteset.TemporalSlumber("AllNight");
Button file (close.but):
_manifest.xml
imagebuttonup.png
imagebuttondwn.png
Size of image button 100 x 100
When reading With Page.CreateObject(OBJECT_IMAGE,"DianamicBut",{Butt onFile=ButtAddress}), does not put the size of the image.
The button properties is in _manifest.xml, ¿Is not true?, ¿Why no the load?.