Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #276

Re: Actual VB question!

Newsgroups comp.lang.basic.visual.misc
From john@jeasonNoSpam.cix.co.uk (John K.Eason)
Subject Re: Actual VB question!
Date 2011-06-19 00:26 +0100
Message-Id <memo.20110619002603.2556A@jeason.cix.co.uk>
References <4dfd0a96@dnews.tpgi.com.au>

Show all headers | View raw


In article <4dfd0a96@dnews.tpgi.com.au>, Strand@dummyspit (StrandElectric) wrote:

> *From:* "StrandElectric" <Strand@dummyspit>
> *Date:* Sun, 19 Jun 2011 06:29:05 +1000
> 
> "John K.Eason" <john@jeasonNoSpam.cix.co.uk> wrote in message
> 
> > To vertically align a label relative to a single-line text box, 
> > I've found that the Top property of the label control needs to be 45
> > points larger than the textbox Top property (assuming the desktop is
> > using  the default settings, and using 'Classic view in Windows).
> >
> > Regards
> >       John
> 
> HI John. Terrific!  I have tried that and for the first time my 
> applications look attractive. Previously I tried moving the 
> controls around in an attempt to align  label text with textbox 
> text, and of course they always sprang to the grid!  You have ended 
> years of frustration.

You could always turn the grid off and drag them manually, but it rather depends
how steady your hand is when dragging controls around! :^)
As Mike says, it would be safer to do it in code if there's any chance of running
on a non-default system, but all my programs are for my use only, so I don't
bother.
 
> Can I buy you a beer? 

That could be tricky as a) you appear to live in Australia and I'm in the UK, and
b) I'm teetotal. I'll accept an e-beer and imagine it's a cup of coffee if you like
though! :^)

Regards
       John

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Actual VB question! "StrandElectric" <Strand@dummyspit> - 2011-06-13 07:11 +1000
  Re: Actual VB question! GS <gs@somewhere.net> - 2011-06-12 18:53 -0400
    Re: Actual VB question! Jason Keats <jkeats@melbpcDeleteThis.org.au> - 2011-06-13 12:34 +1000
  Re: Actual VB question! "Ivar" <ivar.ekstromer000@ntlworld.com> - 2011-06-13 00:58 +0100
  Re: Actual VB question! Dee Earley <dee.earley@icode.co.uk> - 2011-06-13 09:19 +0100
  Re: Actual VB question! Eric Coleman <eric@strategon.com> - 2011-06-17 10:04 -0500
    Re: Actual VB question! "StrandElectric" <Strand@dummyspit> - 2011-06-18 10:23 +1000
      Re: Actual VB question! john@jeasonNoSpam.cix.co.uk (John K.Eason) - 2011-06-18 12:20 +0100
        Re: Actual VB question! "StrandElectric" <Strand@dummyspit> - 2011-06-19 05:04 +1000
        Re: Actual VB question! "StrandElectric" <Strand@dummyspit> - 2011-06-19 06:29 +1000
          Re: Actual VB question! john@jeasonNoSpam.cix.co.uk (John K.Eason) - 2011-06-19 00:26 +0100
          Re: Actual VB question! ralph <nt_consulting64@yahoo.net> - 2011-06-18 21:41 -0500
            Re: Actual VB question! john@jeasonNoSpam.cix.co.uk (John K.Eason) - 2011-06-19 12:22 +0100
              Re: Actual VB question! ralph <nt_consulting64@yahoo.net> - 2011-06-19 10:51 -0500
                Re: Actual VB question! john@jeasonNoSpam.cix.co.uk (John K.Eason) - 2011-06-20 12:07 +0100
        Re: Actual VB question! Deanna Earley <dee.earley@icode.co.uk> - 2011-06-20 09:56 +0100
          Re: Actual VB question! john@jeasonNoSpam.cix.co.uk (John K.Eason) - 2011-06-20 12:10 +0100
      Re: Actual VB question! "Mike Williams" <Mike@WhiskyAndCoke.com> - 2011-06-18 22:55 +0100

csiph-web