Print Page | Close Window

TaskPanel: Control Items & Animation

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1837
Printed Date: 17 November 2024 at 9:23pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TaskPanel: Control Items & Animation
Posted By: ianp
Subject: TaskPanel: Control Items & Animation
Date Posted: 23 February 2005 at 5:29am

Using the following code extracted from the Task Panel sample, The text box controls are only displayed in the task panel if the animation type is set to xtpTaskPanelAnimationYes. Is this behaviour expected, because I couldn't find any reference in the documentation?

Private Sub Form_Load()
    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, "All or part of the file name:", xtpTaskItemTypeText
    Set Item = Group.Items.Add(0, "", xtpTaskItemTypeControl)
    Set Item.Control = txtFileName
   
    Group.Items.Add 0, "A word or phrase in the file:", xtpTaskItemTypeText
    Set Item = Group.Items.Add(0, "", xtpTaskItemTypeControl)
    Set Item.Control = txtContains
   
    Group.Items.Add 0, "Look in:", xtpTaskItemTypeText
    Set Item = Group.Items.Add(0, "", xtpTaskItemTypeControl)
    Set Item.Control = txtLookIn
   
    Group.Expandable = False

End Sub




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