Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffering in subclassed form.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00002796
Message ID:
00002813
Vues:
32
>>>Has anyone ran across this one? I have
>subclassed
>>>the base class form (among others), and I set
>the
>>>BufferMode to Pessimistic. When creating a form
>>in
>>>the form designer and pulling in the class I
>>made,
>>>I try and turn the default (inherited)
>BufferMode
>>>to 0 - no buffering. When I run the form
>>Buffering
>>>is still active. I ran a debug session to check
>>it
>>>out. cursorgetprop("buffering") is 2. Have I ran
>>>across ANOTHER beautiful bug? and if so is there
>>a
>>>workaround?
>>
>>Greg
>>
>>Watch your environment. Buffer mode can be set
>at
>>several places including For, Data environment
>>(cursor), code, etc. Maybe you want to track it
>>and be positive where it is occuring. If nothing
>>else maybe you could set it in the INIT section.
>>
>>Tom
>
>Agreed. Also, check to make sure it isn't
>protected or anything screwy like that.
>
>Scot.

I can't explain it. When I change the property in my class to no buffering, it turns buffering off, meaning this is the only controlling property, if buffering was being called somewhere else, it too would override my class property. My inherited form's buffermode property is totally ignored. I will try and create a new form class, maybe a bug slipped in my class somehow.
** ** ** ** ** ** ** ** ** ** **
Gregory Cummines
Visual FoxPro 3.0/5.0
C/C++ Applications
** ** ** ** ** ** ** ** ** ** **
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform