Print Page | Close Window

Custom Controls within cells

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=17120
Printed Date: 15 November 2024 at 1:47pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Custom Controls within cells
Posted By: Hemesh
Subject: Custom Controls within cells
Date Posted: 17 August 2010 at 4:50am
Hi all,

I'm trying to add some controls to a report control cell other than the Buttons provided with the AddButton method. There is a sample application with an example of this which can be downloaded from the http://www.codejock.com/downloads/samples/reportcontrol.asp - webpage but there is no source code available with that sample.

Has anyone done this and can provide us with some source code on how this is done? I eventually want the ability to drag-n-drop onto these contols as well which could make things interesting! :)

Thanks in advance.


-------------
Product: Xtreme SuitePro (ActiveX) version 18.5.0

Platform: Windows 7 Enterprise (64-bit)

Language: Visual Basic 6.0



Replies:
Posted By: Aaron
Date Posted: 13 September 2010 at 10:32am
Hi,
 
What kind of controls are you thinking about? There is method to get ItemRect and could be used to size and position a control. It's not going to be easy but still...
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Hemesh
Date Posted: 14 September 2010 at 7:11am
i was looking at maybe just a label, picturebox... something to help the control look like a gantt chart for scheduling. I've used merged cells at the moment an changed the back colour, but was hoping there might be something I can do with a few more funky controls.

I'm quite suprised that the sample app i've mentioned doesn't have associated source code for customers to look at...


-------------
Product: Xtreme SuitePro (ActiveX) version 18.5.0

Platform: Windows 7 Enterprise (64-bit)

Language: Visual Basic 6.0


Posted By: Aaron
Date Posted: 14 September 2010 at 8:38am
Hi,
 
The sample is created with MFC so you aren't able to reproduce that.  
I think you need markup for this kind of things. Try MarkupPad application and look at some possible features (checkbox, radiobutton and button) also progressbar is possible with Markup.
 
 
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Hemesh
Date Posted: 15 September 2010 at 8:24am
Thanks Aaron, will investigate Markup some more and see what can be done.

-------------
Product: Xtreme SuitePro (ActiveX) version 18.5.0

Platform: Windows 7 Enterprise (64-bit)

Language: Visual Basic 6.0



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