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: Khurram Tahir
  Where is Khurram Tahir?
 Karachi
 Pakistan
 Khurram Tahir
 Tags
Subject: RE: Check control not hide on setting
Thread ID: 143400 Message ID: 143406 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Projects and Design
Date: Tuesday, August 28, 2007 4:08:14 PM         
   


> My check31 not hide if issue the following all is in the interactinve change event
>
>
IF THIS.Value = 1 && SELECTED
>    THISFORM.CmbAccna.ListIndex = 0
>    STORE 0 TO THIS.Value 
> ENDIF 
> 
> IF THIS.Value = 0 
>    STORE .F. TO THIS.Visible 
>    THIS.Refresh()
>    THISFORM.Refresh() 
> ENDIF   


Khurram,

I am unsure of what it is that you wish to have happen. Can you explain what your deisred results are and how your code does not produce those desired results.

It sounds as if you want to make a checkbox visible or not visible in the interactive change event. Is the checkbox located in a column? Is it located outside of the grid? You use This.Value in your IF statement, but what is the controlsource behind that "This"?

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

ENTIRE THREAD

Check control not hide on setting Posted by Khurram Tahir @ 8/28/2007 3:47:17 PM
RE: Check control not hide on setting Posted by Ken Murphy @ 8/28/2007 4:08:14 PM
RE: Check control not hide on setting Posted by Khurram Tahir @ 8/29/2007 7:41:29 AM
RE: Check control not hide on setting Posted by Ken Murphy @ 8/29/2007 2:31:15 PM
RE: Check control not hide on setting Posted by Cetin Basoz @ 8/28/2007 11:44:23 PM