[vbs2] Re: [vbs2] lektion 16 b från malin

  • From: "yrja" <yrja@xxxxxxxxxxx>
  • To: <vbs2@xxxxxxxxxxxxx>
  • Date: Wed, 1 Feb 2006 00:11:43 +0100

:-)

Jättebra - tanken är god och det fungerar fint även vid resize.
MEN - de små pixlarna som blir fel syns inte.
Om miitV1=0 - så vill du ju att placerignen ska vara == - kant i kant med
fönstret - eller hur.
Men när du kommer till

elseIf mittV1=3 Then
  mcbild2.style.left=mittV1
  mcbild2.style.top=mittV3

-- ja då placerar du ju bilden 3 pixlar från vänsterkanten (mittV1=3)
Tänk om någon vill ha en annan mariginal - och sätter dit 100 på mitttV1??

Det går jättebra att ha ett räkneverk - men du ska nog inte blanda det med
placeringarna.

Annars går det bra att skriva en if-then-else-sats som BARA använder sig av
placeringarna - och INGET räkneverk alls.

Men det får du välja själv.

Själva-if-satsen är bra - men värdena måste alltså ändras på något sätt.
:-)

/YRJA



>     THE ROSE
>
>   Some say love, it is a river, that drowns the tender reed
>   Some say love, it is a razor, that leaves your soul to bleed
>   Some say love, it is a hunger, an endless aching need
>   I say love, it is a flower, and you, it’s only seed
>
>   Its the heart afraid of breaking, that never learns to dance
>   Its the dream afraid of waking, that never takes the chance
>   Its the one who won’t be taken, the one who can’t seem to give
>   And the soul afraid of dying, that never learns to live
>
>   When the night has been too lonely and the road has been too long
>   And you think that love is only for the lucky and the strong
>   Just remember that in the winter, far beneath the bitter snow
>   Lies the seed, that with the sun’s love in the spring becomes the rose.
>
>   Bette Midler - Conway Twitt


Other related posts: