Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printing form

Status
Not open for further replies.

jamespreston

Technical User
Jan 20, 2005
2
GB
hi, I created a callandar in delphi, however being complicated made it by linking richedit boxes to give the shape. The design is fairly good so i simply added a button with the code
form1.print;
however this dosn't display the text in the richedit boxes, any advice?
thanks
 
I don't know exactlely what you want to do, but, try this:

Code:
procedure TForm1.ComboBox1DropDown(Sender: TObject);
begin
  keybd_event(vk_snapshot,1,0,0);
end;

your form will be captured into clipboard as soon as combobox dropdown.

From here to over you shall have some more solution.

Giovanni Caramia
 
Sorry, use this code in your buttonclick event
Giovanni Caramia
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top