Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can grid header forecolor be set in PEM?
Message
From
18/09/1998 16:38:22
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00138302
Message ID:
00138469
Views:
16
>>>set some of my grid.column.header.forecolor properities to color in the PEM. the color changed in the projectmanager. they did not change when i executed my app. i tried setting the forecolor in the init at run time and it worked. but i am bothered that it did not work at design time. WHY? (not why am i bothered, but why does it not work in the designer.)
>>>
>>>thanks - brenda
>
>>Brenda,
>>Is it a baseclass grid ? Or might class code changing it ?
>>Cetin
>
>Cetin
>
>unfortunately i do not know the fp terminology. my grid is a class. when i look at the PEM of my grid class, the BaseClass = grid.
>
>brenda
Brenda,
Sorry baseclass property is always grid. Check grids properties :
Class = Grid, Classloc = (none) then it's default baseclass. Otherwise it's a subclass. If a subclass (as I understand it's a subclass), then some code in that class is playing with headers. It does it most likely in init. To see if that's the case place :
suspend
dodefault()
in init and when it suspend trace in debug.
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