Controls do not Auto Adjust on Device MDA Pro

Discussion in 'Questions (Windows Mobile)' started by wm.chatman, Nov 5, 2009.

  1. wm.chatman

    wm.chatman Well-Known Member Licensed User

    :) Hi

    Need some Encouragement on this one… :(

    After Device (AutoScale)EXE I port App to Device. Testing App the Controls do not AutoScale on Device.

    LCD Type : 480x640 TFT Display.
    Tried to find the Problem myself, before asking for help... well, what can be done to resolve the problem?

    Thank you

    Best regards
    WmC
     
  2. wm.chatman

    wm.chatman Well-Known Member Licensed User

    i am not Basic4ppc Veteran, stars add me = 3
     
  3. agraham

    agraham Expert Licensed User

    What values do ScreenScaleX and ScreenScaleY return on the MDA Pro?
     
  4. wm.chatman

    wm.chatman Well-Known Member Licensed User

    here is a good one for a laugh...
    I do not konw. How can I find out?
     
  5. agraham

    agraham Expert Licensed User

    MsgBox("ScreenScaleX = " & ScreenScaleX & CRLF & "ScreenScaleY = " & ScreenScaleY)
     
  6. wm.chatman

    wm.chatman Well-Known Member Licensed User

    ScreenScaleX = 2
    ScreenScaleY = 2
     
  7. agraham

    agraham Expert Licensed User

    In that case AutoScaling should be working. Are you absolutely sure you compiled AutoScaled? Which controls don't AutoScale? Do any?
     
  8. wm.chatman

    wm.chatman Well-Known Member Licensed User

    these are the Device readings
     
  9. wm.chatman

    wm.chatman Well-Known Member Licensed User

    do I need the Door Library, for the AutoScale Functions to work on device? :(
     
  10. agraham

    agraham Expert Licensed User

    No, as long as you have compiled the device exe AutoScaled it should just work. You don't need to and cannot do anything to affect it. The ScreenScale values are correct so the only thing I can think of that is stopping it working is that the device exe is not in fact AutoScale compiled.

    I asked three questions above to try to help and you have replied to none of them!
     
  11. wm.chatman

    wm.chatman Well-Known Member Licensed User

    Mr. Agraham

    sorry

    Q: Are you absolutely sure you compiled AutoScaled?
    A: Yes
    Q: Which controls don't AutoScale?
    A: Table1 Control, cmd Buttons. table seems to hide the cmdButtons
    Q: Do any?
    A: txtBoxes seem to be alright

    update
    misstake, I quees nothing seems to AutoScale
     
    Last edited: Nov 5, 2009
  12. agraham

    agraham Expert Licensed User

    Hmm! If one control AutoScales OK they all ought to, especially the built-in controls.

    Can you take screenshots of the same app with and without AutoScaling on the MDA Pro?

    Have you a simple app that displays the problem I can try on my VGA devices?
     
  13. wm.chatman

    wm.chatman Well-Known Member Licensed User

    table is not hidding the cmdButtons. I can not hide the tbl because cmdHideTable is not shown,
    because of the AutoScale Problem.
     
  14. wm.chatman

    wm.chatman Well-Known Member Licensed User

    I Can not take screenshot of the same app with and without AutoScaling on the MDA Pro.

    As for a test App I can help, soory still cant fgure how to use Permalink.
    But, please check: Database Question/Permalink71 from Klaus
     
  15. wm.chatman

    wm.chatman Well-Known Member Licensed User

    @Questions and Help
     
  16. klaus

    klaus Expert Licensed User

  17. wm.chatman

    wm.chatman Well-Known Member Licensed User

    Hallo Klaus

    Also Klaus, auf MDA werden die Steuerelemente nicht correkt gezeigt.

    As as I turn the PDA Screen around, the Controls do not adjust, to Screen.
    Your Screen Pictures you have uploaded, look just like the Display on my MDA.

    1. it is showing correct also just like your pics show it.
    2. but as soon as I turn the MDA Display, the Controls do not Auto Adjust to the Screen.

    wiil try to take a Picture using the Cam, then Upload.
    the App for Screen Capture does not work on my PPC.

    Best regards
    William
     
  18. wm.chatman

    wm.chatman Well-Known Member Licensed User

    OK

    now we at least have the problem, to look at.
    Zip file containing two Photos, one not so good.
    But still able to ident. the Photos.

    photo DC2 actually is the AutoScale problem. photo DC1 as you can see, displays correct.

    Best regards
    William
     
  19. wm.chatman

    wm.chatman Well-Known Member Licensed User

    as you can see on DC2 the Table is shown, but something missing. There are no controls visible. HideTbl... also we can not access the scrollBar from the tbl. Nore do we reach our cmdButtons.
     
  20. wm.chatman

    wm.chatman Well-Known Member Licensed User

    ScrolBar just a little bit from the right side of the form.
     
Loading...
  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