what is equivalent of VB picture or image control?

  1. 8 months ago

    Jim L

    18 Jan 2019 Pre-Release Testers, Xojo Pro

    I need to place company logo on form - either jpg or pnj.
    Canvas didn't have any picture properties that I could find.
    thanks

  2. Dave S

    18 Jan 2019 San Diego, California USA

    PAINT EVENT OF CANVAS

    g.drawpicture myLogo,0,0
  3. Paul S

    18 Jan 2019 Pre-Release Testers, Xojo Pro Europe (Netherlands, Den Haag)

    ImageWell for Desktop app.
    WebImageView for Web app.

  4. Jim L

    18 Jan 2019 Pre-Release Testers, Xojo Pro

    @Dave S PAINT EVENT OF CANVAS
    g.drawpicture myLogo,0,0

    Is there a dimension / type statement before this? like dim g as.... ??
    thanks

  5. Dave S

    18 Jan 2019 San Diego, California USA

    @Jim L Is there a dimension / type statement before this? like dim g as.... ??
    thanks

    No.... read the LangRef about Canvas

  6. Jean-Yves P

    18 Jan 2019 Pre-Release Testers, Xojo Pro Europe (France, Besançon)

    @Jim L Canvas didn't have any picture properties that I could find.

    you can use canvas.backdrop for that purpose.

  7. Tim P

    18 Jan 2019 Pre-Release Testers Rochester, NY

    @Jean-YvesPochez you can use canvas.backdrop for that purpose.

    Which, among the example code for drawing an image, is clear in the documentation.

or Sign Up to reply!