>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only