Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize method causes the error
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrats & ententes
Titre:
Resize method causes the error
Divers
Thread ID:
01685755
Message ID:
01685755
Vues:
42
Hi,

I have a form with a grid in the left side of the form. The grid is data driven (that is created when the form is instantiated).
What happens is when a user resized the form to such small size that the left-side grid is just a line (or maybe two vertical lines), the run-time error occurs:
Error with left_pane_grid - width : Expression evaluates to an illegal value
How do you suggest to prevent this problem?

UPDATE. There is a custom (my) code in the method RESIZE. The code in this methods set the .Width of the grid.
I need to "catch" it before it gets too small.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform