Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Column ControlSource && DynamicBackColor Assign
Message
From
13/02/2002 10:22:00
 
 
To
13/02/2002 10:00:26
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00619330
Message ID:
00619473
Views:
21
>OK Greg,
>I surrender on subclassing :)
>Back to your original question at what point you need to know the change dynamicbackcolor/controlsource ?
>
>At the least it would invoke grid access (this_access). However that sounds to be an overload for grid.
>
>How might a dynamicbackcolor change ?
>1) In code
>2) ?
>
>How might a controlsource change ?
>1) In code
>2) Grid.recordsource
>3) ?
>
>In code portions are under your direct control. Grid.recordsource would need one _assign method.
>
>Honestly I started to suspect I understood your original question.
>Cetin

ControlSource Changes
(1) in code, but not that often, only when the # of columns can change (not known at form.Load())
(1 a) prior to the gridClass.Init()
(2) Grid.RecordSource: not that often, can cope with that

DynamicBackColor changes

(1) set via designer (old stuff, hate to touch it)
(2) via code
(2 a) grid.init() (sample on one of the previous)
(2 b) gridclass.init() -- under control
(2 c) sometimes (under program control) when the order of the grid changes, ie 4 of 5 colours that nicely show the groups, eg customer 1,1,1 2,2,2 3,3,3,3 ...
(2 d) a number of other places, including the SetAll()
(2 e) .. something I cannot think of right now

The thing is that I wanted to do it nicely (and lazily) via the assign method


Thanks for the help
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform