Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How can I set it that a form will resize depending on user's monitor?

HGeneAnthonyHGeneAnthony Member Posts: 92
I've seen VB apps that when the user used it on a smaller monitor some of the screen wasn't visible. How can I do this?

Comments

  • BarkeeperBarkeeper Member Posts: 335
    : I've seen VB apps that when the user used it on a smaller monitor some of the screen wasn't visible. How can I do this?
    :

    you can retrieve the resolution of a users monitor with the screen-object.

    e.g.
    Screen.Height is the Height of the Users Monitor
    but you have to be careful for those measures come in Twips, not in Pixel
    ------------------------------------------
    Only stupidity of mankind and the universe
    are infinite, but i'm not sure concerning
    the universe. A. Einstein

  • Justin BibJustin Bib USAMember Posts: 0

    _______ | http://forcoder.org | free ebooks and video tutorials about | C++, Scratch, Objective-C, Python, Visual Basic, R, C, Go, PL/SQL, PHP, Java, Delphi, C#, Visual Basic .NET, Assembly, Ruby, Swift, JavaScript, MATLAB, Perl ABAP, Scheme, Dart, Erlang, Hack, ML, Apex, Clojure, Ada, Lua, Prolog, FoxPro, Logo, SAS, Scala, LabVIEW, Kotlin, Crystal, Lisp, Fortran, Rust, COBOL, Transact-SQL, Awk, Alice, D, Bash, F#, Julia, VBScript | ______

Sign In or Register to comment.