Best Practices for Naming
ベストプラクティスに基づく命名規則
Control Naming Conventions
コントロール命名規則
- Use camelCase for control names
- コントロール名にはキャメルケース形式を使用します
- Start with a 3-letter type descriptor followed by purpose (e.g. lblUserName)
- 3文字のタイプ記述子で始め、その後に目的を記述します (例: lblUserName)
- Control names must be unique across the application
- Add screen name abbreviation for uniqueness (e.g. lblTitleHS - label in Home Screen)
- 一意性を確保するため、必要に応じて画面名の略語を付加します (例: lblTitleHS - Home Screenのラベル)
- Avoid non-ASCII characters
- 日本語やその他の非ASCII文字は使用しません
Common control abbreviations:
一般的なコントロールの略語:
                  Label: lbl
                
                
                  ラベル: lbl
                
                
                  Button: btn
                
                
                  ボタン: btn
                
                
                  Text input: txt
                
                
                  テキスト入力: txt
                
                
                  Gallery: gal
                
                
                  ギャラリー: gal
                
                
                  Form: frm
                
                
                  フォーム: frm
                
                
                  ComboBox: cmb
                
                
                  コンボボックス: cmb
                
                
                  CheckBox: chk
                
                
                  チェックボックス: chk
                
                
                  Container: con
                
                
                  コンテナ: con
                
              Screens and Data Sources
画面とデータソース
- Use clear screen names ending with "Screen" (e.g. Home_Screen)
- 画面名はわかりやすい言葉を使い、末尾に「Screen」を付けます (例: Home_Screen)
- Use PascalCase for data sources (e.g. EmployeeList)
- データソースにはパスカルケース形式を使用します (例: EmployeeList)
Card Control Enhancement
カードコントロール強化
- Automatically enhances card controls with proper properties
- カードコントロールに適切なプロパティを自動的に追加
- Adds hint text, tooltips and validation based on field context
- フィールドの文脈に基づいてヒントテキスト、ツールチップ、バリデーションを追加
- Ensures consistent parent-child property inheritance
- 親子間のプロパティの継承を一貫性を持って設定
Parent DataField Reference
This tool automatically uses parent card's DataField value to name child controls consistently.
DisplayMode Setting
DisplayMode設定
Sets appropriate display mode for controls