Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Luis
  Where is Luis?
Subject: Help with this
Thread ID: 16025 Message ID: 16025 # Views: 3 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Monday, October 07, 2002 3:49:18 PM         

Hi to all, in all my APPS, i have a toolbar with cut, copy and paste buttons. What i'm trying to do is to make these buttons enable or disable when apropiate. I'm using a timer in my toolbar to check the content of _CLIPTEXT, if it's not empty i enable the paste button, and with the Cut and Copy buttons, i check the activeform, for the active control, if is a textbox or editbox, i check the property SELLENGTH, if it's >0 then i enable these buttons.

But what i wan't to know is:

Is there any windows function or variable that can handles if the object that has the focus is an editing region? for example with my code if i'm editing a text file, i can't use the cut and copy buttons.

Also for stop using the SELLENGTH i wan't to know if there's any windows function that tells you if there's text selected?

Thanks for your help
Luis Navas
For long you live and high you fly


Help with this Posted by Luis Navas @ 10/7/2002 3:49:18 PM
One question Posted by Jamie Osborn @ 10/8/2002 1:53:58 AM