![]() |
Add Item |
Post Reply ![]() |
Author | |
cmm2006 ![]() Senior Member ![]() Joined: 26 September 2006 Status: Offline Points: 118 |
![]() ![]() ![]() ![]() ![]() Posted: 23 June 2009 at 2:25pm |
Hi,
I have a recordset containing a number of records of events, and I am trying to add today's events to agroup (each event is an item). how can I be able to do so?
thank you
Visual Basic 6 SP6
CJ 12.1.1
Windows XP Pro
|
|
![]() |
|
Peter59 ![]() Groupie ![]() Joined: 19 July 2007 Status: Offline Points: 61 |
![]() ![]() ![]() ![]() ![]() |
Hi,
it's not difficult to do so: - add a TaskPanelGroup to your task panel - loop thru your recordset with events and add an TaskPanelItem for each event - use event TaskPanel_ItemClick to get informed when an item is clicked See attached sample (can't upload sample now, will upload later) Peter ![]() |
|
Product: Xtreme SuitePro (ActiveX) version 15.2.1
Platform: Windows 7 64 Bit Language: Visual Basic 6.0 SP6 |
|
![]() |
|
cmm2006 ![]() Senior Member ![]() Joined: 26 September 2006 Status: Offline Points: 118 |
![]() ![]() ![]() ![]() ![]() |
Hello, the problem here is the Item ID that I have to assign to the item so I can add it to the pannel. ID should be declared before...thank you
![]() |
|
Language: Visual Basic 6 SP6
OS: Windows XP Pro SP3 Product: Codejock Xtreme SuitePro 13.1 |
|
![]() |
|
Peter59 ![]() Groupie ![]() Joined: 19 July 2007 Status: Offline Points: 61 |
![]() ![]() ![]() ![]() ![]() |
Hello,
there is still no uplaod button here so I have to explain it this way. My VB sample project Assuming you have a recordset rsEvents with events (from database forexample) 1. Create a new project 2. Add a reference to MS ActiveX Data Objects 3. Add a CodeJock TaskPanel control named TaskPanel, 4 labels, 4 textboxes and a MS ImageList named TaskPanelIcons ![]() 4. Add at least 3 icons 16x16 to the image list 5. add following code to Form1
6. Run project and click on TaskPanelItems Is this what you're looking for? Peter |
|
Product: Xtreme SuitePro (ActiveX) version 15.2.1
Platform: Windows 7 64 Bit Language: Visual Basic 6.0 SP6 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |