Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid ledger properties
Message
From
30/11/2001 09:21:15
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
30/11/2001 09:06:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00587942
Message ID:
00587957
Views:
21
>What determines if a grid is of the "ledger style" I looked through the grids properties and didn't see anything apparent. I want to be able to set the grid to ledger style at runtime and therefore can not use the builder.
>
>Thanks

See DynamicBackColor.
Usually a ledeger grid uses an expression similar to :

iif(recno()%2=0,rgb(255,0,255),rgb(255,255,0))

mygrid.Setall('DynamicBackColor',;
iif(recno()%2=0,rgb(255,0,255),rgb(255,255,0)),'Column')

It works for nonordered grids
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