I want to be able to create a "File --> Print" option in my form. I have the menu, but I really don't know where to even start about printing. Any ideas?
I want to be able to create a "File --> Print" option in my form. I have the menu, but I really don't know where to even start about printing. Any ideas?
METAL HEAD FOR LIFE!!!
I don't believe you can print in SCAR.
You may be able to use a command line external application or a plugin.
Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
Originally Posted by #srl
"A programmer is just a tool which converts caffeine into code"
if you're printing text, then you must use a Trichedit which has a print procedure. Thats really the only printing i can think of supported by SCAR.
SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
Programming Projects: NotePad | Tetris | Chess
I assume Caption is the title or something. Play around with itSCAR Code:procedure TRichEdit.Print(Caption : string);.
Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
Originally Posted by #srl
"A programmer is just a tool which converts caffeine into code"
lol
I was going to suggest TPrintDialog, but that class is non-existent in SCAR![]()
You may contact me with any concerns you have.
Are you a victim of harassment? Please notify me or any other staff member.
| SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |
There are currently 1 users browsing this thread. (0 members and 1 guests)