Advanced PowerBuilder

HomePrevious Lesson: Cutting the OLE Control Object
Next Lesson: PasteSpecial()

Pasting an Object In the OLE Control

This function pastes into the control from the clipboard. If you have place some text and call this function, it will not paste into the control. It will paste if you are pasting into the edit control, but, not in the OLE control. To paste in the OLE control by calling this function, the content on the clipboard should be a OLE object. The syntax is:
OLEControlName.Paste()
HomePrevious Lesson: Cutting the OLE Control Object
Next Lesson: PasteSpecial()