>>>Hello everybody!
>>>
>>>I use in my program the Cut/Copy/Paste functionality via system menu item. Now, I want to make a corresponding toolbar icon to each menu item. I know, that sys(1500...) can call the functionality of this system menuitems, but I donnot know, how control the enabled/disabled state of the toolbar icons, because state of menuitems is automatically controled by VFP.
>>>
>>>TIA
>>>
>>>BB
>>
>>
>>You need to have a timer that checks the condition of _CLIPTEXT and sets the enabled/disabled status of the buttons.
>
>Hello Craig!
>
>Thanks for your answer! _CLIPTEXT does contain only text that was put by VFP, or if other application put some text onto clipboard?
>
>BB
Any application.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer