View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001904 | JEDI VCL | 04 Feature Request | public | 2004-06-29 22:52 | 2004-07-24 13:53 |
Reporter | cpall | Assigned To | obones | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0001904: jvOfficeColorPanel | ||||
Description | I'd like the ability to select a color with the right mouse button. I could tell which mouse button was clicked by the button value passed from the event. I've already started working on this and will upload the source code when I am done. Perhaps we can do this as some sort of option to the component rather than default behavior. I need this functionality to mimic what was going on in code syntax highlighting color selection aka delphi 5. | ||||
Tags | No tags attached. | ||||
|
I finished the update, it is a very simple update. I simply caught the onmouseup event for all of the buttons. It was not being handled before. I made a call to ColorButtonClick which does the work of getting the proper button selected. If there is a popup active on the form, then the popup overrides the right click select action. |
|
Gah, I swear I was logged in. Anyway, here's the code. This is the only file which required modification. |
2004-07-20 21:09
|
JvOfficeColorPanel.pas (29,833 bytes) |
|
JvOfficeColorPanel can now select its buttons with a right click. Set RightClickSelect to True if you want that, it is False by default to keep the previous behaviour. If there is a popup menu the button will only be selected if SelectIfPopup is True (it is False by Default). |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-06-29 22:52 | cpall | New Issue | |
2004-07-05 00:30 | obones | Status | new => assigned |
2004-07-05 00:30 | obones | Assigned To | => obones |
2004-07-20 21:07 | anonymous | Note Added: 0004783 | |
2004-07-20 21:09 | cpall | Note Added: 0004784 | |
2004-07-20 21:09 | cpall | File Added: JvOfficeColorPanel.pas | |
2004-07-24 13:53 | obones | Status | assigned => resolved |
2004-07-24 13:53 | obones | Resolution | open => fixed |
2004-07-24 13:53 | obones | Note Added: 0004826 |