PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms short int limit on location property

Reply

short int limit on location property

 
Thread Tools Rate Thread
Old 01-06-2005, 02:37 PM   #1
=?Utf-8?B?anRlbmNhdGU=?=
Guest
 
Posts: n/a
Default short int limit on location property


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
  Reply With Quote
Old 01-06-2005, 03:40 PM   #2
Armin Zingler
Guest
 
Posts: n/a
Default Re: short int limit on location property

"jtencate" <jtencate@discussions.microsoft.com> schrieb
>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
  Reply With Quote
Old 01-06-2005, 03:52 PM   #3
Pete
Guest
 
Posts: n/a
Default Re: short int limit on location property


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.



"jtencate" <jtencate@discussions.microsoft.com> wrote in message
news:5D5CCE01-B94F-476D-ACA0-70D1C3CC5E07@microsoft.com...
|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

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off