|  | 
| Form Disable If Show Modals | 
| Post Reply   | 
| Author | |
| zona84   Newbie   Joined: 05 September 2008 Status: Offline Points: 1 |  Post Options  Thanks(0)  Quote  Reply  Topic: Form Disable If Show Modals Posted: 05 September 2008 at 1:23pm | 
| 
   
if I compiled my project..(*.exe) I can't show popup form with button in reportcontrol...?? help me.. example: http://www.4shared.com/file/61847008/bb3d1460/Source.html?dirPwdVerified=317a9385 | |
|  | |
| Aaron   Senior Member   Joined: 29 January 2008 Status: Offline Points: 2192 |  Post Options  Thanks(0)  Quote  Reply  Posted: 10 September 2008 at 11:38am | 
| 
   Hi, 
 Call Form2.Show 0,Form1 If your issue is solved, please add SOLVED in your Topic description and have a look at post http://forum.codejock.com/forum_posts.asp?TID=11225 | |
| 
     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.... | |
|  | |
| Baldur   Senior Member   Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |  Post Options  Thanks(0)  Quote  Reply  Posted: 17 September 2008 at 2:59am | 
| 
   This is, because VB can't show non-modal forms over modal forms. 
But popup's are shown as non-modal. 
 Put all controls you need in the popup-form into a picturebox and assign this picturebox as popup. @aaron Your solution is not so good, because if i need to show a modal form to prevent input in the underlying form, i must show the form as modal. But the picturebox does it. | |
|  | |
| Mr.Den   Groupie     Joined: 26 August 2007 Status: Offline Points: 50 |  Post Options  Thanks(0)  Quote  Reply  Posted: 23 October 2008 at 8:20pm | 
| 
 You can show your form non modal, and hide the calling form: underlyingform.visible = False  Then underlyingform.visible = True when you unload the visible form. Sure way to stop user input   | |
|  | |
| Baldur   Senior Member   Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |  Post Options  Thanks(0)  Quote  Reply  Posted: 24 October 2008 at 6:13am | 
| 
   Yes, thats correct.
 But only the mainform is visible in the tasklist, not the dialogforms. And it's not "state of the art" to hide the application if i show a dialog. Also, if the application is hidden from taskmanager (alt+tab) you can't switch back to your application if the dialog is hidden from an other application. | |
|  | |
| 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 |