CJBIRKIN
Drink!
- Local time
- Today, 09:29
- Joined
- May 10, 2002
- Messages
- 255
Hello
Fool that i am i'm trying to develop a dynamic cross tab report. I've nearly finished but i need to resize some lines on the report as the report width varies depending on how many columns i've got.
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
dim Objcontrol as control
dim Intwidth as integer
Intwidth = me.Width
For Each Objcontrol In me
If TypeOf Objcontrol Is Line Then
??? objcontrol.width = Intwidth
End If
Next Objcontrol
I just can't figure out how to get the line to change. The actual loop works fine. Any suggestions greatfully received
Chris
Fool that i am i'm trying to develop a dynamic cross tab report. I've nearly finished but i need to resize some lines on the report as the report width varies depending on how many columns i've got.
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
dim Objcontrol as control
dim Intwidth as integer
Intwidth = me.Width
For Each Objcontrol In me
If TypeOf Objcontrol Is Line Then
??? objcontrol.width = Intwidth
End If
Next Objcontrol
I just can't figure out how to get the line to change. The actual loop works fine. Any suggestions greatfully received
Chris
Last edited: