Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alignment problem after upgrade to .20 today
#3
(04-04-2019, 07:41 AM)Alexandre Machado Wrote: Hi Pete,

A demo definitely would help. I'm not exactly sure what was the pre-aligned position of the image file... wasn't it center aligned at design time?

Hi Alex,
So I created a demo.  Of course it worked -  so I'm digging deeper.

I was incorrect about the align property. it's none, and I set the location explicitly. I calculate the position of the image file at runtime in an ASYNC event handler responding to a listbox selection.  During my testing yesterday I noted that just after the ASYNC code finished, the image's "position" attribute went from "absolute" to "absolute".  (it became disabled) So, left and top attributes are correct, but that position attribute being disabled causes the control to drop back to 0,0 or something.  If I use the browser debug mode to change it back to "absolute" the button returns to its proper location. 

(see attachment)

I've got a similar new occurrence of a bad property after async where visible gets set to false.  But I'll post that in another thread. Feels related.

Again - occurs in all browsers.  Never occurred before .20.  Any thoughts?

Thanks,
Pete


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
RE: Alignment problem after upgrade to .20 today - by pete@pdmagic.com - 04-05-2019, 03:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)