View Issue Details

IDProjectCategoryView StatusLast Update
0005134JEDI VCL00 JVCL Componentspublic2011-06-10 16:09
ReporterdeboseAssigned ToAHUser 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.40 
Summary0005134: No text in autocomplete dialog for TJvEditor and descendants in D2010 on Vista
DescriptionAs I suppose, this is not bug indeed, but more likely leak of functionality.

How to repeat:
* place TjvEditor or TjvHLEditor or TJvWideEditor or TJvWideHLEditor.
* go to Completion property
* fill in Identifiers with few strings
* set Completion.Enabled := True;
* run program
* set cursor to JvEditor
* press Ctrl+Space

Will be shown popup with some lines, but no actual text will be drawn.

As I found in sources, Auto-completion popup style is set to lbOwnerDraw (even if it was set to lbStandard in Completion property) and assigns TJvEditor's event handler. If no event handler declared - then no drawing at all.
Additional InformationI suggest to add default painting routine, if no OnDraw event was assigned.
TagsNo tags attached.

Activities

obones

2010-03-08 16:04

administrator   ~0017250

Please provide the zipped sources of a sample application showing this

2010-03-15 11:25

 

JvEditorCompletionDraw_0005134.zip (554 bytes)

debose

2010-03-15 11:25

reporter   ~0017303

Here they are.

AHUser

2010-04-02 13:14

developer   ~0017344

Fixed in rev. 12726 (2010-03-16)

Issue History

Date Modified Username Field Change
2010-01-25 01:14 debose New Issue
2010-03-08 16:04 obones Note Added: 0017250
2010-03-08 16:04 obones Status new => feedback
2010-03-15 11:25 debose File Added: JvEditorCompletionDraw_0005134.zip
2010-03-15 11:25 debose Note Added: 0017303
2010-04-02 13:14 AHUser Note Added: 0017344
2010-04-02 13:14 AHUser Status feedback => resolved
2010-04-02 13:14 AHUser Fixed in Version => Daily / SVN
2010-04-02 13:14 AHUser Resolution open => fixed
2010-04-02 13:14 AHUser Assigned To => AHUser
2011-06-10 16:09 obones Fixed in Version Daily / SVN => 3.40