LindaRichard
Programmer
Hi,
I have a menu bar that contains cut/copy/paste items
_med_copy etc... This menu bar was created using the wizard
and displayed using
do menuiso.mpr ( I am using VFP 8.0 sp1)
This works fine various cut/copy/paste items are enabled/disabled depending what type of control is being
edited on the form.
I also have a toolbar in a form that has 3 command buttons
which shows the standard cut/copy/paste icons.
When the form containing the buttons is refreshed I would
like the buttons to be enabled/disabled depending on whether
the cut/copy/paste is available. Does anyone know how I
can determine it an item in a menu bar is enabled/disabled
or if there is any other was of finding out if cut/copy/paste are available.
VFP controls the enabled property of the menu items in my
menu bar. VFP handles automatically turning on/off the
items depending on whether there is someting to
cut/copy/paste. How can I tap into this, is there
a way of knowing this when I refresh my buttons and
control their enabled property.
Thanks for your help
Linda
I have a menu bar that contains cut/copy/paste items
_med_copy etc... This menu bar was created using the wizard
and displayed using
do menuiso.mpr ( I am using VFP 8.0 sp1)
This works fine various cut/copy/paste items are enabled/disabled depending what type of control is being
edited on the form.
I also have a toolbar in a form that has 3 command buttons
which shows the standard cut/copy/paste icons.
When the form containing the buttons is refreshed I would
like the buttons to be enabled/disabled depending on whether
the cut/copy/paste is available. Does anyone know how I
can determine it an item in a menu bar is enabled/disabled
or if there is any other was of finding out if cut/copy/paste are available.
VFP controls the enabled property of the menu items in my
menu bar. VFP handles automatically turning on/off the
items depending on whether there is someting to
cut/copy/paste. How can I tap into this, is there
a way of knowing this when I refresh my buttons and
control their enabled property.
Thanks for your help
Linda