Marshall Brooks
Member
- Local time
- Yesterday, 23:46
- Joined
- Feb 28, 2023
- Messages
- 727
Please see the attached database.
This is ultimately pretty minor, but I am having problems getting the datasheet view pop-up form for my audit log results to center properly. I found ten or so threads asking the same types of questions, but nothing that really resolved the issue.
Audit Log Thread: https://www.access-programmers.co.u...update-of-a-field.329588/page-10#post-1909410
If you look at the attached, the frmTimerProgressBar centers perfectly.
The frmAuditLog has the following problems:
This is ultimately pretty minor, but I am having problems getting the datasheet view pop-up form for my audit log results to center properly. I found ten or so threads asking the same types of questions, but nothing that really resolved the issue.
Audit Log Thread: https://www.access-programmers.co.u...update-of-a-field.329588/page-10#post-1909410
If you look at the attached, the frmTimerProgressBar centers perfectly.
The frmAuditLog has the following problems:
- The form was originally too wide. In the Form_Open() Procedure, I set the Me.InsideWidth to 14850 which fixed it. This was trial-and-error with various values, but it seems to work regardless of display resolution.
- The form has a horizontal scroll bar that I can't get rid of. Me.Scrollbars = 0 or 2 do not work. (I want a vertical scroll bar only if required). I think this is b/c the actual form IS wider than shown and I am just changing the .InsideWidth to make it display smaller. I don't know how to shrink it overall, though.
- The form is offset to the left of center. I think this is also due to the form being wider than what it is displayed at.
- The form is longer (taller) than necessary. I don't know how to correct this. I can reduce the height with Me.InsideHeight, but if I add additional records, the form will be too short then. I included links and info in the VBA for how to do this with a listbox, but I didn't see a way to adapt that to a pop-up form.
Attachments
Last edited: