Visual Designer question

Started by Gary Stout, April 24, 2010, 11:38:36 AM

Previous topic - Next topic

Gary Stout

I am trying to create a form larger in height than the current screen resolution and added a vertical scrollbar. When I test the form in the designer, I am not able to scroll to the bottom of the form.

Am I doing something wrong or is there some issues with creating a larger than visable form?

Thanks,
Gary

Paul Squires

Hi Gary,

You can scroll large forms using the visual designer itself. FireFly has a vertical and horizontal scrollbar that allows you to view your form that is larger than the screen or designer itself.

Paul Squires
PlanetSquires Software

Gary Stout

Paul,

I tried that, but didn't seem to work for me. I am using a netbook with a screen resolution of 1366x766. The largest form height the designer would allow me to create was 771. I was trying to create a form size of 1024x800, but it wouldn't allow those properties.

Gary

Rolf Brandt

How did you set the Height property? With the mouse?
On my Netbook I can set the height property to 2000 without problem if I do it in the Properties of the Workspace dialog.
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Cho Sing Kum

#4
Hi Rolf,

But it is not 2000. Scroll FF down until you see the bottom of the form. Try to drag the form bigger with the mouse and the 2000 will change to something much smaller - to what the "real" height is I think.

Edit:
No, it is not the "real" height. I ran the project and use FF_Control_GetSize. It returns a different height.

Rolf Brandt

You are right, Cho.

The real height is limited to 1362. Even if I set the height in code it is limited to 1362.
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Gary Stout

This is what I ran into. I could manually set the height but trying to drag the form would cause the height value to change to a lower value.

Roger Garstang

#7
I got mine to go a max 1756. Sounds like an issue with the scrollbars in FF.  Either some type of limitation or a calculation error. I seem to remember something either in Petzold's Win32 book or a .Net thing I read recently about applications calculating scrolling wrong and depending on screen/window height the content will either be flush with the bottom or have a large white space margin between content and bottom. At my max height though there is a large white space at the bottom and it allows me to drag the size rectangle, but on release it gets no larger.

Edit: On testing more, every time I drag it the thing sizes to a different value...some higher some lower. And, if I just size right to left it even changes height and even worse variations depending on where I'm currently scrolled to.