Home

Action
Log In

Site Contents
Classified Ads
Developer's Corner
Download Software
Links
Mobile Channels
News
Pocket PC Forums
Reviews
Technical Support
Tips and Tricks
Vendors and Products

Administration
Webmaster

Search


Location: HPC.net for PocketPC
Pocket PC Forums
Bugs and Glitches
CommandBarButton Bug?
Search:

Title:

CommandBarButton Bug?

From:

Robert Werner

Email (Optional):

rwerner@mwtech.com

Added:

4/10/2001 11:03:46 PM

Message:

My dilemma is very simple:

Start a new H/PC project, and drop a CommandBar Control onto the Form. Then copy this code into the form window:


Option Explicit

Private Sub Form_Load()
InitCommandBar
End Sub

Sub InitCommandBar()
Dim objButton As CommandBarButton

Set objButton = CommandBar1.Controls.Add(cbrButton, "Button1")

objButton.Style = cbrDefault
objButton.Caption = "Test"

End Sub



Why doesn't the object display the caption "Test"?

Is this a known bug, or have I done something wrong?

Robert W.


All Contents Copyright (c) 2017 Bongiovanni Research & Technology, Inc.