Some Questions about CommandBarEdit |
Post Reply |
Author | |
AndreiKr
Newbie Joined: 03 May 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: 31 May 2008 at 12:11pm |
I want make same find tool, my code for example
Set FindBox = GridBar.Controls.Add(xtpControlEdit, FindCmd, "Find") It works correctly, but I have one question: how I may get FindBox.Text property after every KeyDown from user? I finded CommandBarKeyDown Event. Its works, but this Event fired before changing Text property, and I got Text value without last character. If exist simple and correctly decision for my problem, please write me. Thanks. |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
You can use the CommandBars_Update event for this.
Private Sub CommandBars_Update(ByVal Control As XtremeCommandBars.ICommandBarControl)
Select Case Control.ID Case ID_FILTERTEXT Me.Caption = Control.Text End Select End Sub |
|
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.... |
|
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 |