Okay,
it's working...I might have done an error...
For the movement a FrmSetObjectPosition works well too ...
thanks a lot ;o)
Gilles

----- Original Message -----
From: "ThuNguyet Nguyen" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 5:31 PM
Subject: Re:Hide and Show bitmap object as other objects,and then, move it..


> >I want to Show and Hide bitmap just as other object (label, for example)
but
> >it seems that the function FrmShowObject does not work.
>
> FrmShowObject always works for me. I hide/show bitmaps/graphic buttons.
> Let say I have 3 graphic buttons btn1, btn2, btn3. They are the same size
and same position.
> What I always do is:
> To show btn2
> HideObject(btn1);
> HideObject(btn3);
> ShowObject(bnt2);
>
> To show btn1
> HideObject(btn2);
> HideObject(btn3);
> ShowObject(btn1);
>
> and so on ...
>
> void HideObject(UInt16 id)
> {
>     UInt16 obj_index;
>
>     obj_index = FrmGetObjectIndex(FrmGetActiveForm(), id);
>     FrmHideObject(FrmGetActiveForm(), obj_index);
> }
>
> void ShowObject(UInt16 id)
> {
>     UInt16 obj_index;
>
>     obj_index = FrmGetObjectIndex(FrmGetActiveForm(), id);
>     FrmShowObject(FrmGetActiveForm(), obj_index);
> }
>
> Have you try that?
>
> I don't know how to move object, though.
>
> tnn
>
>
>
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to