![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Access 2010. I'm trying to use command buttons as filled shapes (rectangles with rounded corners) on one of my screens, since the rectangle control doesn't seem to allow for any similar shaping. The command buttons are not enabled, and by using 'Quick Shapes' I can get the effect I want with ease. The screen opens OK, but as soon as I shift to another record (single form view) the command buttons appear to move to the front and hide the controls which were originally on top. If I move the mouse cursor over each command button (as opposed to the controls which I want to appear) the controls reappear and stay there until I move to another record again. I've tried creating the shapes (rounded rectangles) in Powerpoint and Publisher, but when I import them as images, I can't get the same clean rounded effect as the command buttons. Has anyone got a solution? -- Bob Darlington Brisbane |
#3
| |||
| |||
|
|
Access 2010. I'm trying to use command buttons as filled shapes (rectangles with rounded corners) on one of my screens, since the rectangle control doesn't seem to allow for any similar shaping. The command buttons are not enabled, and by using 'Quick Shapes' I can get the effect I want with ease. The screen opens OK, but as soon as I shift to another record (single form view) the command buttons appear to move to the front and hide the controls which were originally on top. If I move the mouse cursor over each command button (as opposed to the controls which I want to appear) the controls reappear and stay there until I move to another record again. I've tried creating the shapes (rounded rectangles) in Powerpoint and Publisher, but when I import them as images, I can't get the same clean rounded effect as the command buttons. Has anyone got a solution? -- |
|
Bob Darlington Brisbane |
#4
| |||
| |||
|
|
"Bob Darlington" wrote Access 2010. I'm trying to use command buttons as filled shapes (rectangles with rounded corners) on one of my screens, since the rectangle control doesn't seem to allow for any similar shaping. The command buttons are not enabled, and by using 'Quick Shapes' I can get the effect I want with ease. The screen opens OK, but as soon as I shift to another record (single form view) the command buttons appear to move to the front and hide the controls which were originally on top. If I move the mouse cursor over each command button (as opposed to the controls which I want to appear) the controls reappear and stay there until I move to another record again. I've tried creating the shapes (rounded rectangles) in Powerpoint and Publisher, but when I import them as images, I can't get the same clean rounded effect as the command buttons. Has anyone got a solution? I've now discovered that the following code in the OnCurrent event works as a work around: For Each ctrl In .Controls If ctrl.ControlType = acLabel Or ctrl.ControlType = acRectangle Then ctrl.BackColor = ctrl.BackColor Next But I'd still like to know what is happening here if anyone can help. |
#5
| |||
| |||
|
|
Bob Darlington wrote: "Bob Darlington" wrote Access 2010. I'm trying to use command buttons as filled shapes (rectangles with rounded corners) on one of my screens, since the rectangle control doesn't seem to allow for any similar shaping. The command buttons are not enabled, and by using 'Quick Shapes' I can get the effect I want with ease. The screen opens OK, but as soon as I shift to another record (single form view) the command buttons appear to move to the front and hide the controls which were originally on top. If I move the mouse cursor over each command button (as opposed to the controls which I want to appear) the controls reappear and stay there until I move to another record again. I've tried creating the shapes (rounded rectangles) in Powerpoint and Publisher, but when I import them as images, I can't get the same clean rounded effect as the command buttons. Has anyone got a solution? I've now discovered that the following code in the OnCurrent event works as a work around: For Each ctrl In .Controls If ctrl.ControlType = acLabel Or ctrl.ControlType = acRectangle Then ctrl.BackColor = ctrl.BackColor Next But I'd still like to know what is happening here if anyone can help. Weird. I'd like to be able to explain this, but it looks like a bug to me. I'm afraid that you are blazing the trail on this one. -- Marsh |
#6
| |||
| |||
|
|
"Marshall Barton" wrote Bob Darlington wrote: "Bob Darlington" wrote Access 2010. I'm trying to use command buttons as filled shapes (rectangles with rounded corners) on one of my screens, since the rectangle control doesn't seem to allow for any similar shaping. The command buttons are not enabled, and by using 'Quick Shapes' I can get the effect I want with ease. The screen opens OK, but as soon as I shift to another record (single form view) the command buttons appear to move to the front and hide the controls which were originally on top. If I move the mouse cursor over each command button (as opposed to the controls which I want to appear) the controls reappear and stay there until I move to another record again. I've tried creating the shapes (rounded rectangles) in Powerpoint and Publisher, but when I import them as images, I can't get the same clean rounded effect as the command buttons. Has anyone got a solution? I've now discovered that the following code in the OnCurrent event works as a work around: For Each ctrl In .Controls If ctrl.ControlType = acLabel Or ctrl.ControlType = acRectangle Then ctrl.BackColor = ctrl.BackColor Next But I'd still like to know what is happening here if anyone can help. Weird. I'd like to be able to explain this, but it looks like a bug to me. I'm afraid that you are blazing the trail on this one. Do you think it worthwhile reporting to MS and if so, how do I go about it? There doesn't seem to be a 'bug reporting' area in MS Support, and I don't intend paying MS to report a bug through the customer support page. |
#7
| |||
| |||
|
|
Bob Darlington wrote: "Marshall Barton" wrote Bob Darlington wrote: "Bob Darlington" wrote Access 2010. I'm trying to use command buttons as filled shapes (rectangles with rounded corners) on one of my screens, since the rectangle control doesn't seem to allow for any similar shaping. The command buttons are not enabled, and by using 'Quick Shapes' I can get the effect I want with ease. The screen opens OK, but as soon as I shift to another record (single form view) the command buttons appear to move to the front and hide the controls which were originally on top. If I move the mouse cursor over each command button (as opposed to the controls which I want to appear) the controls reappear and stay there until I move to another record again. I've tried creating the shapes (rounded rectangles) in Powerpoint and Publisher, but when I import them as images, I can't get the same clean rounded effect as the command buttons. Has anyone got a solution? I've now discovered that the following code in the OnCurrent event works as a work around: For Each ctrl In .Controls If ctrl.ControlType = acLabel Or ctrl.ControlType = acRectangle Then ctrl.BackColor = ctrl.BackColor Next But I'd still like to know what is happening here if anyone can help. Weird. I'd like to be able to explain this, but it looks like a bug to me. I'm afraid that you are blazing the trail on this one. Do you think it worthwhile reporting to MS and if so, how do I go about it? There doesn't seem to be a 'bug reporting' area in MS Support, and I don't intend paying MS to report a bug through the customer support page. Unfortunately, I'm with you on that. Other than an occasional inside contact, I have yet to find an effective way for people to report what they think are bugs. I did shove your thread into the MVP bug pipeline and maybe(?) something will come out the other end, but don't hold your breath waiting. -- Marsh |
![]() |
| Thread Tools | |
| Display Modes | |
| |