Hello,
Is there a way to have default table style (like bother width, cell width, color so on)?
Thank you
default table style
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: default table style
Do you mean RichViewActions, the action TrvActionInsertTable? It has all properties of table objects, like BorderWidth, BorderColor, and so on. So you can assign them.
Additionally, in the table properties dialog, the user can check "Default" checkbox at the bottom left corner of the dialog, and these properties will be assigned to new tables (because these properties will be assigned to TrvActionInsertTable action).
Additionally, in the table properties dialog, the user can check "Default" checkbox at the bottom left corner of the dialog, and these properties will be assigned to new tables (because these properties will be assigned to TrvActionInsertTable action).
Re: default table style
sorry, yes that is what I meant RichViewActions table.
Is that a component I need to register ? or just create TrvActionInsertTable table and assign all default on form create ?
Thank you so much
Is that a component I need to register ? or just create TrvActionInsertTable table and assign all default on form create ?
Thank you so much
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: default table style
Actions are added in TActionList component. If you created your application basing on our ActionTest demos, you already have ActionList1: TActionList component, containing many actions, including TrvActionInsertTable. You can assign its properties at designtime, in the Object Inspector.
Re: default table style
Thank you so much for your time,
I was able to find it under
rvActionsResource.rvActionInsertTable1
Thanks again
I was able to find it under
rvActionsResource.rvActionInsertTable1
Thanks again
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: default table style
rvActionsResource (from dmActions.pas) is used in our ActionTest demo for Delphi 7-2007.
ActionTest for newer versions of Delphi have TActionList (and actions) directly on the main form.
ActionTest for newer versions of Delphi have TActionList (and actions) directly on the main form.