Evan_Purdy
(Evan Purdy)
February 15, 2019, 6:46pm
1
I have a combo box with the width set to auto, control size. It takes the whole screen width though, and seems to ignore the auto width setting. The BAQ results are not long, and do not require the crazy width it is making. Anyone dealt with this before?
cmbOSBHook1Backleg.DataSource = dqa.QueryResults.Tables["Results"];
cmbOSBHook1Backleg.ValueMember = "UDCodes_LongDesc";
cmbOSBHook1Backleg.DisplayMember = "UDCodes_LongDesc";
cmbOSBHook1Backleg.AutoWidth = true;
cmbOSBHook1Backleg.AutoWidthOption = ((Ice.Lib.Framework.AutoWidthOptions)(1));
dmaclucas
(Derek MacLucas)
February 17, 2019, 12:24pm
2
I believe this has been an issue forever, I’ve certainly seen it in since early E9.
Set a manual width, problem solved?
Try setting the format for the UDCodes_LongDesc in your BAQ to x - instead of x(xxx). Then your dropdown will follow the width of your control.
1 Like
it’s still not working for me, the width still didn’t change in query results . Can u explain again the format x instead of x(xxx).
Thanks.
Evan_Purdy
(Evan Purdy)
October 10, 2019, 1:31pm
6
Make the format “x” in the Display Fields.
I tried already but still nothing happens sir.
Evan_Purdy
(Evan Purdy)
October 10, 2019, 1:42pm
8
Can you show a picture of the problem?
I’m trying to display the full characters in query result in the column display.
(not complete display)
(query result for display column should look like this)
Evan_Purdy
(Evan Purdy)
October 10, 2019, 2:22pm
10
Ah, that is a different issue but I am not sure why that is a problem when you can just resize the column?
I’m using this baq also as data source to my baq combo same with the title problem . When trying to access my dropdown it is also not showing the complete display.
Evan_Purdy
(Evan Purdy)
October 10, 2019, 2:34pm
12
try changing all of them to x, not just calculated display.
Ok sir, i will try that later when I got home. Thanks
Evan_Purdy
(Evan Purdy)
October 10, 2019, 2:37pm
14
Actually, I am still not sure if I understand your issue - is the drop down too large for the content or too small for the content?
Too small for the content, even if I set autowidth = true still nothing happens
Evan_Purdy
(Evan Purdy)
October 10, 2019, 4:21pm
16
if you have the format set to X the drop down menu is whatever size the control is. Have you resized the control?