Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can not get the logic right
Message
 
 
À
23/06/2009 09:15:47
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01407699
Message ID:
01407760
Vues:
56
Hi Agnes,

I think it's the first time I was called Tracy in my life :)

The problem is, that my code doesn't resize the objects. It supposed to resize them, but it doesn't. That's why I need help.

I think #0 anchor settings should not contribute to the problem, it is also for resizing the form in run-time. In my case I resize the container in design-time, but in the Init of the container I adjust positions/dimensions of the inner objects, so they supposed to be properly resized. Why it doesn't work - I can not figure out myself.

>Tracy,
>
>I have no idea what you are doing. All what I see is that some objects have a anchor value#0 and you try to move/resize them.
>
>For all what I know:
>1. store anchor value
>2. set anchor to 0
>3. move (instead of single top,left, hight and width, this will fire moved and resize event of the object only once)
>4. set anchor to stored value
>
>I've never done design time resize, I normaly do the calculation at runtime. (A coworker notoriously move the objects if he click on them)
>
>BTW,
>
>I've answered a specific question in this thread. Please, you do not need to notify me for other branches.
>
>Agnes
>
>>I hoped it would be easy for people here to spot the problem in what I'm doing.
>>
>>Anyone, please?
>>
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform