Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / RICH TEXT print command

Author
Message
ironhoof
21
Years of Service
User Offline
Joined: 3rd Sep 2002
Location:
Posted: 6th Nov 2002 21:07
My RTPrint command works just like the TEXT command in DB

only it can print in many styles and colors in the same command! by embedding byte script commands into the text
to print! see example below. Put it in DB and give it a run
I made it easier to embed by providing three functions to encode your strings: Style$() Color$() and Size$() functions.

-----\
There was a man on the stairs that wasn't there.
He wasn't there agian today I think he's from the CIA.
ironhoof
21
Years of Service
User Offline
Joined: 3rd Sep 2002
Location:
Posted: 6th Nov 2002 21:10
That didnt come out so good letme try agian I think i missed
when i copied.



-----\
There was a man on the stairs that wasn't there.
He wasn't there agian today I think he's from the CIA.
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 6th Nov 2002 21:51
I would lose the : after the 'then goto GONEX:' otherwise you get an error on the next line.

Didn't actually print anything - got a nice black blank screen...

Yes, I really am THAT good...
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 6th Nov 2002 21:53
Ah, but its not for DBPro is it???

Yes, I really am THAT good...
ironhoof
21
Years of Service
User Offline
Joined: 3rd Sep 2002
Location:
Posted: 7th Nov 2002 01:13
No its not for DBPRo and you just seen why
I cant get dbpro to work half the time...

Its made for plain ole DB - thats why the : on the end of GONEX works ^_^ "in some programming languages it was nessessary to put the : even after the goto. Its an old habbit hard to break but in DB that dosnt matter "unless our using pro"

-----\
There was a man on the stairs that wasn't there.
He wasn't there agian today I think he's from the CIA.

Login to post a reply

Server time is: 2024-04-19 13:49:07
Your offset time is: 2024-04-19 13:49:07