Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command button in grid
Message
From
23/11/2005 03:39:27
 
 
To
23/11/2005 03:05:35
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01071465
Message ID:
01071497
Views:
22
>Visible property is 1/0 not code.

This is NOT true, that's why you have the Expression Builder, the small button which says fx. just enter !Empty(this.controlsource) there, and it will show as =!Empty(this.controlsource) in the property sheet. And you must change the Sparse property, as I wrote.

>I entered the followin code in the grid.init:
if empty(crsrprc.comments)
>This.Column6.Command1.Visible=.f.
>endif
but it's didn't do nothing.

That's because this will evaluate only ONCE, namely when the grid is created.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform