BUG: Recordset NavBarAlignment Displays Incorrect PropertyID: Q190592
|
The Recordset Navbar of the Grid DTC is right-justified, even though the property browser shows the "NavBarAlignment" property is set to "2 - Center."
The navbarAlignment property of the Grid DTC is set to "Right" by default. However, the property browser displays the navbarAlignment property as "Center," initially.
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
Another workaround for this bug is to programmatically set the navbarAlignment property of the Grid DTC in the Recordset's ondatasetcomplete event. The following VBScript code sample will successfully center the Recordset Navbar of the Grid DTC.
Sub Recordset1_ondatasetcomplete()
Grid1.navbarAlignment = "Center"
End Sub
Additional query words:
Keywords : kbCtrl kbVisID600bug kbGrpASP
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 20, 1999