Click here to Skip to main content
15,887,350 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionListview header spanning 2 rows Pin
kani9823-Aug-07 7:42
kani9823-Aug-07 7:42 
AnswerRe: Listview header spanning 2 rows Pin
Giorgi Dalakishvili23-Aug-07 8:11
mentorGiorgi Dalakishvili23-Aug-07 8:11 
GeneralRe: Listview header spanning 2 rows Pin
kani9823-Aug-07 8:31
kani9823-Aug-07 8:31 
AnswerRe: Listview header spanning 2 rows Pin
Mark Salsbery23-Aug-07 10:21
Mark Salsbery23-Aug-07 10:21 
GeneralRe: Listview header spanning 2 rows Pin
kani9823-Aug-07 11:54
kani9823-Aug-07 11:54 
GeneralRe: Listview header spanning 2 rows Pin
Mark Salsbery23-Aug-07 12:01
Mark Salsbery23-Aug-07 12:01 
QuestionTextBox control populates but does not display Pin
BuckBrown22-Aug-07 11:37
BuckBrown22-Aug-07 11:37 
AnswerRe: TextBox control populates but does not display Pin
Luc Pattyn22-Aug-07 13:54
sitebuilderLuc Pattyn22-Aug-07 13:54 
Hi Buck,

I don't know what statistics and statistics->textBox1 are.

My best guess is statistics is some kind of Form, and textBox1 is a public field,
of the TextBox^ kind.
If so the question is when do you add textBox1 to the statistics->Controls?
if you do that before you execute statistics->textBox1 = text_box;
then the original textbox is included in your form, and not the one you
intend to substitute just before the ShowDialog().

The solution would be to make textBox1 private (it is not a good idea to
make Controls public, only some aspects of it need to be public at most),
and to provide another public property to set its text.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


GeneralRe: TextBox control populates but does not display Pin
BuckBrown23-Aug-07 5:12
BuckBrown23-Aug-07 5:12 
GeneralRe: TextBox control populates but does not display Pin
BuckBrown23-Aug-07 5:27
BuckBrown23-Aug-07 5:27 
GeneralRe: TextBox control populates but does not display Pin
BuckBrown23-Aug-07 5:41
BuckBrown23-Aug-07 5:41 
GeneralRe: TextBox control populates but does not display Pin
Luc Pattyn23-Aug-07 5:48
sitebuilderLuc Pattyn23-Aug-07 5:48 
GeneralRe: TextBox control populates but does not display Pin
BuckBrown23-Aug-07 5:58
BuckBrown23-Aug-07 5:58 
GeneralRe: TextBox control populates but does not display Pin
BuckBrown23-Aug-07 6:05
BuckBrown23-Aug-07 6:05 
GeneralRe: TextBox control populates but does not display Pin
Luc Pattyn23-Aug-07 12:52
sitebuilderLuc Pattyn23-Aug-07 12:52 
QuestionForward Declaration and no appropriate default constructor Pin
BuckBrown20-Aug-07 9:02
BuckBrown20-Aug-07 9:02 
AnswerRe: Forward Declaration and no appropriate default constructor [modified*2] Pin
Mark Salsbery20-Aug-07 9:16
Mark Salsbery20-Aug-07 9:16 
GeneralRe: Forward Declaration and no appropriate default constructor [modified*2] Pin
BuckBrown20-Aug-07 12:16
BuckBrown20-Aug-07 12:16 
GeneralRe: Forward Declaration and no appropriate default constructor Pin
Mark Salsbery20-Aug-07 12:21
Mark Salsbery20-Aug-07 12:21 
GeneralRe: Forward Declaration and no appropriate default constructor Pin
Luc Pattyn20-Aug-07 13:44
sitebuilderLuc Pattyn20-Aug-07 13:44 
GeneralRe: Forward Declaration and no appropriate default constructor Pin
George L. Jackson20-Aug-07 14:40
George L. Jackson20-Aug-07 14:40 
GeneralRe: Forward Declaration and no appropriate default constructor Pin
Luc Pattyn20-Aug-07 14:53
sitebuilderLuc Pattyn20-Aug-07 14:53 
GeneralRe: Forward Declaration and no appropriate default constructor Pin
George L. Jackson21-Aug-07 0:21
George L. Jackson21-Aug-07 0:21 
GeneralRe: Forward Declaration and no appropriate default constructor Pin
iddqd51521-Aug-07 3:46
iddqd51521-Aug-07 3:46 
GeneralRe: Forward Declaration and no appropriate default constructor [modified] Pin
George L. Jackson21-Aug-07 4:52
George L. Jackson21-Aug-07 4:52 

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.