Popup Control |
Post Reply |
Author | |
markp.uk
Groupie Joined: 23 August 2006 Status: Offline Points: 38 |
Post Options
Thanks(0)
Posted: 24 August 2008 at 2:28pm |
Can anyone tell me how to create a popup control without using a form, i want to use it as a splash screen during loadup, so want to create it from module not from a form with ocx
Cheers. |
|
The weekend has landed.....
Long live the weekend!!! Product: Xtreme SuitePro (ActiveX) version 16.3.1 Platform: Windows XP (32bit) - SP 3 Language: Visual Basic 6.0 SP6 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Try
Dim p
Private Sub PushButton1_Click()
Set p = CreateObject("Codejock.PopupControl." & XtremeSuiteControls.Version) p.Show
End Sub |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
markp.uk
Groupie Joined: 23 August 2006 Status: Offline Points: 38 |
Post Options
Thanks(0)
|
Cheers Oleg,
The popup is created fine, but does not seem to appear unless there is a break in the code, if not the popup is not displayed until after the main form is loaded; any ideas would be appreciated. |
|
The weekend has landed.....
Long live the weekend!!! Product: Xtreme SuitePro (ActiveX) version 16.3.1 Platform: Windows XP (32bit) - SP 3 Language: Visual Basic 6.0 SP6 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi, If you put the code in the form load event, object will be destroyed when form load event is done. This is what you want, right?
Call DoEvents will solve your problem. Maybe you need to call DoEvents several times. Depends what's called inside every function.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |