Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugger Woes
Message
 
 
À
19/12/2000 04:09:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00454951
Message ID:
00455346
Vues:
35
Mark,

What is the RecordSource of the grid? If it's a cursor and you are reissuing the SELECT to generate it then you are causing the grid to self destruct and rebuild itself, when it rebuilds it uses baseclass controls and default settings for everything.

The best way around this is to use a View. You can also temporarily empty the RecordSource, do the SELECT and then reset the RecordSource

>I have grid that contains a column value that is supposed to be readonly.
>
>I have tried to set a breakpoint to tell me when this value changes erroneously to .f.
>
>I can access the column in the watch window as follows.
>
>_screen.Activeform.Itemgrid.Unitcolumn.Unit.readonly
>
>However when I try to set a break point using this , the breakpoint dialog strips off the _screen part so the expression is not evaluated.
>
>Can anybody tell me a way of doing this.
>
>I have tried setting asserts at various points in my code to trap this elusive event but to no avail.
>
>I realise that I can step through the code a line at a time whilst checking the watch window but this will be a long process
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform