trichview.com

trichview.support




Re: rvActionTableProperties and the picturedialog filter


Return to index


Author

Message

Sergey Tkachenko

Posted: 12/18/2004 22:48:11


Well, the table dialog is shown by two actions: TrvActionItemProperties and

TrvActionTableProperties.

In the next update, I'll add BackgroundGraphicFilter to

TrvActionTableProperties.

While you can do it yourself.

Open RichViewActions.pas,  find the declaration of TrvActionTableProperties,

add

the private section:


  private

    FBackgroundGraphicFilter: String;


and the published section:


  published

    property BackgroundGraphicFilter: String read FBackgroundGraphicFilter

write FBackgroundGraphicFilter;


In the implementation of TrvActionTableProperties.ExecuteCommand, add the

line

    frm.BackgroundFilter := BackgroundGraphicFilter;

after the line

    frm.SetTable(table, False);


>

> Dear Sergey,

>

> I've installed RichViewActions v1.42 and still it doesn't work...

>

> I use the following code:

> void __fastcall TForm1::FormCreate(TObject *Sender)

> {

>   rvActionItemProperties1->GraphicFilter = "JPEG (*.jpg,

*.jpeg)|*.jpg;*.jpeg|";

>   rvActionItemProperties1->BackgroundGraphicFilter = "JPEG (*.jpg,

*.jpeg)|*.jpg;*.jpeg|";

> }

>

//--------------------------------------------------------------------------

-

>

> Should I update RichViewEdit v1.9.1.8. to the last beta version???

>

> Thank you for your support.

>

> Pieter E.

>

> "Sergey Tkachenko" <[email protected]> wrote:

> >I am talking about the new version of RichViewActions (uploaded today):

> >http://www.trichview.com/resources/actions/richviewactions.zip

> >

> >>

> >> Dear Sergey,

> >>

> >> I'm using version 1.9.1.8 and there is no

> >'rvActionItemProperties1->BackgroundGraphicFilter'...

> >> :(

> >> (There is only 'rvActionItemProperties1->GraphicFilter')

> >>

> >> Maybe there is an other solution?

> >>

> >> Thanks.

> >>

> >> Pieter E.

> >>

> >>

> >> "Sergey Tkachenko" <[email protected]> wrote:

> >> >I added rvActionItemProperties1->BackgroundGraphicFilter property in

> >> >RichViewActions 1.42

> >> >

> >> >

> >> >

> >>

> >

> >

>





Powered by ABC Amber Outlook Express Converter