Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MemberClass Question
Message
 
To
25/10/2005 11:54:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01061888
Message ID:
01061910
Views:
8
Ok, thanks

>>I want to replace grid column headers with a custom header.
>>
>>Can I use the MemberClass property somehow to do this? How?
>
>If you'd change the column class yes. Otherwise you need HeaderClass*. After creating a grid on form you could do this:
>-Select the grid
>-Go to command window
>-Invoke a code editor - ie: modi comm
>
>LOCAL lcCaption
>Aselobj(aGrd)
>With aGrd[1]
>  For ix=1 To .ColumnCount
>    With .Columns(m.ix)
>      lcCaption = .Header1.Caption
>      .HeaderClassLibrary = "myHeaderLib.prg"
>      .HeaderClass = "myHeader"
>      .myHeader1.Caption = m.lcCaption
>    Endwith
>  Endfor
>Endwith
>
>-Select code and execute (adjust classlib, class, object names).
>Cetin
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Reply
Map
View

Click here to load this message in the networking platform