iOS Question using %x outside the page_resize event

Discussion in 'iOS Questions' started by le_toubib, Jun 9, 2015.

  1. le_toubib

    le_toubib Active Member Licensed User

    hi falks
    i understand that i should use the %x inside the page_resize event,
    but what if i used it After the resize event , should this lead to erronious results ? i.e : unexpected results of %x ???
    or , is it just set inside the resize event and then remain the same thereafter ???
  2. Erel

    Erel Administrator Staff Member Licensed User

    In some cases the value will be correct. However there are cases where is want be correct. It is better to use Page1.Width / Page1.Height outside of the resize event.

    These properties will be correct after the resize event.
  3. Pendrush

    Pendrush Well-Known Member Licensed User

    Are the values Page1.Width / Page1.Height correct in page initialization (before page_resize)?
  4. Erel

    Erel Administrator Staff Member Licensed User

    The page wasn't yet resized at this point so the values are not accurate.
    Pendrush likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice