re: RBs2006r3,  Win XP

When using the following code to print a window that contains listboxes the listbox heading text appears to be expanded and not fit in the column from what it is in the listbox heading when viewed on the screen. ie: The Screen listbox column heading of "%T4qEpsGr" comes out on the printer as "%T4qEp...".

  dim g as graphics
  dim p as picture

  p = newPicture(win16.width,win16.height,32)
  win16.drawInto p.graphics,0,0
  dim ps as printersetup  //ps = page setup
  ps = new printersetup
  if win1.prt_setup <> "" then
    ps.setupstring = win1.prt_setup
  end if
  g = OpenPrinterDialog(ps)
  if g <> nil then
    g.DrawPicture p,0,20
  end if

What magic is going on behind the scene that I should be aware of??
Claude Stone

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to