Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resize method causes the error
Message
From
10/01/2023 10:30:41
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Contracts, agreements and general business
Miscellaneous
Thread ID:
01685755
Message ID:
01685758
Views:
34
>>>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.
>>
>>Why not just set some minimal width?
>>
>>this.width=max(40, tnNewWidth)
>
>I will try this. Thank you.

The 40 is an example here, I don't really know what the actual minimal width is, you'd have to find this by trial and error, or search (and I think just testing it by binary chop would be faster).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform