andrewi
Posts: 162
|
Posted: 10/24/2010, 12:02 PM |
|
Example Custom Insert dialog box on a record form. Choose Stored Procedure.
- The 'Parameters' list box isn't even wide enough to show all the columns at their default widths (one column completely hidden).
- It's only long enough to show 7 parameters. But there's lots of wasted space below it on the form. To add insult, it's not even as big as the list you get when you choose 'Table'.
- .... and we can't make it any bigger.
Codecharge isn't too bad in this respect, but forms like this just make hard work. Why not make this dialog sizeable ?
|
|
|
andrewi
Posts: 162
|
Posted: 10/24/2010, 12:10 PM |
|
Oh dear, that's a bit sad.
I've just noticed that I already made this wish in 2006 - http://forums.codecharge.com/posts.php?post_id=80333
And TonyReid asked the same thing a couple of months later: http://forums.codecharge.com/posts.php?post_id=81993
|
|
|
datadoit
|
Posted: 10/24/2010, 4:22 PM |
|
If you're feeling adventurous, find the dialog under your install
directory, make a backup, and adjust the width yourself.
|
|
|
andrewi
Posts: 162
|
Posted: 11/02/2010, 4:02 PM |
|
That's a good suggestion.
C:\Program Files\CodeChargeStudio4\Components\Dialogs\DataSource\CustomUpdate.html
line 386:
<script type="text/javascript" language="JavaScript">
createDialogActiveX("<OBJECT ID=\"ParametersListProcedureLV\"
style=\"width:100%;height:140px;\" ccsProgId=\"CCS.IEListView\"></OBJECT>");</script>
the height can be increased to 350 px and still fit on the form - you get over twice the number of visible rows!
Changing the width is more complex than I plan to tackle just now, since width of containing elements needs to be increased too. And even then, I wonder whether the CCS dialog will auto-scale, or even show scroll bars.
|
|
|
|