Print Page | Close Window

How to modify the combobutton in Report Control

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=4439
Printed Date: 14 September 2025 at 7:57pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to modify the combobutton in Report Control
Posted By: cmaxmedia
Subject: How to modify the combobutton in Report Control
Date Posted: 20 June 2006 at 4:59am

Hi @ll,

 
How can i modify the Dropdown list in the report control? i'm searching for the following features:
 
1) Autocomplete
2) Tag Property for the items. I don't wanna use a external var like

dim ItemTag(1 to 10)
...
 
3) Button should be displayed by focus the Recorditem not at doubleclick the Recorditem as default
 
At the moment i'm using this code:
 

Column.EditOptions.AddComboButton
Column.EditOptions.Constraints.Add "Comboitem", 1
 
a prefered solution would be

Dim Combobox as XTremeComboBox
ComboBox.Autocomplete=True
ComboBox.Items.Add "ComboItem", 1
ComboBox.Items(1).Tag="ComboTag1"
 
Is this possible? if not, does anyone have an acceptable workaround?
 
kind regards
Eder Markus
 
ps: sorry for my english



Replies:
Posted By: sserge
Date Posted: 25 June 2006 at 5:10pm
Hi Eder,

1) Standard Report control's behavior doesn't includes autocomplete for now. But you can customize it by using _InplaceButtonDown handler. Please look ReportSample / TaskList sample / column DueDate editing. As you can see, it calls whether Show_XTPDatePicker or Show_MFCDatePicker depending on registered components. If you do have any combobox with advanced autocomplete functionality, just call it there.

2) Not available now, will add for future versions. Currently only as you described.

3) You can handle _DrawItem event and draw a custom button for every required item.

--
WBR,
Serge



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net