Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ken Murphy
  Where is Ken Murphy?
 Springhill
 Canada
 Ken Murphy
 To: Srinivas Sarma
  Where is Srinivas Sarma?
 jamshedpur
 India
 Srinivas Sarma
 Tags
Subject: RE: HIDE AN OBJECT IN A PARTICULAR ROW OF GRID
Thread ID: 104094 Message ID: 104097 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Grids
Date: Friday, August 11, 2006 12:38:33 PM         
   


> Hi
>
> My grid in second column is having a container class (having textbox and command buton) as current control. I want to hide the command button
>
> 1. Once some value is keyed in text box
> 2. It should be visible only on the row where the textbox is focussed.
>
> How to solve it using active row of grid or other ways. Pl. help
>
> Regards
>
> srinivas


1 In the textbox's .InteractiveChange() or .Valid() you can check the the value of that textbox and if appropriate. This.Parent.CmdButton.visible = .f.

2 Check Marcia's article on dropping a combo onto a grid. She covers how to do this - for a combo, but the principles are the same. You can find her article at www.tightlinecomputers.com

Ken

You shall know the truth - and the truth shall set you free. (John 8:33)

ENTIRE THREAD

HIDE AN OBJECT IN A PARTICULAR ROW OF GRID Posted by SRINIVAS SARMA @ 8/11/2006 12:29:23 PM
RE: HIDE AN OBJECT IN A PARTICULAR ROW OF GRID Posted by Ken Murphy @ 8/11/2006 12:38:33 PM
RE: HIDE AN OBJECT IN A PARTICULAR ROW OF GRID Posted by Carmen V @ 8/11/2006 1:48:22 PM
RE: HIDE AN OBJECT IN A PARTICULAR ROW OF GRID Posted by Marcia Akins @ 8/12/2006 10:59:50 PM