Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resize method causes the error
Message
 
General information
Forum:
Visual FoxPro
Category:
Contracts, agreements and general business
Miscellaneous
Thread ID:
01685755
Message ID:
01685762
Views:
23
>>>I just tried the above suggestion with 100 and it works. That is, the grid becomes invisible, when I resize the form. No error message (which is the goal hear).
>>>I will try some other numbers. But I think - guess - that as long as the number is greater than 0, the error will not happen.
>>
>>Not so sure that 1 would work, because the basic elements of the grid require space - the border, the delete mark, current record mark, vertical scrollbar, their dividing lines. It may complain if there's no room for those, which is why I suggested testing different values.
>
>You are right. Even 10 does not work. I agree, testing with various other values is the way to resolve this.
>Thank you.

This bug exposed a bunch of other problems (not errors). I have several buttons below and above the left-side grid. They have to be set invisible as the user resizes the form and then set visible again. Good thing that VFP does it pretty fast and I don't notice a slow down of some buttons visible property being set to .F. and then to .T.
"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
Previous
Reply
Map
View

Click here to load this message in the networking platform