Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Form Disable If Show Modals
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Form Disable If Show Modals

 Post Reply Post Reply
Author
Message
zona84 View Drop Down
Newbie
Newbie


Joined: 05 September 2008
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote zona84 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Mr.Den View Drop Down
Groupie
Groupie
Avatar

Joined: 26 August 2007
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mr.Den Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post 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.
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.189 seconds.