Visual component styles

Info about design forms features
PetrS
Site Admin
Posts: 181
Joined: 11 Jul 2014, 13:55

Visual component styles

Postby PetrS » 16 Jul 2014, 06:23

size=150bVisual component styles/b/size
Version 0.1.28 and higher

From version 0.1.28 you can attach style to the visual component.

buStyle definition contains:/u/b
list
*font (font name, size, style)/*:m
*visual component location (horizontal and vertical alignment, spacing / fixed coordinates)/*:m/list:u
Any change in style definition is automatically applied to all components with the same style.


ubStyle export/import/b/u
You can save/load style definition from a file. Use icon menu buttons in Style manager window.
When you save styles to the default location:
ic:\Users\<UserName>\Documents\DesignForms_0.1\DefaultStyles.styles/i
new calculation will automatically load these styles.


ubStyle cleaning:/b/u
You can automatically delete unused styles in Styles manager.


ubStyle overwriting:/b/u
Master calculation can overwrite definition of styles in extern calculation.
If you load extern CLC using LoadExternCLC(<ExternCLCName>, TRUE), styles from Master CLC will be copied to the ExternCLC. Styles with identical name will be overwritten in ExternCLC.
iImportant: Style names are case sensitive and white-space sensitive. Style names in Master and ExternCLC must be identical to be overwritten./i

See attached example for more details.
Attachments
Style_Master.cls
(16.28 KiB) Downloaded 410 times
Style_Extern.cls
(23.17 KiB) Downloaded 393 times
Ing. Petr Slepicka
DesignForms Online
Engineering calculations online - EuroCode, AISC, statics
Automate your static calculations today!

Return to “Design forms features”

Who is online

Users browsing this forum: No registered users and 1 guest