Xtreme .Net Talk
Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Registered members
Current visitors
New profile posts
Search profile posts
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Xtreme .Net Talk
.NET
General
Using Events and Subs for a dimmed object?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Fabian_Russ" data-source="post: 469846" data-attributes="member: 44183"><p>Is it possible to program events and subs like the Click Event for a button that was declared without physically being on the form?</p><p></p><p>Example:</p><p></p><p>Dim NewButton as New Button</p><p></p><p>How would I go about firing the click event and using it inside a button that is not physically in the form during design time, but instead a new instance of it being created during runtime?</p><p></p><p>Any help is appreciated,</p><p></p><p>Thanks <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big grin :D" loading="lazy" data-shortname=":D" /></p></blockquote><p></p>
[QUOTE="Fabian_Russ, post: 469846, member: 44183"] Is it possible to program events and subs like the Click Event for a button that was declared without physically being on the form? Example: Dim NewButton as New Button How would I go about firing the click event and using it inside a button that is not physically in the form during design time, but instead a new instance of it being created during runtime? Any help is appreciated, Thanks :D [/QUOTE]
Insert quotes…
Verification
Post reply
.NET
General
Using Events and Subs for a dimmed object?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom