short int limit on location property

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am creating a filmstrip much like in powerpoint but am running into a
problem when setting the location for images inside the panel that holds the
filmstrip.

I am not able to go past the limit of 32767, the upper limit for a short int
when setting the location for the individual images. This seems to be the
ultimate size that a panel can be made. I will occasionally need to be able
to have filmstrips that require more space due to their length.

I am looking for suggestions on how I might be able to get around this limit
from anyone that may have run into this problem before.

-John
 
jtencate said:
I am creating a filmstrip much like in powerpoint but am running into
a
problem when setting the location for images inside the panel that
holds the filmstrip.

I am not able to go past the limit of 32767, the upper limit for a
short int when setting the location for the individual images. This
seems to be the ultimate size that a panel can be made. I will
occasionally need to be able to have filmstrips that require more
space due to their length.

I am looking for suggestions on how I might be able to get around
this limit from anyone that may have run into this problem
before.

-John


Don't use controls but render the images only inside the panel.

Armin
 
That could be a real nuisance since you cannot even use a second panel positioned X=32768:

Off the top, I would go for stacked hidden panels : monitor the movement of each panel and show-hide
accordingly.

/Pete.



|I am creating a filmstrip much like in powerpoint but am running into a
| problem when setting the location for images inside the panel that holds the
| filmstrip.
|
| I am not able to go past the limit of 32767, the upper limit for a short int
| when setting the location for the individual images. This seems to be the
| ultimate size that a panel can be made. I will occasionally need to be able
| to have filmstrips that require more space due to their length.
|
| I am looking for suggestions on how I might be able to get around this limit
| from anyone that may have run into this problem before.
|
| -John
 
Back
Top