2
Answers

Print Price

chris smith

chris smith

17y
2.6k
1

I cant get my price to show up in my print preview for my function.

[code]

Private Sub PrintSelected_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintSelected.PrintPage

[/code]

so far the code I have

[code]

e.Graphics.DrawString(CStr(lblPrice.Text(lstProducts.SelectedIndex)), fntPrintFont, Brushes.Black, sngX, sngY)

[/code]

isnt working I'll post the rest of my code below this to make it easier to understand maybe if somone looks at my logic they'll be able to tell me what I wrote wrong.

Answers (2)
Next Recommended Forum