RE: IDE and toolbars

new topic     » goto parent     » topic index » view thread      » older message » newer message

>I was incorrect when I said Properties could be any number. Sometimes I
>forget my own code smile If you key a number that is not a multiple,
>Properties does not complain (that is a bug) but as soon as the Design
>Window gets redrawn, it will be drawn in multiples of 34 and the
toolbar
>CY will be adjusted. As I said earlier, I made an assumption early on,
>right or wrong, that toolbar rows were 34 pixels. In order for the
>internal routines that place controls on the toolbar to work correctly
I
>needed the toolbar CY to be even multiples of the row. I did allow
users
>to change the default value for toolbar row size, in case they wanted
>something other than 34. You do that in Default Control Values from the
>Configuration Menu and IDE will use the new value everywhere instead of
>34.

That's good. I knew I should have been able to change something. I
should have checked for that.

>Can you describe the conditions in which you need the toolbar to be a
>different CY than even multiples of 34 so I can better understand the
>problem? Is there only one row of controls, for example, but you desire
>a deep toolbar? Or there will be multiple rows, but you want a little
>extra depth in the last row? Or you want the rows to be something other
>than 34? If this is the case, perhaps I can modify the toolbar resizing
>routines to make sure the toolbar is deep enough to contain extra rows,
>but not worry about any 'extra' space at the bottom of the last row --
I
>hope that makes sense, sometimes I can not describe well.

I was trying to make a program that looked like an example for the BASS
library. This would perhaps make it a little easier (for me and for
someone who would like to compare C to Eu). However, the toolbar is
about 22 or 23, not 34. It would be nice if the CY had to be in
multiples of 1. :)  But seriously, I think a solution would be to have
CY be in multiples of the grid size. That would make it a little easier
to work with and the user can set it as well.

On a side note, I noticed that you cannot make Class in the Properties
wait for Enter. That would be nice in case someone would like to type in
a value (for whatever reason). I tried to type in FlatToolBar instead of
ToolBar (which seemed to not work) and it lost focus for every letter
that I typed. It would be good if you fixed that.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu