This topic is locked

Auto Size look up wizard values

3/16/2011 6:35:07 AM
PHPRunner General questions
S
swanside author

Hi there.

I have a lookup wizard set to Edit box with Ajax Popup, It shows the full name in the pop up box but only about 50% on the screen, it should say MERSEYSIDE FIRE AND RESCUE SERVICE but it only says MERSEYSIDE FIRE AND.
How can I make this box bigger to show the full text from the lookup wizard please?

Thanks

Paul.

E
electromotive 3/20/2011



Hi there.

I have a lookup wizard set to Edit box with Ajax Popup, It shows the full name in the pop up box but only about 50% on the screen, it should say MERSEYSIDE FIRE AND RESCUE SERVICE but it only says MERSEYSIDE FIRE AND.
How can I make this box bigger to show the full text from the lookup wizard please?

Thanks

Paul.




Hmmm. Yes, well to do this you need to resort to a bit of Javascript in your Javascript Onload Event for the add, edit or view, whatever forms you are using.



var ctrlCustId = Runner.getControl(pageid, 'Customer Id'); // example from manual to set field width
ctrlCustId.getDispElem().css("width","200px");
S
swanside author 3/24/2011



Hmmm. Yes, well to do this you need to resort to a bit of Javascript in your Javascript Onload Event for the add, edit or view, whatever forms you are using.



var ctrlCustId = Runner.getControl(pageid, 'Customer Id'); // example from manual to set field width
ctrlCustId.getDispElem().css("width","200px");



Thanks, I will give that a go.