Home About us Development Training Support |
ID codes for CommandBarButtonsWhen CommandBarButtons are added to a CommandBar in Access their property defines their icon and their default behaviour:
'-- Create a command bar with three buttons
Set myBar = CommandBars.Add(Name:="Customer", _ Position:=msoBarTop, _ Temporary:=True) With myBar .Controls.Add Type:=msoControlButton, Id:=539 .Controls.Add Type:=msoControlButton, Id:=4 .Controls.Add Type:=msoControlButton, Id:=644 .Visible = True End With Every button in the Access toolbar system has its own Id code but these are the most useful:
|
Hints & tips
The textbox class in Visual FoxPro 9 has a new Autocomplete
property which shows the user the previous values that have
been entered in that textbox.
More...
|