>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/