Preset RVAction Dialog Properties
Preset RVAction Dialog Properties
Hi Sergey,
Is there a way to set the RVEParagraphrvActionParaBorder properties before I show the dialog? I'd like to "preset" the background color, text margins and padding values right before opening the dialog.
Thanks
Stan
Is there a way to set the RVEParagraphrvActionParaBorder properties before I show the dialog? I'd like to "preset" the background color, text margins and padding values right before opening the dialog.
Thanks
Stan
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Preset RVAction Dialog Properties
Sorry, the current version of RichViewActions does not allow it.
TrvActionParaBorder can work in two modes:
1. If its property UserInterface = True (default), the action assigns attributes from selected text to the dialog, {*} shows the dialog, applies changes made in dialog.
2. If UserInterface = False, you assign properties of the action, and the action applies them, without showing a dialog,
If you want, I can add an event that will happen in time marked as in the text {*} above.
TrvActionParaBorder can work in two modes:
1. If its property UserInterface = True (default), the action assigns attributes from selected text to the dialog, {*} shows the dialog, applies changes made in dialog.
2. If UserInterface = False, you assign properties of the action, and the action applies them, without showing a dialog,
If you want, I can add an event that will happen in time marked as in the text {*} above.
Re: Preset RVAction Dialog Properties
Hi Sergey,
Mode 1: This is how I'm using it now. I set the para properties in my rve first, then I show the dialog which I can use to make any additional changes.
Mode 2: This would not be what I'd want. I can set the properties needed in code now and don't need to do it using a hidden UI action.
I'm not quite sure what you mean by this: {*} Is that all the code in the rvaction that runs between the action assigning the selected text properties from my rve and when the action's dialog form is actually shown?
As to an event that would "happen in time marked as in the text {*} above," if my assumption as to what {*} means is correct and if you were planning to do that anyway, that would be OK, otherwise don't bother with it. I can use mode 1 instead.
Thanks again Sergey
Stan
Mode 1: This is how I'm using it now. I set the para properties in my rve first, then I show the dialog which I can use to make any additional changes.
Mode 2: This would not be what I'd want. I can set the properties needed in code now and don't need to do it using a hidden UI action.
I'm not quite sure what you mean by this: {*} Is that all the code in the rvaction that runs between the action assigning the selected text properties from my rve and when the action's dialog form is actually shown?
As to an event that would "happen in time marked as in the text {*} above," if my assumption as to what {*} means is correct and if you were planning to do that anyway, that would be OK, otherwise don't bother with it. I can use mode 1 instead.
Thanks again Sergey
Stan
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Preset RVAction Dialog Properties
I mean, the new event can be called just before displaying this dialog. In this event, you will be able to assign properties of the action, and they will be used as initial values in the dialog,
Re: Preset RVAction Dialog Properties
OK, thanks for clarification. Yes, that would be great if you have time to do it.
Stan
Stan
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Preset RVAction Dialog Properties
Most probably the update will be released closer to the end of July.
My current plans:
- this week: to release RVMedia update
- next week: vacation
- then I'll continue working on TRichView and RichViewActions.
My current plans:
- this week: to release RVMedia update
- next week: vacation
- then I'll continue working on TRichView and RichViewActions.
Re: Preset RVAction Dialog Properties
Sounds good.
Thanks Sergey
Stan
Thanks Sergey
Stan
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Preset RVAction Dialog Properties
The event will be named OnShowingDialog, and will be added to TrvActionFontEx, TrvActionParagraph, and TrvActionParaBorder.
Re: Preset RVAction Dialog Properties
Thanks Sergey. I'll try it as soon as it's available.
Stan
Stan
Re: Preset RVAction Dialog Properties
Hi Sergey,
I installed 21.4 but not seeing an OnShowingDialog event in TrvActionFontEx, TrvActionParagraph, and TrvActionParaBorder.
Will that be coming later?
Thanks Sergey.
Stan
I installed 21.4 but not seeing an OnShowingDialog event in TrvActionFontEx, TrvActionParagraph, and TrvActionParaBorder.
Will that be coming later?
Thanks Sergey.
Stan
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Preset RVAction Dialog Properties
Sorry, by a mistake, RichViewActions were not updated in the new setups.
I just uploaded fixed versions (without changing version number), please re-download.
I just uploaded fixed versions (without changing version number), please re-download.
Re: Preset RVAction Dialog Properties
Thanks Sergey, I'll do that now.
Edit: OK, yes, they are updated now! Thanks. I tried the OnShowingDialog event in a quick test and yes, that seems to work just as I wanted it to. I'll work on implementing that and let you know how that goes.
Stan
Edit: OK, yes, they are updated now! Thanks. I tried the OnShowingDialog event in a quick test and yes, that seems to work just as I wanted it to. I'll work on implementing that and let you know how that goes.
Stan