How to rotate Image widget in Openedge GUI? - Forum - OpenEdge Development - Progress Community

How to rotate Image widget in Openedge GUI?

 Forum

How to rotate Image widget in Openedge GUI?

This question is not answered

Is there a way to rotate Image widget in Openedge GUI to all 360 degrees?

All Replies
  • The OpenEdge image widget doesn't support rotation. If you can use .NET in your application, rotation can be done with the RotateFlip method of the Image class in a PictureBox control.

  • Is there a way to embed .NET Picturebox control to Openedge classic Window(.w program)? If this is possible then I may use use .Net PictureBox control in place of Progress Image widget.

  • You can't embed a .NET control in an OpenEdge window. You can embed an OpenEdge window in a .NET form. So you could have a .NET form which has the contents of your .w (minus the image) and a PictureBox for the image.

  • Another way to use .Net to do this would be to load the image into a .Net Image object, rotate it, save it, then open it in the Progress GUI image widget. Not an ideal method but would allow you to continue using the GUI widget.

    A quick search yielded this URL. stackoverflow.com/.../c-sharp-image-rotation

    The last example is pretty close to what you'll need to do once translated into ABL.