Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

When trying to modify form, the form is not visible

When trying to modify form, the form is not visible

RE: When trying to modify form, the form is not visible

Resize the screen window. You shrinked its height. See the three dots in the right buttom corner, that's where the mous icon will turn into resize arrows and when that's the case you can resize. Hold the left mouse key down (not just click, hold it) then drag the mouse down.

Bye, Olaf.

Olaf Doschke Software Engineering

RE: When trying to modify form, the form is not visible

Lesson to learn: Not all windows of the VFP IDE are child windows of _screen. Command Window and Properties Window for example can be dragged outside. Projoect manager windows and designer windows are child Windows and clipped when _screen is shrinked.

Bye, Olaf.

Olaf Doschke Software Engineering

RE: When trying to modify form, the form is not visible

Thanks Olaf. It worked. I had several days without doing with this case.

RE: When trying to modify form, the form is not visible

Fine. Oh, and yes, there is a single click, which can cause this, the button left beside the close [X] button in the title bar. This button can switch between two states, maximized and normal and the button left of it can minimize the form, you may well know how these buttons work.

In your screenshot, the middle button is the maximize button, so the form is in the "normal" state. That button also would have worked, but then another click would also shrink it down back to that unusable shrunk state. That's why I recommended really using the mouse resize to make the IDE window bigger again and get rid of the memory of the minimum height size. If you switch between maximized and normal the form size will switch between the whole display and restore to whatever size it was before maximizing. And in this state it is resizable. The normal size state is only of minor interest if you only have one display you could use one half for the IDE and the other for a browser, but it's more efficient to ALT+TAB between active applications with a single display like you have when using a notebook without a docking station.

In fact, since most applications start maximized today and you have multiple applications in use by ALT-TAB-switching or arranging them on multiple displays, each maximized. So the normal state is a bit anachronistic. Overall it's just native Windows behavior and nothing special of VFP. It's just the way the upper three buttons work: 1. minimize (_ icon) 2. maximize or restore (one or multiple boxes icon) and close (x icon). All windows applications with main windows have these window states. Word, for example, in the normal state can even be resized to only be the title bar. You can also size the window to full-screen size via the mouse and then maximize and restore won't even make a difference, just that in the normal state the form also becomes resizable.

The core "problem" is, that the remembered size can be unusable - besides the fact that you can resize it. As Word shows, that can be even less usable than in the VFP case. VFP at minimum displays the menu and toolbar and status bar. If you simply do _screen.height=0 in the command window you get back to that situation. The screen also will change from maximized state to normal state automatically. The three states correspond to the WindowState property, which can be one of the 3 normal, maximized, or minimized. And _SCREEN also just is a VFP form with this VFP form property. So you can also control this as long as the command window is visible.

Bye, Olaf.

Olaf Doschke Software Engineering

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close