Click here to Skip to main content
15,902,938 members
Home / Discussions / C#
   

C#

 
QuestionWhen has the context menu disappeared? Pin
Nnamdi Onyeyiri2-Nov-02 2:22
Nnamdi Onyeyiri2-Nov-02 2:22 
AnswerRe: When has the context menu disappeared? Pin
Stephane Rodriguez.2-Nov-02 3:47
Stephane Rodriguez.2-Nov-02 3:47 
GeneralRe: When has the context menu disappeared? Pin
Nnamdi Onyeyiri2-Nov-02 8:06
Nnamdi Onyeyiri2-Nov-02 8:06 
QuestionHow to enforce db access security? Pin
Martin Haesemeyer1-Nov-02 23:23
Martin Haesemeyer1-Nov-02 23:23 
AnswerRe: How to enforce db access security? Pin
leppie1-Nov-02 23:24
leppie1-Nov-02 23:24 
GeneralRe: How to enforce db access security? Pin
Martin Haesemeyer1-Nov-02 23:47
Martin Haesemeyer1-Nov-02 23:47 
GeneralRe: How to enforce db access security? Pin
leppie1-Nov-02 23:58
leppie1-Nov-02 23:58 
GeneralRe: How to enforce db access security? Pin
Martin Haesemeyer2-Nov-02 0:18
Martin Haesemeyer2-Nov-02 0:18 
AnswerRe: How to enforce db access security? Pin
James T. Johnson2-Nov-02 5:04
James T. Johnson2-Nov-02 5:04 
GeneralRe: String Methods Seem Broken Pin
David Stone1-Nov-02 11:25
sitebuilderDavid Stone1-Nov-02 11:25 
QuestionHow to notify the parent? (passing event to the parent) Pin
Zinj1-Nov-02 9:13
sussZinj1-Nov-02 9:13 
AnswerRe: How to notify the parent? (passing event to the parent) Pin
John Fisher1-Nov-02 12:35
John Fisher1-Nov-02 12:35 
GeneralRe: How to notify the parent? (passing event to the parent) Pin
Zinj2-Nov-02 9:32
sussZinj2-Nov-02 9:32 
QuestionBest way to store data? Pin
hammackj1-Nov-02 8:42
hammackj1-Nov-02 8:42 
AnswerRe: Best way to store data? Pin
TigerNinja_1-Nov-02 11:30
TigerNinja_1-Nov-02 11:30 
GeneralEnumerating Severs on Win9x Pin
mikasa1-Nov-02 7:31
mikasa1-Nov-02 7:31 
GeneralRe: Enumerating Severs on Win9x Pin
TigerNinja_1-Nov-02 11:29
TigerNinja_1-Nov-02 11:29 
GeneralRe: Enumerating Severs on Win9x Pin
mikasa1-Nov-02 11:40
mikasa1-Nov-02 11:40 
GeneralBetter RichTextBox (or custom textbox) Pin
Bog1-Nov-02 5:48
Bog1-Nov-02 5:48 
GeneralRe: Better RichTextBox (or custom textbox) Pin
Pete Bassett1-Nov-02 6:30
Pete Bassett1-Nov-02 6:30 
Well.

There are lots of sysntax highlighting tuts here and at www.codeguru.com[^] but I think they're all in C++. The actual highlighting isn't that big a deal. I've done it in VB with the normal VB rich text box for an SQL editor and that worked great.

As for the gutter, how about a richtextbox in a usercontrol. Size the control so it leaves the correct gap at the left side and draw your own line numbers there. You can get the size of the text and the number of lines down through the text the RTB is displaying etc etc etc, so that isn't that hard.

As for AutoWordSelection, uuummm, see what you mean.


Pete

Insert Sig. Here!
GeneralRe: Better RichTextBox (or custom textbox) Pin
Bog2-Nov-02 5:05
Bog2-Nov-02 5:05 
GeneralRe: Better RichTextBox (or custom textbox) Pin
Pete Bassett3-Nov-02 7:47
Pete Bassett3-Nov-02 7:47 
GeneralRe: Better RichTextBox (or custom textbox) Pin
Philip Fitzsimons1-Nov-02 6:54
Philip Fitzsimons1-Nov-02 6:54 
GeneralRe: Better RichTextBox (or custom textbox) Pin
Stephane Rodriguez.1-Nov-02 7:07
Stephane Rodriguez.1-Nov-02 7:07 
GeneralPassword in a Propertygrid Pin
Andy Hampshire1-Nov-02 4:00
Andy Hampshire1-Nov-02 4:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.