Click here to Skip to main content
15,883,809 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Password in a Propertygrid Pin
Stephane Rodriguez.1-Nov-02 7:12
Stephane Rodriguez.1-Nov-02 7:12 
GeneralRe: Password in a Propertygrid Pin
Andy Hampshire1-Nov-02 7:23
Andy Hampshire1-Nov-02 7:23 
GeneralRe: Password in a Propertygrid - HELP !! Pin
Andy Hampshire1-Nov-02 14:22
Andy Hampshire1-Nov-02 14:22 
GeneralRe: Password in a Propertygrid - HELP !! Pin
leppie1-Nov-02 21:16
leppie1-Nov-02 21:16 
GeneralRe: Password in a Propertygrid - HELP !! Pin
Feng Qin3-Nov-02 21:24
Feng Qin3-Nov-02 21:24 
GeneralNot able to fetch first row of excel...... Pin
Saroj31-Oct-02 23:33
Saroj31-Oct-02 23:33 
GeneralRe: Not able to fetch first row of excel...... Pin
Stephane Rodriguez.1-Nov-02 1:59
Stephane Rodriguez.1-Nov-02 1:59 
Generalabout visual soucesafe6.0c Pin
Anonymous31-Oct-02 21:18
Anonymous31-Oct-02 21:18 
GeneralRe: about visual soucesafe6.0c Pin
TigerNinja_1-Nov-02 11:33
TigerNinja_1-Nov-02 11:33 
Generaldowncasting Object types Pin
Bilal31-Oct-02 20:33
Bilal31-Oct-02 20:33 
GeneralRe: downcasting Object types Pin
SimonS31-Oct-02 21:14
SimonS31-Oct-02 21:14 
GeneralRe: downcasting Object types Pin
Bilal31-Oct-02 21:19
Bilal31-Oct-02 21:19 

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.