[Home][CADCAM][Contents] [Search]

CADCAM

 

Conventions (3)

 

Convention 1 : Keywords: Dialog, Controls, Size

Text   

Name Height Width
text 285  
label 255  
button 255 375
OCX with text elements 435  
UnitEdit   1000
An OCX with a text element 285  
An OCX without a text elt 255  
OCX with label and value: First sub control at 0, next at 1080, next at 2160    
An OCX with a combo 315  
A buuton behind a text for browsing at 2520   375

OK and Cancel are 375 x 1095 separated by 1.5 grid space from the bottom

For more check The Windows Interface, Guidelines for Software Design figure 13.23

Text on left of the control allow a better alignement, but for label they stay before the text element.

Label ends with a ':' just behind it.

The left of the control or button is aligned with the left of the label.There is no control margin.

Convention 2 : Keywords: VB, Option

All modules show have

Option base 0
Option explicit

Convention 3 : Keywords: VB, Public Property

If property cannot be read it is better to install a property get and to leave the member private.

Index

Note this icon External Link indicates that the link wiil take you outside of this site.
           
Contact webmaster@radialsoft.com for comments about this website.
Copyright © 2000-2003 RadialSoft Corp - Last modified: December 1, 2003 - Disclaimer