Tracy,

I may be misunderstanding your focus, but the AddComboItem loop is in 
the Init of the form, before the form ever displays. Once the form 
displays, there are no speed issues and the combo is never loaded 
again....until a new instance of the form is called for.

The code in each of the ctGrid methods and events have to do with 
recalculating tax (calling a form method) popping up a messagebox if 
they enter an unknown "off the list" SKU, etc. None of them cause the 
ctGrid to redraw, adjust, or be modified in any way, either on purpose 
or not-on purpose.

I turned off Windows Themes in the Win7 Control Panel>Personalization, 
no change.

Set sys(2700,1) in the beginning of my MAIN.PRG, and it actually 
increased the times, on both the FAST and the SLOW scenarios.

Bizarre!

Mike

> Mike,
>
> Have you changed appearance settings on the control that you didn't set in
> the sample exe?
> No change with Theme's disabled? Something is nagging me about the control
> and display causing the lag.
>
> Do any of these places have code that might redraw the control? Can you
> return out of each of these places if a form property is set, which you set
> prior to your AddComboItem loop?
>
>> There is code in other events of the ctGRID...
>>       AfterCellExit
>>       AfterCellWrite
>>       BeforeCellEdit
>>       CellDblClick
>>       CheckClick
>>       FirstDraw
>>       LostFocus
>>       RightClick
>
>
>
> Tracy Pearson
> PowerChurch Software
>
>
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to