View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003014 | JEDI VCL | 00 JVCL Components | public | 2005-06-02 12:54 | 2005-06-02 14:47 |
Reporter | anonymous | Assigned To | remkobonte | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.00 | ||||
Target Version | Fixed in Version | 3.10 | |||
Summary | 0003014: JvRichEdit; right-click-menu problems | ||||
Description | I found two problems with the JvRichEdit component, both related to the popup menu, and probably, also to eachother; 1) Put a JvRichEdit on a form, and assign a popup menu to it. Turn of the "Allow Objects" property. Now, during runtime, when you right-click and the menu pops out, when you click on it (the menu), it will pop up again, instead of just vanish. 2) Trying to make a seperate right-click for the urls, when "AutoURLDetect" is enabled. Thought that you could use the OnURLClick-event and check for the right mouse button, but the default menu pops out first, and then, when it is closed, the "special" one. Maybe not a bug, but surely a logic problem. Even tried to skip the built-in right menu function, and made an OnMouseDown-evend and popped the menu manually, but it was still trigged before the OnURLClick. | ||||
Tags | No tags attached. | ||||
|
(1) Is fixed in Rev 1.72. (2) Is indeed related to (1), now the url menu pops up /before/ the default menu. You could use an OnContextPopup handler to prevent the popup of the default menu, for example: var SkipNextPopup: Boolean; procedure TForm1.JvRichEdit1URLClick(Sender: TObject; const URLText: String; Button: TMouseButton); begin if Button = mbRight then begin SkipNextPopup := True; // stuff end; end; procedure TForm1.JvRichEdit1ContextPopup(Sender: TObject; MousePos: TPoint; var Handled: Boolean); begin Handled := SkipNextPopup; SkipNextPopup := False; end; |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-06-02 12:54 | anonymous | New Issue | |
2005-06-02 14:47 | remkobonte | Status | new => resolved |
2005-06-02 14:47 | remkobonte | Resolution | open => fixed |
2005-06-02 14:47 | remkobonte | Assigned To | => remkobonte |
2005-06-02 14:47 | remkobonte | Note Added: 0007392 |