Click here to Skip to main content
16,005,343 members
Home / Discussions / C#
   

C#

 
GeneralRe: Can't think straight! Pin
J4amieC15-Dec-04 3:43
J4amieC15-Dec-04 3:43 
GeneralRe: Can't think straight! Pin
Jim Ptak15-Dec-04 4:12
Jim Ptak15-Dec-04 4:12 
GeneralRe: Can't think straight! Pin
Jim Ptak15-Dec-04 4:17
Jim Ptak15-Dec-04 4:17 
GeneralRe: Can't think straight! Pin
J4amieC15-Dec-04 4:20
J4amieC15-Dec-04 4:20 
GeneralClipboard SetData and GetData... Pin
new_phoenix14-Dec-04 14:51
new_phoenix14-Dec-04 14:51 
GeneralRe: Clipboard SetData and GetData... Pin
Nick Parker14-Dec-04 15:36
protectorNick Parker14-Dec-04 15:36 
GeneralRe: Clipboard SetData and GetData... Pin
new_phoenix18-Dec-04 10:46
new_phoenix18-Dec-04 10:46 
GeneralRe: Control parenting... Pin
new_phoenix18-Dec-04 12:17
new_phoenix18-Dec-04 12:17 
Nick:

Here is some sample representation of the code that I need your assistance with regards to control parenting. The controls that are created programmatically default to a parent of the form's name. I would like to set the parent to control number 3 to control numebr 1.

<br />
for (i = 1; i < 3; i++)<br />
{<br />
     // new control created programmatically (three total)<br />
     Control ctrl = new Control()<br />
<br />
     // process control using i, and then pass back to ctrlHold<br />
     ctrlHold = PositionControl(ctrlName, i, loc_x ....)  <br />
<br />
<br />
:confused::confused::confused:<br />
     // evaluate whether control is control 3, so it could be parented to control 1<br />
     if (i == 3)<br />
     {<br />
         // how to parent to control 1 ?????<br />
         ctrl.Controls.Add(ctrl ??????? how would it know control 2 ???)<br />
     }<br />
}<br />

QuestionHow to obtain serial number of devices Pin
gussano14-Dec-04 13:18
gussano14-Dec-04 13:18 
AnswerRe: Gussano Pin
Dave Kreskowiak15-Dec-04 12:14
mveDave Kreskowiak15-Dec-04 12:14 
GeneralRe: Gussano Pin
gussano17-Dec-04 11:02
gussano17-Dec-04 11:02 
GeneralRe: Gussano Pin
Dave Kreskowiak17-Dec-04 14:02
mveDave Kreskowiak17-Dec-04 14:02 
Generalpopulate one datagrid combobox based on another Pin
nadandjade14-Dec-04 11:07
nadandjade14-Dec-04 11:07 
Generalcontrol draw to graphics surface Pin
Judah Gabriel Himango14-Dec-04 10:24
sponsorJudah Gabriel Himango14-Dec-04 10:24 
GeneralRe: control draw to graphics surface Pin
Daniel Turini14-Dec-04 20:22
Daniel Turini14-Dec-04 20:22 
Questionmultiline textbox to MSDE ntext field ? Pin
fracalifa14-Dec-04 10:18
fracalifa14-Dec-04 10:18 
AnswerRe: multiline textbox to MSDE ntext field ? Pin
Dave Kreskowiak14-Dec-04 10:38
mveDave Kreskowiak14-Dec-04 10:38 
GeneralRe: multiline textbox to MSDE ntext field ? Pin
fracalifa14-Dec-04 11:10
fracalifa14-Dec-04 11:10 
GeneralRe: multiline textbox to MSDE ntext field ? Pin
Dave Kreskowiak15-Dec-04 12:13
mveDave Kreskowiak15-Dec-04 12:13 
GeneralCatching Textbox changes on a form Pin
Peter Vertes14-Dec-04 9:04
Peter Vertes14-Dec-04 9:04 
GeneralRe: Catching Textbox changes on a form Pin
SeMartens14-Dec-04 9:32
SeMartens14-Dec-04 9:32 
GeneralRe: Catching Textbox changes on a form Pin
Jay Shankar14-Dec-04 13:45
Jay Shankar14-Dec-04 13:45 
GeneralC# Change XML Element content Pin
marker2714-Dec-04 8:24
sussmarker2714-Dec-04 8:24 
GeneralRe: C# Change XML Element content Pin
DavidNohejl14-Dec-04 10:49
DavidNohejl14-Dec-04 10:49 
GeneralRe: C# Change XML Element content Pin
Daniel Turini14-Dec-04 20:17
Daniel Turini14-Dec-04 20:17 

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.