Designer question

Started by Gary Stout, November 10, 2009, 07:37:31 PM

Previous topic - Next topic

David Warner

As usual, great stuff Paul!

Gary Stout


Richard Marchessault

Thanks,
Dick

Jean-pierre Leroy

Paul,

Yes definitely it will be a great addition to FF.

I'm just curious to know which properties are displayed under "Multiple Selected Controls" ?

Only the common properties of the selected controls ? or do you choose another approach?

Jean-Pierre

Roger Garstang

Backcolor and fore color in the properties list doesn't match any of the selected controls???  What determines the displayed values when multi controls are selected, the one with focus like when we align and size a group with the menus?  You also had Labels and Textboxes selected and it showed Caption but not Text???  Might be a good change to make them consistent too since it may be considering Caption as Text from the looks of it we need to make Labels have a Text property instead of calling it Caption...since that is what it really is anyway is the text of the control, and it matches other IDEs like our buddy Visual Studio.

Paul Squires

The selected properties depend on which control in the group is the active contorl (ie. the one with the blue gripper handles). The common properties for the active control are displyed in the grid. If the selection comprises controls of a several different types (ie. Labels, TextBoxes, etc.), then the property change would be bypassed for that specific control if the property is not relevant (eg. trying to set a "InitialDate" property for a TextBox control).

Also, if all controls in the selected group are of the same type then the "WindowStyles" property is also available.
Paul Squires
PlanetSquires Software

Roger Garstang

#21
Cool, I like that...sounds better than the competitor since we can select what control has the properties we want to try to change across all. So, what about the Caption thing? If Caption is changed would it have changed Text of Textbox...and would it be good to call it Text to have better properties across the board? Form/Buttons/Check/Radio would be the same way...seems the Textbox is about the only thing to call it Text looking at it now. Not sure which way would be best...I guess that would separate text/richedit and the labels/frames/buttons.

Kevin Warne

Quote from: TechSupport on November 13, 2009, 08:40:58 AM
I've been thinking more about this feature. It may not be as difficult as I first imagined.

Here are my thoughts:

- How should the common properties be applied? For example, say that I have a group of 10 selected controls but only 7 of them have a "Text" property. When the user types in the new value for the "Text" property of the active control, how should I apply the changes to the other controls? To all 7 controls or none at all because it the property is not common to all controls.

- I imagine that I would need an additional option added so that users could toggle this feature on and off.

What do you guys think?

Paul,

MS Access approach is When you select 10 controls the properties sheet only show common properties for 10 controls. For example 1 of the 10 controls does not have 'caption' propterty the common property sheet will not show 'caption' property at all.

Regards,
KW