Click here to Skip to main content
14,868,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to Determine The Location Of Label Text In Pixels Pin
Harvey Saayman7-Jul-08 22:02
MemberHarvey Saayman7-Jul-08 22:02 
GeneralRe: How to Determine The Location Of Label Text In Pixels Pin
Ahmad Safwat7-Jul-08 22:11
MemberAhmad Safwat7-Jul-08 22:11 
GeneralRe: How to Determine The Location Of Label Text In Pixels Pin
Harvey Saayman7-Jul-08 22:30
MemberHarvey Saayman7-Jul-08 22:30 
GeneralRe: How to Determine The Location Of Label Text In Pixels Pin
Ahmad Safwat7-Jul-08 23:18
MemberAhmad Safwat7-Jul-08 23:18 
AnswerRe: How to Determine The Location Of Label Text In Pixels Pin
N a v a n e e t h7-Jul-08 23:14
MemberN a v a n e e t h7-Jul-08 23:14 
GeneralRe: How to Determine The Location Of Label Text In Pixels Pin
Ahmad Safwat8-Jul-08 1:15
MemberAhmad Safwat8-Jul-08 1:15 
GeneralRe: How to Determine The Location Of Label Text In Pixels Pin
Alan Balkany8-Jul-08 5:37
MemberAlan Balkany8-Jul-08 5:37 
GeneralRe: How to Determine The Location Of Label Text In Pixels Pin
Frank Horn8-Jul-08 7:23
MemberFrank Horn8-Jul-08 7:23 
I guess if you want to know where exactly the text is painted within the label, you'll have to get the control's graphics object, determine the text size with its MeasureString methhod, and calculate the position with a lot of if statements according to alignment and things. But that's kind of like reinventing the label.
GeneralRe: How to Determine The Location Of Label Text In Pixels Pin
Ahmad Safwat8-Jul-08 21:24
MemberAhmad Safwat8-Jul-08 21:24 
AnswerRe: How to Determine The Location Of Label Text In Pixels Pin
Ahmad Safwat9-Jul-08 4:30
MemberAhmad Safwat9-Jul-08 4:30 
Questionhow to ? Pin
SSN7-Jul-08 21:46
MemberSSN7-Jul-08 21:46 
AnswerRe: how to ? Pin
Ashfield7-Jul-08 22:33
MemberAshfield7-Jul-08 22:33 
AnswerRe: how to ? Pin
dealon7-Jul-08 22:33
Memberdealon7-Jul-08 22:33 
QuestionTreeview Control Pin
shehezada7-Jul-08 21:40
Membershehezada7-Jul-08 21:40 
AnswerRe: Treeview Control Pin
Kjetil Svendsen7-Jul-08 23:42
MemberKjetil Svendsen7-Jul-08 23:42 
GeneralRe: Treeview Control Pin
shehezada8-Jul-08 3:29
Membershehezada8-Jul-08 3:29 
GeneralRe: Treeview Control Pin
DaveyM698-Jul-08 4:21
professionalDaveyM698-Jul-08 4:21 
GeneralRe: Treeview Control Pin
Kjetil Svendsen8-Jul-08 21:26
MemberKjetil Svendsen8-Jul-08 21:26 
QuestionSending mail Pin
hadad7-Jul-08 21:35
Memberhadad7-Jul-08 21:35 
AnswerRe: Sending mail Pin
Ashfield7-Jul-08 22:26
MemberAshfield7-Jul-08 22:26 
AnswerRe: Sending mail Pin
Anu Palavila7-Jul-08 22:30
MemberAnu Palavila7-Jul-08 22:30 
GeneralRe: Sending mail Pin
Simon P Stevens8-Jul-08 1:06
MemberSimon P Stevens8-Jul-08 1:06 
AnswerRe: Sending mail Pin
N a v a n e e t h7-Jul-08 22:48
MemberN a v a n e e t h7-Jul-08 22:48 
Questioncan not obtain local variable value in Visual Studio 2008 Pin
George_George7-Jul-08 21:02
MemberGeorge_George7-Jul-08 21:02 
AnswerRe: can not obtain local variable value in Visual Studio 2008 Pin
leppie7-Jul-08 21:06
Memberleppie7-Jul-08 21:06 

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.