| | | 
Forum Member
       
Group: Forum Members Last Login: 5/31/2005 4:52:00 PM Posts: 62, Visits: 1 |
| Could some functionality be added to the form so that posted code could be set to stand out more? Maybe have code appear in a greyed box or something like that. |
| | | | Forum God

Group: Moderators Last Login: Yesterday @ 1:42:32 PM Posts: 1,073, Visits: 9,408 |
| Maybe the next version of the forum will have code tags but since this one doesn't, I came up with the attached project to insert code like this. Option Explicit
Private Sub Command1_Click() If Fourmn <> CodeTags Then 'Try my App End If End Sub
|
| | | | 
Forum Member
       
Group: Forum Members Last Login: 5/31/2005 4:52:00 PM Posts: 62, Visits: 1 |
| Mark, Very nice work, I will start using this until the forum has the ability to do it. |
| | | | 
Forum God
       
Group: Forum Members Last Login: 9/1/2006 11:25:31 AM Posts: 827, Visits: 132 |
| | | | | Administrator
       
Group: Administrators Last Login: 1/25/2012 8:43:51 AM Posts: 69, Visits: 637 |
| Hi, Yes, the upgrade will include code tags.
 Best regards,
Forum Administrator A1VBCode
|
| | | | 
Forum God

Group: Moderators Last Login: Today @ 8:24:28 PM Posts: 1,889, Visits: 5,255 |
| | Yes Mark's code syntax used to work but it doesn't now. Edit: It works great now, thanks Mark
Keith
I've been programming with VB for 15 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning. |
| | | | Forum God

Group: Moderators Last Login: Yesterday @ 1:42:32 PM Posts: 1,073, Visits: 9,408 |
| | It still works for me Option Explicit
Private Sub Command1_Click() MsgBox "Seems to work for me" End Sub
|
| | | | Forum God

Group: Moderators Last Login: Yesterday @ 1:42:32 PM Posts: 1,073, Visits: 9,408 |
| Ok, it appears that the issue may be that you are using Firefox and the way it deals with the html that is generated. I have modifed that app to work with Firefox. Make sure that the Firefox radio button is selected and then press the color code button. The source will be placed on clipboard and then you can just paste that into the forumn window.
|
| | | | Forum God

Group: Moderators Last Login: Yesterday @ 1:42:32 PM Posts: 1,073, Visits: 9,408 |
| Here is a Firefox sample
Option Explicit Private Sub Command1_Click() MsgBox "Firefox ignores the div border color" End Sub
|
| | | | Forum God
       
Group: Forum Members Last Login: 3/13/2006 2:34:13 AM Posts: 794, Visits: 338 |
| Hi MArk, maybe I haven't had enough coffee yet, but if you look at my screen shot, the post at top has the border and was a post made with IE. The post at bottom doesn't have a border and was made with firefox.
Maybe firefox 1.0.6 will display the border color and maybe earlier versions won't. I have no idea. But on my end, it seems that your original code worked better...
[ edit:I'm using the firefox browser for this example.]

|
| |
|
|