|
-
Mar 9th, 2001, 03:09 PM
#1
Thread Starter
Fanatic Member
Hi guys, how is it possible that my code snippets are not coloured while others do?
I use the tags "code".
example:
Code:
Option Explicit
Sub Form_Load()
'Why isn't this coloured????
End Sub
-
Mar 9th, 2001, 06:03 PM
#2
Frenzied Member
John, James and company took that feature out for some reason....for C++ and languages like it you can use the php tag.. :
PHP Code:
#include <iostream.h>
int main() {
cout<<"hello"<<endl;
return 0;
}
or you could use color tags inside the code tags
-
Mar 10th, 2001, 07:57 AM
#3
Thread Starter
Fanatic Member
Take look at the folowing thread:
http://forums.vb-world.net/showthrea...334#post264334
Do you mean that this message was coded with the color tags?
-
Mar 10th, 2001, 08:16 AM
#4
PowerPoster
To colorize your code you need a tool, for example my vB Tool (see signature). Or you can edit them by yourself
-
Mar 10th, 2001, 08:32 AM
#5
Thread Starter
Fanatic Member
Ok, that's what I was looking for.
Tx for your reactions.
-
Mar 10th, 2001, 01:53 PM
#6
Frenzied Member
you can also try the VB browser by Geof_xrx (sorry if I spelt it wrong) you can find it in the VB Web Browser thread in the General section
NXSupport - Your one-stop source for computer help
-
Mar 11th, 2001, 05:38 AM
#7
Thread Starter
Fanatic Member
Well, here's my first code sample using VB Tool. It's great! I'm getting emotional. Sorry.
Code:
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.CurrentX = Rnd * Me.ScaleWidth
Me.CurrentY = Rnd * Me.ScaleHeight
Me.ForeColor = Rnd * &HFFFFFF
Me.Print "Out of Stack Space" 'Oops!
Form_MouseMove Button, Shift, X, Y
End Sub
'Code improved by vBulletin Tool (Save as...)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|