Hi Pritpal,

I think the better way to do this is to override
:doConfigure() and do this calculation locally
after getting back control from the super :doConfigure().

If this is doable, this is what we should do instead
if implementing app specific code into the core
(even if done in a "hidden" way).

Brgds,
Viktor

On 2008.05.23., at 16:04, Pritpal Bedi wrote:


Hello Viktor


Szakáts Viktor wrote:

2008-05-23 10:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
  * contrib/gtwvg/tests/demowvg.prg
  * contrib/gtwvg/wvtclass.prg
    + TBrowseWVT class moved to contrib core, to make it
      available for all WVT apps.


Thanks.
Actually initially I placed the class in WvtPaint.prg but them moved to devowvg.prg just to draw a little focus on this issue. As per now it is too heavy because ::aColumnsSep is being calculated each time a WM_PAINT message
is received for that region which is triggered with every movement in
Tbrowse.

Is not it possible to introduce this in TBrowse itself and calculated in ::doConfigure() ? (I remember your posts) but have a strong point as it does
not interfere with compatibility issue. Przemek ?

Regards
Pritpal Bedi

--
View this message in context: 
http://www.nabble.com/CHANGELOG%3A-2008-05-23-10%3A30-UTC%2B0100-Viktor-Szakats-%28harbour.01-syenar-hu%29-tp17421536p17426364.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to