View Issue Details

IDProjectCategoryView StatusLast Update
0004800JEDI VCL00 JVCL Componentspublic2009-05-30 11:30
ReporteronnodbAssigned Tojfudickar 
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.36 
Target VersionFixed in Version 
Summary0004800: MessageDlgEx (or CreateDSAMessageForm) doesn't apply HelpContext
DescriptionIn 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.
TagsNo tags attached.

Activities

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);
JvDSADialogs_patch (770 bytes)

jfudickar

2009-05-30 11:30

developer   ~0015536

Fixed in Revision 12317

Issue History

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