Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Screen Resolution conflict
Message
From
04/01/2005 14:01:10
 
 
To
04/01/2005 02:14:33
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00973613
Message ID:
00974158
Views:
27
>Dear Sir,
>
>I refer to your following paragraph
>
>"You have to create both the .WidthRatio and the .HeightRatio properties. Open the form, and give the command "Form | New Property". Or select "Form | Edit Property/Method", to see what properties and methods are already defined"
>
>So, I have defeined both properties WidthRatio and HeightRatio to form. But unfortunately it does not still
>work.
>
>I want when I resize form, in horizontal position, with mouse the objects of form must change there width.
>
>Now what is problem? please review the form and give me some more advices
>
>Thanks in advance

I test the code also, I notice sometime the [toControl] is not an object(show as .F. in the debugger), to overcome the problem, I just add some code to detect when [toControl] is not an object, then just don't run those resize code, see the example below.


LPARAMETERS toControl
LOCAL loPage, loControl, loColumn, lnColumnWidths[1], lnCol

IF TYPE('toControl') # 'O'
RETURN
ENDIF
.
.
.
.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform