Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tricks are for Grids (homage to Drew Speedie)
Message
De
14/06/2021 07:22:28
 
 
À
12/06/2021 15:35:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Documentation de produit
Divers
Thread ID:
01681164
Message ID:
01681190
Vues:
59
>I have a grid which i set the HeaderHeight property to Zero and the Header Wordwrap property to true. It looks perfect at design time time but goes fubar at runtime. My first thought was that the grid was being destroyed somehow and reconstructing, but i keep disabusing my self of that notion. I don't seem to be able to work it out. Some light in the darkness would be greatly appreciated.

Even before the debug hint in post to Dragan I'd try to work explicit AFTER grid construction. simple test in command window
USE (DBF()) IN 0 ALIAS dbPlay AGAIN
SELECT dbPlay
BROWSE NAME og
og.HeaderHeight = m.og.HeaderHeight * 2
works as expected creating enough height for 2 texz lines. If wanted result can be established with hammering on visible control at the end, go for it, Try later to minimize optical hickups by loading offscreen or set to invisible till totally correct. Try first with function, later with method or member classes to minimize unintended side effects. Only if that fiddling creates time lags unacceptable, spend more of your budget.

HTH
thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform