Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Popup Control
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Popup Control

 Post Reply Post Reply
Author
Message
OscarM View Drop Down
Groupie
Groupie
Avatar

Joined: 07 November 2005
Status: Offline
Points: 72
Post Options Post Options   Thanks (0) Thanks(0)   Quote OscarM Quote  Post ReplyReply Direct Link To This Post Topic: Popup Control
    Posted: 18 September 2007 at 3:28am
It is possible to show the Popup control without having to show a form? I need to have calls to the control encapsulated, since I reuse it from several points of my project
Note: VS2005
Back to Top
OscarM View Drop Down
Groupie
Groupie
Avatar

Joined: 07 November 2005
Status: Offline
Points: 72
Post Options Post Options   Thanks (0) Thanks(0)   Quote OscarM Quote  Post ReplyReply Direct Link To This Post Posted: 03 October 2007 at 6:29am
Please, help. With VB6 this is possible, but i dont know how to do it with VS2005
Thanks
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 03 October 2007 at 2:15pm
Hi,
 
Here C# code:
 

static class PopupControl

{

static Panel popupHost = null;

static public void Show()

{

AxXtremeSuiteControls.AxPopupControl axPopupControl1;

if (popupHost == null)

{

popupHost = new Panel();

popupHost.CreateControl();

 

axPopupControl1 = new AxXtremeSuiteControls.AxPopupControl();

((System.ComponentModel.ISupportInitialize)(axPopupControl1)).BeginInit();

popupHost.Controls.Add(axPopupControl1);

((System.ComponentModel.ISupportInitialize)(axPopupControl1)).EndInit();

}

else

{

axPopupControl1 = popupHost.Controls[0] as AxXtremeSuiteControls.AxPopupControl;

}

axPopupControl1.ShowDelay = 1000;

axPopupControl1.Show();

}

};

 

usage:

private void button1_Click(object sender, EventArgs e)

{

PopupControl.Show();

}

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
OscarM View Drop Down
Groupie
Groupie
Avatar

Joined: 07 November 2005
Status: Offline
Points: 72
Post Options Post Options   Thanks (0) Thanks(0)   Quote OscarM Quote  Post ReplyReply Direct Link To This Post Posted: 04 October 2007 at 11:44am
perfect, thanks
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.