• Not Answered

Is there a way for a picture to move on a value or condition?

I'm looking for a way for a picture to move on a value or condition. I have tried:

result = frsPositionForm(Me, 500, 500)
Me.horizontalPosition = 500                         (this causes a fault)
Me.SetWindowLocation 200, 200, 10, 10, False

None of these have worked; any ideas?

Thanks

Process Control Technician
Intrepid Potash

1 Reply

  • You may use:

    Me.WindowTopInPixels = TopPosition
    Me.WindowLeftInPixels = LeftPosition

    Me.Move XOffset, YOffset

    Remember that in the iFix Help in the SetWindowLocation % is used! So in your attempt the picture move out of the screen...
    Me.SetWindowLocation TopPct, LeftPct, HeightPct, WidthPct

    Good luck!