General information
Category:
Forms & Form designer
Hi Jon,
>>>Here is a copy of this thread, maybe you can think of
>>>somthing I did not see.
>>>
>>>Thanks
>>>
>>>Doron
>>>
>>Two ideas just to try:
>>1) Put grid.Refresh() in Grid.AfterRowColChange(). It would decrease the perfomance, but let's see, if it would help.
>>2) If the first would not help and your form calls another form, try this idea:
>> In Form Load (after all you code)
>> public oCurrentForm && I tried to make it private in calling program, but this doesn't work, if form is modeless
>> oCurrentForm=this
>>
>> This.SetAll("DynamicBackColor","oCurrentForm.Condition()","Column")
>
>Will this work in the Load event? Aren't objects only accessible after the >load event. Shouldn't it be in the grid's init event, or the form's?
You are correct it should be on the grid's init method, and that's
what I did. It can not work via the form load method.
>> Make Condition() to be form method, not grid method.
>>
>> Let me know, if these ideas help.
Doron
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only