Fenrirshowl
Technical User
Hi Guys
Probably an easy question:
I have a form with a memofield above a subform. I am trying to set a doubleclick event that changes the height of the memofield (so more of the text is visible). This works fine, except when the height is increased the additional space is behind the subform (and therefore can't be read).
Code used:
Is there a "bring to front" property or something that I can use in VBA to make the memofield lie on top of the subform? (I realise I could code the subform to no longer be visible but would like to avoid this if possible).
Thanks in advance
Fen
Probably an easy question:
I have a form with a memofield above a subform. I am trying to set a doubleclick event that changes the height of the memofield (so more of the text is visible). This works fine, except when the height is increased the additional space is behind the subform (and therefore can't be read).
Code used:
Code:
Private Sub GeneralSchemeInfo_DblClick(Cancel As Integer)
If GeneralSchemeInfo.Height = 4000 Then
GeneralSchemeInfo.Height = 950
Else
GeneralSchemeInfo.Height = 4000
End If
End Sub
Is there a "bring to front" property or something that I can use in VBA to make the memofield lie on top of the subform? (I realise I could code the subform to no longer be visible but would like to avoid this if possible).
Thanks in advance
Fen