Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide fields at my grid
Message
From
07/03/2006 03:55:53
 
 
To
07/03/2006 03:50:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01101965
Message ID:
01101971
Views:
12
ok, it works
at grid1 event (afterrowcallchange)
thisform.grid1.column6.visible=.f.
thisform.grid1.column7.visible=.f.

thanks.
>hi,
>thank you for reply,
>I TRY VIA PROPERTIES NOT WORKS...>column.visible=.f.
>
>
>
>>column.visible=.f.
>>
>>Select bookno,sticket,eticket,NOOFTICKET,BOXNO,shipno,trans_type from trans1 into cursor csrmyCursor readwrite where .F.
>>SELECT csrMyCursor
>>With thisform.Grid1
>>  .RecordSource = "csrMyCursor"
>>  .Columncount = 7
>>  .Column1.ControlSource = "csrMyCursor.bookno"
>>  .Column2.ControlSource = "csrMyCursor.sticket"
>>  .Column3.ControlSource = "csrMyCursor.eticket"
>>  .Column4.ControlSource = "csrMyCursor.noofticket"
>>  .Column5.ControlSource = "csrMyCursor.boxno"
>>  .Column6.ControlSource = "csrMyCursor.shipno"&&&&&&HIDE AT MY FORM(GRID1)
>> .Column7.ControlSource = "csrMyCursor.trans_type"&&&&&HIDE AT MY FORM(GRID1)
>>  .column6.visible=.f.
>>  .column7.visible=.f.
>>    append blank
>>  .Refresh()
>>ENDWITH
>>
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform