Dynamic placement of composites on composites [message #465100] |
Tue, 06 December 2005 08:28 |
Eclipse User |
|
|
|
Originally posted by: mwilli.iastate.edu
Hi, I'm writing a program to play poker, and as user's join the table,
their cards and such need to appear on a composite. As users join or
leave, their cards and such are created and disposed of accordingly.
Unfortunately, I can't get the players to appear on the parent composite
when they join the room. They are set to visible, but still nothing. Any
ideas of how to create a composite and make it visible on another
composite during runtime?
Thanks, Mike
|
|
|
|
Re: Dynamic placement of composites on composites [message #465129 is a reply to message #465107] |
Tue, 06 December 2005 15:00 |
Eclipse User |
|
|
|
Originally posted by: mwilli.iastate.edu
Thank you so much, you are a lifesaver. It worked beautifully.
Mike
Stefan Langer wrote:
> Have you relayouted the parent composite after the new composite was
> created? If you are using a canvas you might also need to redraw.
>
> Look at layout() and all its derivates.
>
> Regards
> Stefan
>
> Mike Williams wrote:
>> Hi, I'm writing a program to play poker, and as user's join the table,
>> their cards and such need to appear on a composite. As users join or
>> leave, their cards and such are created and disposed of accordingly.
>> Unfortunately, I can't get the players to appear on the parent
>> composite when they join the room. They are set to visible, but still
>> nothing. Any ideas of how to create a composite and make it visible on
>> another composite during runtime?
>>
>> Thanks, Mike
|
|
|
Powered by
FUDForum. Page generated in 0.03477 seconds