In a
TComponent there is:
TFlowControl=(fcNone=0,
fcXonXoff=1, fcXonXoff_and_DTR=1,
fcRTS_CTS=2, fcHardware = 2,
fcXonXoff_no_DTR=3,
fcXonXoff_and_RTS_CTS=4,
fcDTR_DSR=5,
fcXonXoff_and_DTR_DSR=6,
fcDTR=7);
...
published:
...
property FlowControl: TFlowControl read FFlowControl write SetFlowControl;
...
When I build the IDE the last two values (
fcXonXoff_and_DTR_DSR and
fcDTR) are not shown in the property editor.
Is this fixable?
In case in matters, the control is TLazSerial. I am trying to update the
FlowControl property by adding more values and renaming the non-standard
fcHardware to
fcRTS_CTS. In the same time I want to keep the compatibility from the previous versions.
Edit: I tried to change:
TFlowControl=(fcNone=0, fcXonXoff_and_DTR=1, fcRTS_CTS=2, fcXonXoff_no_DTR=3,fcXonXoff_and_RTS_CTS=4, fcDTR_DSR=5, fcXonXoff_and_DTR_DSR=6, fcDTR=7,
fcXonXoff=1, fcHardware = 2);
When I opened the project
fcHardware was automatically converted to ...
fcDTR. Maybe because it is the first in alphabetic order.