H
Hajo
Hello Everyone,
a customer wants to have the option to tick a CheckBox so that the according
ComboBox is grayed out. Well, this starts to get annoying in case of 100 of
such constructs. Behind the scene, an unticked CheckBox should set the value
of the ComboBox to NULL. Even though the same could be achieved with an
additional entry in the ComboBox list, the customer wants this feature.
Now, I came up with a general solution. CheckBox and ComboBox are nearly
named the same. By clicking on the CheckBox, it will look for the according
ComboBox, enable or unable it and set the appropriate value.
Nevertheless, is there a way to create your own control, consistent of a
CheckBox and a ComboBox with the desired functionality behind it? Of course,
it would be nice (well, let's say necessary) that by dragging an element out
of the field-list onto the form, this custom control is used. But I think
latter can be done by the 'DisplayControl' property during table design.
If someone knows an alternative way how to easily solve my problem, please
let me know. Where do I find information about creating custom controls?
Thank you so much,
Hajo
a customer wants to have the option to tick a CheckBox so that the according
ComboBox is grayed out. Well, this starts to get annoying in case of 100 of
such constructs. Behind the scene, an unticked CheckBox should set the value
of the ComboBox to NULL. Even though the same could be achieved with an
additional entry in the ComboBox list, the customer wants this feature.
Now, I came up with a general solution. CheckBox and ComboBox are nearly
named the same. By clicking on the CheckBox, it will look for the according
ComboBox, enable or unable it and set the appropriate value.
Nevertheless, is there a way to create your own control, consistent of a
CheckBox and a ComboBox with the desired functionality behind it? Of course,
it would be nice (well, let's say necessary) that by dragging an element out
of the field-list onto the form, this custom control is used. But I think
latter can be done by the 'DisplayControl' property during table design.
If someone knows an alternative way how to easily solve my problem, please
let me know. Where do I find information about creating custom controls?
Thank you so much,
Hajo