Prefix の命名規則


☆変数のデータ型      
グローバル g   gstrUserName 
モジュール レベル m   mblnCalcInProgress 
プロシージャ内 なし   dblVelocity 
☆変数のデータ型      
データ型 プリフィックス    
ブール型 (Boolean) bln    blnFound 
バイト型 (Byte) byt   bytRasterData 
Collection オブジェクト col   colWidgets 
通貨型 (Currency) cur   curRevenue 
日付型 (Date) dtm   dtmStart 
倍精度浮動小数点数型 (Double) dbl   dblTolerance 
エラー値 err   errOrderNum 
整数型 (Integer) int   intQuantity 
長整数型 (Long) lng   lngDistance 
オブジェクト型 (Object) obj   objCurrent 
単精度浮動小数点数型 (Single) sng   sngAverage 
文字列型 (String) str   strFName 
ユーザー定義型 udt udt   udtEmployee 
バリアント型 (Variant) vnt   vntCheckSum 
コンスタン(Const) なし   英数大文字
☆オブジェクト      
コンボボックス ComboBox cbo *
チェックボックス CheckBox chk *
コマンドボタン CommandButton cmd *
データ Data dat *
DBコンボ DBCombo dbc Microsoft Data Bound List Controls
DBグリッド DBGrid dbg Apex Data Bound Grid
DBリスト DBList dbl Microsoft Data Bound List Controls
ディレクトリリストボックス DirListBox dir *
コモンダイヤログボックス CommonDialog dlg Microsoft Common Dialog Control
ドライブリストボックス DriveListBox drv *
ファイルリストボックス FileListBox fil *
フレーム Frame fra *
フォーム Form frm *
水平スクロールバー HScrollBar hsb *
イメージ Image img *
イメージリスト ImageList iml Microsoft Windows Common Controls
ラベル Label lbl *
ライン Line lin *
リストボックス ListBox lst *
リストビュー ListView lsv Microsoft Windows Common Controls
OLEコンテナ OLE ole *
オプションボタン OptionButton opt *
ピクチャボックス PictureBox pic *
プログレスバー ProgressBar prb Microsoft Windows Common Controls
リッチテキストボックス RichTextBox rtb Microsoft Rich Textbox Control
シェイプ Shape shp *
スライダ Slider sli Microsoft Windows Common Controls
タブダイヤログ SSTab sst Sheridan Tabbed Dialog Control
ステイタスバー StatusBar stb Microsoft Windows Common Controls
タブストリップ TabStrip tbs Microsoft Windows Common Controls
テキストボックス TextBox txt *
タイマー Timer tmr *
ツールバー Toolbar tlb Microsoft Windows Common Controls
ツリービュー TreeView trv Microsoft Windows Common Controls
垂直スクロールバー VScrollBar vsb *