Click here to Skip to main content
15,890,282 members
Home / Discussions / C#
   

C#

 
GeneralRe: CurrencyManager problem Pin
Roger Alsing25-Sep-04 2:19
Roger Alsing25-Sep-04 2:19 
Generalsaving images Pin
mathon24-Sep-04 22:21
mathon24-Sep-04 22:21 
GeneralRe: saving images Pin
Alex Korchemniy25-Sep-04 12:11
Alex Korchemniy25-Sep-04 12:11 
Questionget page or get totaller failed on report? Pin
murali_utr24-Sep-04 22:16
murali_utr24-Sep-04 22:16 
GeneralSignature Capture Pin
mathon24-Sep-04 22:16
mathon24-Sep-04 22:16 
GeneralRe: Signature Capture Pin
Alex Korchemniy25-Sep-04 12:38
Alex Korchemniy25-Sep-04 12:38 
Generaldisplay treeview Pin
CocciaStella24-Sep-04 17:28
CocciaStella24-Sep-04 17:28 
GeneralRe: display treeview Pin
Shaival24-Sep-04 19:48
Shaival24-Sep-04 19:48 
hi,

put bellow lines before your class funtion and after your class function called.

MessageBox.Show(treeView1.Parent.Name);

----------------
Description:

In your function in class i thing u create new tree view control and return the same. In this case parent control + location + size does not exist. After that when you assign to your control it behaves like it has no parent.

----------
Solution:
1) pass tree view of the form in to class functionBig Grin | :-D


tell me if u get any prob

GeneralRe: display treeview Pin
CocciaStella25-Sep-04 9:23
CocciaStella25-Sep-04 9:23 
Questionserial printer on Web? Pin
rbarzallo24-Sep-04 15:57
rbarzallo24-Sep-04 15:57 
AnswerRe: serial printer on Web? Pin
Alex Korchemniy25-Sep-04 12:14
Alex Korchemniy25-Sep-04 12:14 
GeneralRe: serial printer on Web? Pin
rbarzallo26-Sep-04 6:38
rbarzallo26-Sep-04 6:38 
GeneralDeleted row information cannot be accessed through the row Pin
zuhx24-Sep-04 14:49
zuhx24-Sep-04 14:49 
GeneralVirtual ListView exception when leaving and entering focus Pin
tajbender24-Sep-04 13:14
tajbender24-Sep-04 13:14 
GeneralGUID Pin
yyf24-Sep-04 11:37
yyf24-Sep-04 11:37 
GeneralRe: GUID Pin
Charlie Williams24-Sep-04 12:23
Charlie Williams24-Sep-04 12:23 
GeneralA C# SQL question Pin
cemlouis24-Sep-04 10:12
cemlouis24-Sep-04 10:12 
GeneralRe: A C# SQL question Pin
tdciDoug24-Sep-04 10:29
tdciDoug24-Sep-04 10:29 
GeneralRe: A C# SQL question Pin
cemlouis24-Sep-04 10:48
cemlouis24-Sep-04 10:48 
GeneralRe: A C# SQL question Pin
tdciDoug24-Sep-04 11:05
tdciDoug24-Sep-04 11:05 
GeneralRe: A C# SQL question Pin
cemlouis25-Sep-04 12:56
cemlouis25-Sep-04 12:56 
Generalarray issue Pin
Paul Swet24-Sep-04 8:38
Paul Swet24-Sep-04 8:38 
GeneralRe: array issue Pin
tdciDoug24-Sep-04 10:27
tdciDoug24-Sep-04 10:27 
GeneralWeird Listbox Problem Pin
Jon G24-Sep-04 8:38
Jon G24-Sep-04 8:38 
GeneralScanning photos Pin
bobbiek24-Sep-04 8:15
bobbiek24-Sep-04 8:15 

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.