|  | 
| Add combo box to commandbar | 
| Post Reply   | 
| Author | |
| winanjaya   Groupie   Joined: 07 August 2005 Location: Indonesia Status: Offline Points: 19 |  Post Options  Thanks(0)  Quote  Reply  Topic: Add combo box to commandbar Posted: 07 August 2005 at 11:21pm | 
| Dear All, I am very new with this, is it possible to add a combobox into commandbars? ..pls advise .. Regards Winanjaya | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 08 August 2005 at 4:05am | 
| See GUISample: 
  Set Control = .Add(xtpControlButton, ID_DEBUG_START, "Start") | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| winanjaya   Groupie   Joined: 07 August 2005 Location: Indonesia Status: Offline Points: 19 |  Post Options  Thanks(0)  Quote  Reply  Posted: 08 August 2005 at 4:25am | 
| Thanks for your reply, but I am very new with this, could you please inform me what is the value of ID_DEBUG_START and ID_DEBUG_CONFIGURATION and where can I find GUI sample? .. please advise 
 Thanks a lot in advance Regards Winanjaya | |
|  | |
| SuperMario   Senior Member     Joined: 14 February 2004 Status: Offline Points: 18057 |  Post Options  Thanks(0)  Quote  Reply  Posted: 08 August 2005 at 8:20am | 
| 
   Hi, It is just a numeric constant defined. It is used as an ID for the control in the toolbar. You can use this id to find it within the toolbar. Look in the Definitions.bas module to see them. They can be just about any non-negative number. To find sample, look in the "common" folder under sample in the start menu. | |
|  | |
| winanjaya   Groupie   Joined: 07 August 2005 Location: Indonesia Status: Offline Points: 19 |  Post Options  Thanks(0)  Quote  Reply  Posted: 08 August 2005 at 7:46pm | 
| Hi All, I met "Type mismatch" on this line: Set Combo = .Add(xtpControlComboBox, ID_COMBO, "Application List") please advise Thanks ====     With ToolBar.Controls | |
|  | |
| winanjaya   Groupie   Joined: 07 August 2005 Location: Indonesia Status: Offline Points: 19 |  Post Options  Thanks(0)  Quote  Reply  Posted: 08 August 2005 at 7:52pm | 
| sorry , please ignore my previous message, it works .. 
 Thanks & Regards Winanjaya | |
|  | |
| 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 |