Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Custom Controls within cells
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Custom Controls within cells

 Post Reply Post Reply
Author
Message
Hemesh View Drop Down
Senior Member
Senior Member


Joined: 10 August 2010
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hemesh Quote  Post ReplyReply Direct Link To This Post Topic: Custom Controls within cells
    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 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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
Hemesh View Drop Down
Senior Member
Senior Member


Joined: 10 August 2010
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hemesh Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
Hemesh View Drop Down
Senior Member
Senior Member


Joined: 10 August 2010
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hemesh Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.