Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread A potential workaround for the scrolling issue, not so much
Sun, Sep 23 2012 5:49 PMPermanent Link

Eric Schwarz

Avatar

I set the position of the form to centertop and I added a panel at the top who's color I set to the desktop color upon creation.  My plan was to create a buffer between the top of the app and the top of the browser client area.  Problem is, the drop shadow for the entire form still includes the panel, so it sticks out like a sore thumb.  Oh well, back to the drawing board.

---
Eric Schwarz
Mon, Sep 24 2012 1:03 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Eric,

<< I set the position of the form to centertop and I added a panel at the
top who's color I set to the desktop color upon creation.  My plan was to
create a buffer between the top of the app and the top of the browser client
area.  Problem is, the drop shadow for the entire form still includes the
panel, so it sticks out like a sore thumb.  Oh well, back to the drawing
board. >>

I'm not sure what you're describing when you say " the drop shadow for the
entire form still includes the panel" ?

Also, why not just place the form where you want it ?  Or, are you allowing
for dragging the forms ?

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Sep 24 2012 1:33 PMPermanent Link

Eric Schwarz

Avatar

I was trying to get around the disappearing top problem by setting the form position to CenterTop and adding a panel at the top of the form with the same color as the desktop so the form appears to be some distance from the top of the desktop.  Unfortunately, since the panel is still part of the form, the drop shadow along the right edge gives it away.  I've since removed the shadow so now it appears as if the form is, say, 50 from the top of the desktop and stays there even if the browser is resized to the point where it would disappear if I were using poDesktopCenter.

---
Eric Schwarz
Mon, Sep 24 2012 2:04 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Eric,

<< I was trying to get around the disappearing top problem by setting the
form position to CenterTop and adding a panel at the top of the form with
the same color as the desktop so the form appears to be some distance from
the top of the desktop.  Unfortunately, since the panel is still part of the
form, the drop shadow along the right edge gives it away.  I've since
removed the shadow so now it appears as if the form is, say, 50 from the top
of the desktop and stays there even if the browser is resized to the point
where it would disappear if I were using poDesktopCenter. >>

You might want to instead try hooking the OnResize event for the
TApplication.Desktop (TDesktop) with an event handler and simply adjusting
the position of the form when the desktop resizes.  It might be simpler than
having to mess around with the panel "buffer".

Tim Young
Elevate Software
www.elevatesoft.com
Image