Combobox: SuggestAppend and IgnoreManageReadOnlyState


Author
Message
Aaron Young
Aaron Young
Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)
Group: StrataFrame Users
Posts: 277, Visits: 1.1K
Hi,

Not for the first time I am a little confused Smile

I have a combobox with autocomplete settings set to SuggestAppend. However, the "append" part of the functionality doesn't work unless IgnoreManageReadOnlyState is set to true. However, setting this property to true obviously means the combobox is not enabled/disabled based on the BO editingstate. If IgnoreManageReadOnlyState is set to false (the default state and in my case the desired state) then the append functionality stops working.

It would be great if it was possible to have the append functionality without needing IgnoreManageReadOnlyState to true.

Thanks

Aaron

Replies
Aaron Young
Aaron Young
Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)
Group: StrataFrame Users
Posts: 277, Visits: 1.1K
Trent, attached is a sample project linked to your sample database.

The form is a standard maintenance form with a products dropdown from the order item table. The products dropdown has SuggestAppend as autocomplete.

If you run the form without modification, IgnoreManageReadOnlyState is false. Click the Edit button and then type HL into the products combination box. Note that the "append" functionality doesn't work. Now close the form and change the combobox's IgnoreManageReadOnlyState to true. Run again and repeat the process. This time the append functionality works.

I suspect the append functionality is turned off when the control is initially disabled and is not turned back on again when the control is enabled?

Hope this helps.

Attachments
WindowsApplication1.zip (190 views, 740.00 KB)
Aaron Young
Aaron Young
Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)Advanced StrataFrame User (569 reputation)
Group: StrataFrame Users
Posts: 277, Visits: 1.1K
Just giving this a bump just in case my double posting side by side may have caused the sample application posting to be missed.

Aaron

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search