Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen Resolution conflict
Message
De
04/01/2005 14:01:10
 
 
À
04/01/2005 02:14:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
00973613
Message ID:
00974158
Vues:
28
>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
.
.
.
.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform