Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Limiting out
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00547353
Message ID:
00547371
Vues:
9
Hi!

dodefault() is not required in the Refresh event when you have no any other code there.
The limit is strange, it does not crash always, however, in one my app I did had crash and it disappeared as soon as I limited field length to 200.
Try to use expression like padr(alltrim(worksum1)+" "+alltrim(worksum2),200), this probably can help.
Finally, if this read-only record set is just a result of the query, you can prepare this field in the query, so grid will have to show only the field.

HTH.

>Thanks for the fast reply.
>
>Yes, I do have one grid row that displays the cocontenation of two 168 character fields. (A question in a previous thread) the WorkSum field control source is trim(worksum1)+" "+trim(worksum2). because that is the way the fields were set up on the mainframe before we dumped the data...
>I also have the grid highlight installed using the following notes...
>Grid Highlight:
>To have an entire grid row highlight when you select an item in that row...
>1) Create a property for the form called ngridrecno (P,no,no,Public) Set the default value to 0 in the properties other tab.
>2) In the grid init event put
>this.setall("DynamicBackColor",;
>"iif(recno()=thisform.ngridrecno,rgb(193,255,255),rgb(255,255,255))","Column")
>3) In the grid AfterRowColumnChange event
>LPARAMETERS nColindex
>thisform.ngridrecno = recno()
>this.refresh()
>4) in the grid refresh event put
>Dodefault()
>5) in the form init put the thisform.ngridrecno = recno() so that the initial grid row is highlighted.
>
>I haven't tried to see if I can display all the records interactively in a browse window, But I will.
>
>Thanks for the ideas. I'll take out the highlight and see what happens.
>But I was not sure there was a limit on the 200 character length.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform