Print Page | Close Window

Form Disable If Show Modals

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=12086
Printed Date: 23 November 2024 at 9:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Form Disable If Show Modals
Posted By: zona84
Subject: Form Disable If Show Modals
Date 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 - http://www.4shared.com/file/61847008/bb3d1460/Source.html?dirPwdVerified=317a9385



Replies:
Posted By: Aaron
Date 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 - 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....


Posted By: Baldur
Date 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.


Posted By: Mr.Den
Date Posted: 23 October 2008 at 8:20pm
Originally posted by Baldur Baldur wrote:

 
@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.
 
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


Posted By: Baldur
Date 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.



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