Results 1 to 6 of 6

Thread: Floating Forms

  1. #1

    Thread Starter
    Junior Member dylanmendes's Avatar
    Join Date
    Dec 2001
    Location
    Bombay, India
    Posts
    28

    Floating Forms

    Hey people,

    I need to create a floating form that floats throughout my VB application... any ideas??? The form should not lose focus even if say, a button in a background form is clicked...

    thanks in anticipation,

    Dylan

  2. #2
    Junior Member
    Join Date
    Sep 2001
    Location
    Australia
    Posts
    30
    Hi Dylan,

    There is a property of the form called TopMost. By setting it to true it will not lose focus when other forms' buttons are clicked. Just a warning though, if you have more than one visible form with the TopMost property set to true then the one that is most recently displayed is the topmost.

    Ciao,
    <! Ozki !>

  3. #3

    Thread Starter
    Junior Member dylanmendes's Avatar
    Join Date
    Dec 2001
    Location
    Bombay, India
    Posts
    28

    thanks

    Hey ozki...

    sounds good... i did have a shabby work-around ... something to do with calling the form.zorder() method... will try this out and see...

    by the way are you a cricket fan, by any chance?

    have a good one,
    cheers,
    Dylan

  4. #4
    Junior Member
    Join Date
    Sep 2001
    Location
    Australia
    Posts
    30
    I sure like my cricket... being Australian there's only a few international sports where we make a name for ourselves
    <! Ozki !>

  5. #5

    Thread Starter
    Junior Member dylanmendes's Avatar
    Join Date
    Dec 2001
    Location
    Bombay, India
    Posts
    28

    cool

    great... cause i'm a cricket fanatic, but then again, who in india isn't. I'm following the Aus-NZ match right now... and must confess - i'm rooting for NZ! your boys are chasing 245... are you watching? who do you think'll win?

  6. #6
    Junior Member
    Join Date
    Sep 2001
    Location
    Australia
    Posts
    30
    Well I think by the way Australia's playing lately NZ will win, but I don't like admitting it... hehehe. My Wife's a NZer and she'swrapped about NZ winning against Australia. I can't watch it at the moment as I am in Switzerland and they don't have to much cricket on the TV here, just highlights...
    <! Ozki !>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width