Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Task Panel
  New Posts New Posts RSS Feed - Command Button in Task Panel
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Command Button in Task Panel

 Post Reply Post Reply
Author
Message
waheed sobhy View Drop Down
Newbie
Newbie


Joined: 02 January 2011
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote waheed sobhy Quote  Post ReplyReply Direct Link To This Post Topic: Command Button in Task Panel
    Posted: 02 January 2011 at 5:48am
Hi,
 
i add a command button in task banel but when click not excute ... when i removed this button from the panel it working fine
 
i need help how make control item working from taskpanel
 
 
 
 
Back to Top
Xander75 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 April 2007
Status: Offline
Points: 353
Post Options Post Options   Thanks (0) Thanks(0)   Quote Xander75 Quote  Post ReplyReply Direct Link To This Post Posted: 21 January 2011 at 4:38am
Hi,

Can I ask how you are adding the button to the TaskPanel?

I have 2 buttons in the TaskPanel, however these are first placed inside a PictureBox (called PanelSearch in code below) then the PictureBox is attached to the TaskPanel. I do this when adding controls to the TaskPanel to avoid the issue when clicking a control it sometimes jumps out of the TaskPanel, using this method I have no problems with this ever.


    Dim Group As TaskPanelGroup
    Dim Item As TaskPanelGroupItem
   
    Set Group = wndTaskPanel.Groups.Add(0, "Search by any or all of the criteria below.")
   
    Group.Items.Add 0, "Part Status:", xtpTaskItemTypeText
    Set Item = Group.Items.Add(0, "", xtpTaskItemTypeControl)
    Set Item.Control = panel(0)
   
    Group.Items.Add 0, "Country:", xtpTaskItemTypeText
    Set Item = Group.Items.Add(0, "", xtpTaskItemTypeControl)
    Set Item.Control = panel(1)

    Group.Items.Add 0, "Brand:", xtpTaskItemTypeText
    Set Item = Group.Items.Add(0, "", xtpTaskItemTypeControl)
    Set Item.Control = panel(2)

    Set Item = Group.Items.Add(0, "", xtpTaskItemTypeControl)
    Set Item.Control = panelSearch
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition
Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6)
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.125 seconds.