Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize method causes the error
Message
 
 
À
10/01/2023 11:28:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrats & ententes
Divers
Thread ID:
01685755
Message ID:
01685764
Vues:
30
>>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.
>
>Check MinWidth in Help...!

It looks like this property (in Help) is only applied to form or _screen. When I view all the properties of the grid, I don't see this property.
"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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform