Mike Krailo
Well-known member
- Local time
- Today, 02:37
- Joined
- Mar 28, 2020
- Messages
- 1,443
Here are all my changes rolled into the new V12.
- Move the LOCATIONS and Total Value labels and text box down to look better. This is subjective.
- Widen the locations activex control so it can fit a larger tree. Changes in design view are being overridden.
- Add one single space in front of menu items on the left tree view menu.
- Set backcolor of the node move button to: Background 1, Darker 15%
- Set caption of node move button to: Move To Selected Node
- Align all of the darker tree view menu headings and change fore color: Text 1, Lighter 50%
- Match the height of the Tree View menu and the Tree View control so everything lines up. There might be something in the code overriding design view settings. Not sure where though.
- Remove horizontal scrollbars from all forms that don't need them to avoid the gray bar at bottom.
- Remove record selectors from subFrmItems
- Fix all of the tab stop issues on all forms.
- frmItemGenie in FormatTree add: Indentation = 150
- Change form colors to be Themed to Office 2013-2022 Accent 1 and various shades. It should look OK in different themes that a user selects.
- Add keyboard shortcuts for the tree menu. Alt-U Alt-D (move node up/down), Alt-L Alt-I (add location or item), Alt-E (dElete Node), Alt-S (App Settings), Alt-B (Bulk Edit), Alt-R (add Root Location).
- Fix the subFrmItems scrollbar issue. See last line in code snippet from frmItemGenie code page.
Code:
Public Sub LocationSelected(PK As Long)
Me.tabItems = 0
Me.tabItems.Pages(1).Visible = False
Me.subFrmItems.Form.Filter = "Location_ID_FK = " & PK
Me.subFrmItems.Form.FilterOn = True
Me.tabItems.Pages(0).Caption = "Items in " & GetLocationName(PK)
Me.SubfrmLocationDetails.Form.Recordset.FindFirst "Location_ID = " & PK
Me.subFrmItems.Form.ScrollBars = IIf(Me.subFrmItems.Form.Recordset.RecordCount > 5, 2, 0)
End Sub