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:
00002817
Vues:
29
>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.

Hi Greg,
Remember this about buffering mode in forms and cursors:
i) In FORMS you have 3 buffering modes (0-none, 1-pesimistic, 2-optimistic)

ii) In CURSORS you have 5! buffering modes (0-none, 1-set to form's default, 2-pesimistic row, 3-optimistic row, 4-pesimistic table, 5-optimistic table)

iii) So, if i understand what you say, it is valid that you have a FORM with pesimistic buffering 1, and got that the CURSOR buffering mode is 2 (pesimistic too)

iv) By default VFP assigns buffering modes to cursors, depending on what kink of control it is bounded. Personally i preffer to set buffering modes directly to my cursors (after all they are mine :))

v) Also check that you are dealing with forms and not with formsets (what you created as a class was a form not a formset, right)

vi) Greg, i think you must be optimistic about climbing the learning curve of VFP :)

Bye
J. Luis Santiago Rodríguez.• CADIS • E-mail: jlsantiago@iserve.net.mx• Ciudad de México.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform