Make your own free website on Tripod.com

4.6. Edit properties of edit box control.

     To edit properties of the edit box control, you need to select "VFC Edit Box" object from the left window:

     To edit edit box concrete properties, you need to click "Edit Parameters" button. Parameters fields become active, and you can now edit their values.

4.6.1. Panel "Standard Parameters".

     Here you could change the next parameters:
1. Edit box caption. This is the text appeared on the edit control. You can easily replace the current caption by new one.
2. Font for edit box caption. There are two possible variants - you could use standard Windows font for edit boxes, or select special font for this control. To do this, click on "Select New Font" and select font from the standard dialog:

3. Edit box text attributes. Here you could select either standard Windows scheme for edit controls, or use your own color scheme. Use "Select Edit Box Text Color" and "Select Edit Box Background Color" buttons to define custom color scheme for your control. Also, you can select "Transparent" or "Opaque" regime for text output. You can select independent color schemes for both edit box states - standard and read-only.
4. Edit box description. Sometimes, it could be convenient to have description for each GUI component. Also, you could save time, using control description as tooltip for it, instead of writing big help files for your program.

 

Don't forget, please, to click "Save Parameters Values", to save your correction. Also, if you want to continue with this project design next day(s), then you should visit "File" panel and select "Save Current Project As"...

 

4.6.2. Panel "Styles".

     Here you could change the next parameters:
1. Edit box size and position. Here you could set the edit box top-left corner coordinates, its width and height. Also, you could dispose the control in preview mode, using "Select Edit Box Size/Position in Preview Mode" button. WARNING. If you change some edit box parameters, but not save them yet, then they're considered as "desired" values, not as "selected". Preview mode will work with "selected" parameters only, so you need to click "Save Parameters Value" and, again, "Edit Parameters" - now, if you call preview mode editing, then it'll work with accepted values.
2. Edit box text alignment.
There're various styles for text alignment inside edit box control - you can select left- or right- aligned text.
3. Text output styles. Using these styles, you could insert/delete some additional styles for edit box text view.
4. Other edit box styles. Here you can select some miscellaneous features for edit box.
5. Window styles used with edit boxes. There are some windows styles ( parameters of Win32 API CreateWindowEx  function ), which can be used with edit box control. You can easily select/delete them here.
6. Window extended styles used with edit boxes. There are another set of CreateWindowEx parameters ( extended window styles ), which can be used with edit box control, to modify control view.

 

Don't forget, please, to click "Save Parameters Values", to save your correction. Also, if you want to continue with this project design next day(s), then you should visit "File" panel and select "Save Current Project As"...