View Issue Details

IDProjectCategoryView StatusLast Update
0037720LazarusDocumentationpublic2020-11-14 23:22
ReporterCudaText man_ Assigned ToBart Broersma  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.1 (SVN) 
Summary0037720: Label ShowAccelChar docs
Descriptionquote: When True, the character following the Ampersand appears underlined, and when the user presses the accelerator key (CTRL+[character]), the focus changes to the associated FocusControl.

must be:
Alt+[character]
and not sure how it must be on macOS. Alt+[char] enters some crap in Edit.
TagsNo tags attached.
Fixed in Revisionr64137
LazTarget-
WidgetsetCocoa
Attached Files

Activities

Juha Manninen

2020-10-25 01:13

developer   ~0126527

Widgetset is marked as Cocoa. Is it correct?

Bart Broersma

2020-11-14 16:57

developer   ~0126933

Can you provide a proper patch for the file in question (it should be in the ($LazarusDir)/docs/xml folder)?

CudaText man_

2020-11-14 22:28

reporter   ~0126944

patch added.
d.diff (861 bytes)   
Index: docs/xml/lcl/stdctrls.xml
===================================================================
--- docs/xml/lcl/stdctrls.xml	(revision 64136)
+++ docs/xml/lcl/stdctrls.xml	(working copy)
@@ -8555,7 +8555,7 @@
             When <b>False</b>, an Ampersand '&amp;' in the label caption is displayed as an ordinary character (as in the Object Inspector).
           </p>
           <p>
-            When <b>True</b>, the character following the Ampersand appears underlined, and when the user presses the accelerator key (CTRL+[character]), the focus changes to the associated FocusControl.
+            When <b>True</b>, the character following the Ampersand appears underlined, and when the user presses the accelerator key with the ALT (ie Alt+character), the focus goes to the associated FocusControl.
           </p>
         </descr>
         <seealso>
d.diff (861 bytes)   

Bart Broersma

2020-11-14 22:46

developer   ~0126948

Thanks for the patch.
Please test and close if OK.

Issue History

Date Modified Username Field Change
2020-09-08 12:16 CudaText man_ New Issue
2020-10-25 01:13 Juha Manninen Note Added: 0126527
2020-11-14 16:57 Bart Broersma Note Added: 0126933
2020-11-14 16:57 Bart Broersma Status new => feedback
2020-11-14 16:57 Bart Broersma LazTarget => -
2020-11-14 22:28 CudaText man_ Note Added: 0126944
2020-11-14 22:28 CudaText man_ File Added: d.diff
2020-11-14 22:28 CudaText man_ Status feedback => new
2020-11-14 22:44 Bart Broersma Assigned To => Bart Broersma
2020-11-14 22:44 Bart Broersma Status new => assigned
2020-11-14 22:46 Bart Broersma Status assigned => resolved
2020-11-14 22:46 Bart Broersma Resolution open => fixed
2020-11-14 22:46 Bart Broersma Fixed in Revision => r64137
2020-11-14 22:46 Bart Broersma Widgetset Cocoa => Cocoa
2020-11-14 22:46 Bart Broersma Note Added: 0126948
2020-11-14 23:22 CudaText man_ Status resolved => closed