trichview.com

trichview.support




Re: Some lack of understanding


Return to index


Author

Message

Sergey Tkachenko

Posted: 01/11/2003 20:50:20


1. I do not understand it too.

Procedure FillFields from MailMerge demo processes each item only one time


2. Editor behaviour depends on protection of text style used for fields.

If rvprModifyProtect in Protection, user cannot modify field text. But

he/she can select it and delete.

If rvprDeleteProtect in Protection, user can modify field text, but cannot

delete it (at least one character is not deleted)


3. Do you have the following code in OnJump:


procedure TfrmMain.rveJump(Sender: TObject; id: Integer);

var ItemNo: Integer;

    RVData: TCustomRVFormattedData;

    s: String;

begin

  rve.GetJumpPointLocation(id, RVData, ItemNo);

  s := PChar(RVData.GetItemTag(ItemNo));

  ShellExecute(0, 'open', PChar(s), nil, nil, SW_SHOW);

end;


?


If link was inserted correctly, s will contain URL target, and browser will

be opened on user click.

In editor, this event is generated

- if editor.ReadOnly = True and user clicks hyperlink

- rvoCtrlJumps in EditorOptions, user click hyperlink pressing and holding

Ctrl key.






Powered by ABC Amber Outlook Express Converter