>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.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer