S
Stilgar[bbs.isca.uiowa.edu]
Here's my newbie question:
I have several VB forms which are all inherit a standard template form
that I made. In my template form, I added a menu bar with some
generic cut, copy, and paste functionality.
I'd like to have the paste button disabled when the clipboard is
empty, but I'm not sure how I should do this. Ideally, I suppose I'd
like to constantly monitor the clipboard for data, (in a thread?) but
I'm not even sure how I'd monitor the clipboard.
while (1==1)
if clipboard != mt
enable paste
else
disable paste
Or maybe there there's an event that I could monitor?
on Event
if clipboard != mt
enable paste
else
disable paste
What's the best way to tackle this?
TIA
I have several VB forms which are all inherit a standard template form
that I made. In my template form, I added a menu bar with some
generic cut, copy, and paste functionality.
I'd like to have the paste button disabled when the clipboard is
empty, but I'm not sure how I should do this. Ideally, I suppose I'd
like to constantly monitor the clipboard for data, (in a thread?) but
I'm not even sure how I'd monitor the clipboard.
while (1==1)
if clipboard != mt
enable paste
else
disable paste
Or maybe there there's an event that I could monitor?
on Event
if clipboard != mt
enable paste
else
disable paste
What's the best way to tackle this?
TIA