After choosing a form, simultaneously press the CTRL F12 keys to be able to edit it. It will be necessary to switch to Expert mode.
Be careful, if you are in edit mode (CTRL F12) and modify anything, then click on "OK", you save this configuration whether it is good or bad. Once you hit OK, there is no way to roll back to the previous version. If you make a mistake, it's best to hit "CANCEL" and start over.
Different elements appear on the screen:
Tools
- Standard: these are the elements composing the form itself (background color, scrollbar, image, ...)
- Saisie (input): these are the elements dedicated to input (Input control (TEdit), Check box, Radio button, ...)
- Information: Items in this category are items related to the Kitview database. You can thus insert the patient's name, first name, age...
- Data: these are retaliatory items in Kitview in the event of use in third-party software
- Actions: elements used to generate actions such as saving the entry, canceling it, ...
Objects Panel
List of the different objects that make up the form. Attention, to delete a field or anything from the form, you will have to use this insert and look for the element in the list of objects.
For example, if we want to delete a field, we will use the command "DELETE".
Element Properties panel
This element properties panel is used to define, for the selected component, its characteristics (or properties). The most important are: HINT, NAME, ITEMS, FONT, TAG, TAB ORDER, LEFT, WIDHT and HEIGHT.
Space for creating Form fields
Space in which each component will be placed by dragging and dropping. Now we are going to see the different components that we are going to use in a simple form, to understand the different fields used.
- The TEdit component
The TEdit component is used to enter text type data. Just drag and drop to create the field. You can move the object by selecting it. Once you drop the item, it takes on a default name. Right away, we are going to modify its name: look in the properties panel for "NAME" to edit its name and identify it easily. In the same panel where you changed "NAME", now look for HINT.
"HINT" (index) valued with "Treating Doctor: " allows us to add this text to the value that we have given to the field. Its result will be visible in the summary of the form.
The summary shows:
- The TMemo component
The TMemo component allows you to enter text type data with more visual space for writing memos.
- The TCheckBox and TRadioButton components
The TCheckBox component are "checkboxes" and allow you to validate assertions (and more than one) in a panel of choices.
The TRadioButton component are "checkradios" and allow you to validate assertions (only one) in a panel of choices.
As we saw before, we valued the HINTs for Yes "Smoker" and for No "Non Smoker".
TCheckBox
The summary shows:
TRadioButton
The summary shows:
- The TRadioGroup component (Single choice)
The TRadioGroup component (single choice) allows you to select a single statement among several offered. The difference with TRadioButton is that it is not necessary to create the lines one by one and the presentation is in list format.
You define the list of possible values using the "ITEMS" property (press TStrings...). This will allow you to enter the different possible values simply (for each value entered, you use the Enter key on your keyboard to go to the next one. You confirm with "OK".
We valued the HINT with "Patient type".
We valued CAPTION with "Patient type listing".
The summary shows:
- The TListBox component
The TListBox component looks similar to the TComboBox component. On the other hand, the various elements of the list are visible. You can select multiple values by holding down the CTRL key and left-clicking your mouse. The MULTISELECT property should be set to "True" . You define the list of possible values using the ITEMS property. This will allow you to enter the different possible values simply (for each value entered you use the Enter key on your keyboard to go to the next one).
The summary shows:
- The TComboBox component
The TComboBox component allows you to choose a single option. It is very useful for large lists where you do not want to fill the field by hand.
The summary shows:
To finish this explanation, we will indicate how important it is to correctly use the TAG property that you will find at the end of the list of properties.
The summary shows exactly the TAG number for each line. You can decide the exact position into your resume :
Comments
0 comments
Please sign in to leave a comment.