Combobox 5.0.0.24

Started by Fred Tomke, September 04, 2008, 05:26:14 AM

Previous topic - Next topic

Fred Tomke

Hello,

I only want to know if this works as designed or not:

I have drawn an empty Combobox in DropDown style. When I add a list at runtime the list seems to be saved after closing. When calling the form outside my program using (dcl_form_show ...) the combobox is still filled with the latest list. I thought after (dcl_form_show ...) the dropdown must be empty?!  ??? I believe in further releases the combobox was empty by default when OnInitialitze event is called.

Do I have to call the clear method within the OnInitialize event before adding my list?

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

owenwengerd

Quote from: Fred Tomke on September 04, 2008, 05:26:14 AM
Do I have to call the clear method within the OnInitialize event before adding my list?

  Yes.
Owen Wengerd (Outside The Box) / ManuSoft

Fred Tomke

Aha, good to know. Is this new?

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

owenwengerd

Quote from: Fred Tomke on September 04, 2008, 06:28:37 AM
Aha, good to know. Is this new?

  Yes.  In the past, the control was filled with the new items, but the analagous property was not modified.  In other words, it was a "design-time-only" property.  Any time I notice a case where a property is "design-time-only" for no reason, I change it.  I don't remember exactly when combo boxes were changed, but it was in one of the recent alpha builds.
Owen Wengerd (Outside The Box) / ManuSoft