Jose's Read Only Forum 2023

IT-Consultant: Charles Pegge => OxygenBasic => Topic started by: Chris Chancellor on November 25, 2018, 06:27:35 PM

Title: Equivalent of PB CLIPBOARD RESET command
Post by: Chris Chancellor on November 25, 2018, 06:27:35 PM
Hello Charles

in PB there is a CLIPBOARD RESET command  which clears all the contents of a clipboard

what is its equivalent command in O2 ?

Title: Re: Equivalent of PB CLIPBOARD RESET command
Post by: Chris Chancellor on November 26, 2018, 05:14:05 PM
Please help anyone?
Title: Re: Equivalent of PB CLIPBOARD RESET command
Post by: José Roca on November 26, 2018, 05:26:58 PM
There is no equivalent. Use the clipboard api functions OpenClipboard / EmptyClipboard / CloseClipboard.
Title: Re: Equivalent of PB CLIPBOARD RESET command
Post by: Chris Chancellor on November 26, 2018, 08:14:11 PM
Thanxx a lot  Sir Jose


i have build the new code to replace  CLIPBOARD RESET command


'==================
' To clear the ClipBoard
Sub ClipB_Reset
         OpenClipboard Null
          EmptyClipboard
          CloseClipboard
End Sub