Print Page | Close Window

Button In UserControl Problim

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=22279
Printed Date: 29 April 2024 at 10:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Button In UserControl Problim
Posted By: Ebrahem
Subject: Button In UserControl Problim
Date Posted: 19 April 2014 at 5:46am
Helo

When you put the tool inside UserControl not be activated from inside the event window

Code In UserControl :

 Public Class Commands

    Event Clicks(sender As Object, e As EventArgs)

    Private Sub Button1_ClickEvent(sender As Object, e As EventArgs) Handles Button1.ClickEvent
          msgbox "Is Work In UserControl"
          RaiseEvent Clicks(sender, e)

    End Sub

Code In Form :

Private Sub Commands1_ClickS(sender As Object, e As EventArgs) Handles Commands1.Clicks
    MsgBox("No Work IN Form")

End Sub



Replies:
Posted By: mcmastl
Date Posted: 20 April 2015 at 4:30pm
We were unable to recreate this problem, if you are still experiencing this problem please contact technical support.

-------------
Luke McMasters, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net