Hi Mark,
MS it justifies this with:
'The ReadOnly property has been added to the ComboBox control for Visual FoxPro 5.0. As with other controls (such as TextBox or EditBox), it applies only to the region of the control that accepts text input. The ComboBox has such a region only if the Style property is set to 0 - Dropdown Combo, so the ReadOnly property can be set only to .T. for ComboBoxes of this Style.'
I think this:
On VFP3 readonly has supported on:
Column (have text as native control,
Cursor (equal to USE NOUPDATE),
EditBox,
Grid (BROWSE NOEDIT),
Spinner (have text1 internal object),
TextBox.
This because VFP Team think readonly for text operation.
After, readonly is added to ComboBox (only for text1 internal object),
and write Q156510, but someone VFP Team people added readonly to CheckBox!
This destroy the Q156510 justification.
Then, on VFP9 readOnly it must it are to us also in:
- Optiongroup;
- OptionButton;
- ComboBox Dropdown List;
- Olecontrol.
Result:
That is a defective behavior from the design.
Fabio
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement