Click here to Skip to main content
15,923,083 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: ScreenSaver's child process dies a-borning Pin
Marcus J. Smith13-Mar-07 9:05
professionalMarcus J. Smith13-Mar-07 9:05 
AnswerRe: ScreenSaver's child process dies a-borning Pin
jim_taylor13-Mar-07 12:16
jim_taylor13-Mar-07 12:16 
GeneralRe: ScreenSaver's child process dies a-borning Pin
Marcus J. Smith14-Mar-07 3:05
professionalMarcus J. Smith14-Mar-07 3:05 
GeneralRe: ScreenSaver's child process dies a-borning Pin
jim_taylor14-Mar-07 4:02
jim_taylor14-Mar-07 4:02 
GeneralRe: ScreenSaver's child process dies a-borning Pin
Marcus J. Smith14-Mar-07 9:45
professionalMarcus J. Smith14-Mar-07 9:45 
Questionadding to access database Pin
peteyshrew13-Mar-07 6:54
peteyshrew13-Mar-07 6:54 
AnswerRe: adding to access database Pin
DaveRRR13-Mar-07 9:18
DaveRRR13-Mar-07 9:18 
QuestionHow can I call properties a run time created button? Pin
JUNEYT13-Mar-07 6:20
JUNEYT13-Mar-07 6:20 
Hello!

It is quite bit intrique because I am creating 80 buttons in runtime and assigning a name with an incremental value such as myButton.Name = "GButton_" + I.toString. Therefore, each button has a different name.

Dim I as Int32
    For I = 1 to 5
        Dim myButton as New Button
            myButton.Name = "GButton_" + I.toString
            me.controls.add(myButton)
    Next 


How can I reach the GButton_3.backcolor property somewhere in code (out of the procedure where I create the buttons). Would it be possible to define the name and set its property? Is there a way to use such as EVAL function to perform something eval( "GButton_" + I.tostring + ".backcolor=" + setcolor) THANK YOU. D'Oh! | :doh:




What a curious mind needs to discover knowledge is noting else than a pin-hole.


AnswerRe: How can I call properties a run time created button? Pin
Guffa13-Mar-07 7:37
Guffa13-Mar-07 7:37 
AnswerRe: How can I call properties a run time created button? Pin
testy_proconsul13-Mar-07 7:40
testy_proconsul13-Mar-07 7:40 
GeneralRe: How can I call properties a run time created button? Pin
JUNEYT13-Mar-07 7:53
JUNEYT13-Mar-07 7:53 
AnswerRe: How can I call properties a run time created button? Pin
Guffa13-Mar-07 10:08
Guffa13-Mar-07 10:08 
GeneralRe: How can I call properties a run time created button? Pin
testy_proconsul13-Mar-07 13:00
testy_proconsul13-Mar-07 13:00 
QuestionPrinting a form's text fields Pin
Central_IT13-Mar-07 5:50
Central_IT13-Mar-07 5:50 
AnswerRe: Printing a form's text fields Pin
Duncan Edwards Jones13-Mar-07 7:44
professionalDuncan Edwards Jones13-Mar-07 7:44 
QuestionHow can I detect which button is clicked on the form? Pin
JUNEYT13-Mar-07 5:02
JUNEYT13-Mar-07 5:02 
AnswerRe: How can I detect which button is clicked on the form? [modified] Pin
M-Hall13-Mar-07 5:28
M-Hall13-Mar-07 5:28 
GeneralRe: How can I detect which button is clicked on the form? Pin
JUNEYT13-Mar-07 5:34
JUNEYT13-Mar-07 5:34 
AnswerRe: How can I detect which button is clicked on the form? Pin
kubben13-Mar-07 5:34
kubben13-Mar-07 5:34 
AnswerRe: How can I detect which button is clicked on the form? Pin
testy_proconsul13-Mar-07 7:48
testy_proconsul13-Mar-07 7:48 
Questiontowers of hanoi Pin
nyakallo13-Mar-07 4:58
nyakallo13-Mar-07 4:58 
AnswerRe: towers of hanoi Pin
Marcus J. Smith13-Mar-07 6:01
professionalMarcus J. Smith13-Mar-07 6:01 
AnswerDO YOUR OWN HOMEWORK Pin
leckey14-Mar-07 9:04
leckey14-Mar-07 9:04 
GeneralRe: DO YOUR OWN HOMEWORK Pin
Marcus J. Smith14-Mar-07 9:47
professionalMarcus J. Smith14-Mar-07 9:47 
QuestionOverrided install sub problem Pin
Memo Soso13-Mar-07 4:56
Memo Soso13-Mar-07 4:56 

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.