Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
QuestionHow to set focus on the form. Pin
analytiks30-May-06 2:09
analytiks30-May-06 2:09 
AnswerRe: How to set focus on the form. Pin
MCSD-Gandalf30-May-06 3:01
MCSD-Gandalf30-May-06 3:01 
QuestionHow to Clear tabpage text created by graphic object Pin
printscreen1234530-May-06 1:46
printscreen1234530-May-06 1:46 
AnswerRe: How to Clear tabpage text created by graphic object Pin
stancrm30-May-06 6:36
stancrm30-May-06 6:36 
QuestionCheck mail using rpc over http protocol in c# [modified] Pin
uhs30-May-06 1:33
uhs30-May-06 1:33 
QuestionHow to send "'" to javascript from c# [modified] Pin
Rukmini T30-May-06 1:12
Rukmini T30-May-06 1:12 
AnswerRe: How to send special charecters to javascript from c# Pin
leppie30-May-06 1:17
leppie30-May-06 1:17 
Questionvirtual size of textbox form Pin
Christian Pothmann30-May-06 0:37
Christian Pothmann30-May-06 0:37 
Hi,
I (newbie) have come upon the following problem:
I use a multiline text box, and want the scrollbars to show only when they are needed.
If TextBox was inherited from ScrollableControl, this would be easy since the DisplayRectangle Dimensions would be different from the ClientSize - whenever there are changes to the text box, I could check if the DisplayRectangle is bigger than the ClientSize, and then add the scroll bars.

But since TextBox is not inherited from ScrollableControl, the DisplayRectangle is always the same like the ClientSize.
Is there another way to find out the size of the virtual client size (besides calculating it from the number of lines and the height of the font)?

Thanks and best regards,
Christian
AnswerRe: virtual size of textbox form Pin
leppie30-May-06 1:16
leppie30-May-06 1:16 
GeneralRe: virtual size of textbox form Pin
Christian Pothmann30-May-06 1:58
Christian Pothmann30-May-06 1:58 
Questionc# environment component or dll Pin
isiran30-May-06 0:37
isiran30-May-06 0:37 
QuestionAutomatic Commands and Some Other Stuff Pin
suguimoto30-May-06 0:07
suguimoto30-May-06 0:07 
Questionweb browser and Images in win application? Pin
Nafiseh Salmani29-May-06 23:49
Nafiseh Salmani29-May-06 23:49 
AnswerRe: web browser and Images in win application? Pin
Dr.Grimy8-Jun-06 0:19
Dr.Grimy8-Jun-06 0:19 
Questiona question about tabpages ? Pin
cmpeng3429-May-06 23:28
cmpeng3429-May-06 23:28 
AnswerRe: a question about tabpages ? Pin
stancrm29-May-06 23:33
stancrm29-May-06 23:33 
AnswerRe: a question about tabpages ? Pin
leppie30-May-06 1:14
leppie30-May-06 1:14 
QuestionWebbrowser + XML Pin
hung_ngole29-May-06 23:07
hung_ngole29-May-06 23:07 
QuestionSuggestion Needed for Encryption Pin
engsrini29-May-06 23:04
engsrini29-May-06 23:04 
AnswerRe: Suggestion Needed for Encryption Pin
stancrm29-May-06 23:10
stancrm29-May-06 23:10 
AnswerRe: Suggestion Needed for Encryption Pin
Darren_29-May-06 23:31
Darren_29-May-06 23:31 
QuestionProblem With DLL Reference Pin
dinesanp@gmail.com29-May-06 22:55
dinesanp@gmail.com29-May-06 22:55 
AnswerRe: Problem With DLL Reference Pin
stancrm29-May-06 23:15
stancrm29-May-06 23:15 
QuestionWebBrowser Control Pin
hung_ngole29-May-06 22:42
hung_ngole29-May-06 22:42 
QuestionHow to retreive the Network group name Pin
Plamen Totev29-May-06 22:39
Plamen Totev29-May-06 22:39 

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.