Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement