View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004800 | JEDI VCL | 00 JVCL Components | public | 2009-05-30 00:42 | 2009-05-30 11:30 |
Reporter | onnodb | Assigned To | jfudickar | ||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.36 | ||||
Target Version | Fixed in Version | ||||
Summary | 0004800: MessageDlgEx (or CreateDSAMessageForm) doesn't apply HelpContext | ||||
Description | In the unit JvDSADialogs, the function CreateDSAMessageForm receives a help context for the form to be created in the HelpCtx parameter. The function does not actually apply this help context, however. This can be easily fixed by adding one line to the code that initializes the properties of the form. See the attached patch. | ||||
Tags | No tags attached. | ||||
2009-05-30 00:42
|
JvDSADialogs_patch (770 bytes)
--- C:/Users/Onno/Documents/Temp/JvDSADialogs_old.pas Sat May 30 00:39:26 2009 +++ C:/Users/Onno/Documents/Temp/JvDSADialogs.pas Sat May 30 00:34:28 2009 @@ -802,10 +802,11 @@ VertMargin := MulDiv(mcVertMargin, DialogUnits.Y, 8); HorzSpacing := MulDiv(mcHorzSpacing, DialogUnits.X, 4); VertSpacing := MulDiv(mcVertSpacing, DialogUnits.Y, 8); ButtonWidth := MulDiv(mcButtonWidth, DialogUnits.X, 4); Timeout := Abs(ATimeout); + HelpContext := HelpCtx; for I := Low(Buttons) to High(Buttons) do begin TextRect := Rect(0, 0, 0, 0); {Windows.}DrawText(Canvas.Handle, PChar(Buttons[I]), -1, TextRect, DT_CALCRECT or DT_LEFT or DT_SINGLELINE or DrawTextBiDiModeFlagsReadingOnly); |
|
Fixed in Revision 12317 |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-05-30 00:42 | onnodb | New Issue | |
2009-05-30 00:42 | onnodb | File Added: JvDSADialogs_patch | |
2009-05-30 09:44 | jfudickar | Assigned To | => jfudickar |
2009-05-30 09:44 | jfudickar | Status | new => assigned |
2009-05-30 11:30 | jfudickar | Note Added: 0015536 | |
2009-05-30 11:30 | jfudickar | Status | assigned => resolved |
2009-05-30 11:30 | jfudickar | Resolution | open => fixed |