Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does ReadExpression work?
Message
From
19/10/2001 12:54:12
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
19/10/2001 11:57:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00570921
Message ID:
00570981
Views:
16
>
>...
>loCol = loGrid.Column5
>lcProp = "ReadOnly"
>? loCol.ReadExpression(lcProp)
>
>
>I expect the above code to return the value of Column5.ReadOnly, but I get an empty string. What am I missing?
>
>I have opened a form, selected a grid, and run a short program. The code above is part of this program. The idea of my small builder program is to insert a column (all properties should be copied from column5 to column6, then from column4 to column5, etc.).
>
>TIA, Hilmar.

Hilmar,
Do you have something starting with '=' there ? Or plain .t., .f. ?
If you enetered a function then it would return it. ie:
oCol.REadOnly = '=reccount()>50'
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform