Re: VB properties

  • From: "Ricks Place" <OFBGMail@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Wed, 30 Apr 2008 05:02:20 -0400

Hi:
What method do you currently use to position a control?
I just set the absolute position using the Position Properties supplied in the 
Properties Window for Start Height and Length.
Then I calculate where I want to drop the next control based on adding the 
length and width to the Start Positions for the control. In Liberty Basic I had 
a small Function I wrote that would ReSize and position controls based on the 
default Screen Resolution used.
There might be an easier way like relative positioning or a Layout Grid but 
I've not used them. You could always write a little program tocalculate the 
positioning variables  of a control group and expand it for various patterns 
you use most often to get the numbers more quickly.  I'm working in VWD now so 
it's been some time since I worked with native VB positioning but some of the 
other guys might have more on other methods.
Rick Farmington Mich. USA
Also, try asking on the Blind Geeks list, there are some pretty good VB guys 
haning there.
Rick Farmington Mich. USA
----- Original Message ----- 
  From: Darko Milošević 
  To: programmingblind@xxxxxxxxxxxxx 
  Sent: Tuesday, April 29, 2008 6:49 PM
  Subject: VB properties


  Hello.
  I'm using VB6, and I've made many applications, but I am interesting how to 
arrange some control properties, such as:Left, Right, Height, and Width.
  Sometimes I have troubles when sided users runs my applications, because they 
says that text appears outside the control, or overlaps left or right edge, etc.
  I am interesting what values are the best for:left, right, width, and height 
properties, for the controls such as:CommandButtons, TextBoxes, Labels, etc, 
and what values are the best and for same properties of the form.
  The best regards.

Other related posts: