OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 26-05-2010, 21:56
gorgo gorgo is offline
Senior Member
 
Join Date: Feb 2010
Posts: 169
Default calling another form with a button in a form

Hi, I am creating a Help-Hint dialog box and calling it from a button on a form. One problem is that when I close it the whole macro closes....it's probably something simple I'm missing but any help would be great.

P.S. - I tried copying an existing macro using the required code to make this happen but not 100%...

-Greg

**update: Strange...okay my main form does not close now but reverts to a squashed frame (because of a frame size I set) and now we're dealing with frameless forms...so things get a little mixed...I might back off this one for a bit or find another angle...controltip text with multi-line?

Last edited by gorgo; 27-05-2010 at 00:24.
Reply With Quote
  #2  
Old 27-05-2010, 08:23
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Default

Hi.
An easy way would be to use msgBox
This will pop up a simple message box with your tip.

Another way would be to open another form.
Your button to open the info/help form could hide the main form by
Code:
myMainForm.Hide
myInfoForm.Show
You can put a close button on your info form it that when clicked closes the info form and shows the main form:
Code:
myInfoForm.Hide
myMainForm.Show
-John

Last edited by runflacruiser; 27-05-2010 at 08:23. Reason: spelling
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Autostart a form? burmeisn CorelDRAW/Corel DESIGNER VBA 4 20-07-2010 01:23
Translucent Form... gorgo Macros/Add-ons 7 04-05-2010 17:41
Best way to Close a form RobC CorelDRAW/Corel DESIGNER VBA 2 19-09-2009 01:30
URL in macro form Kursad CorelDRAW/Corel DESIGNER VBA 7 17-08-2009 00:45
attaching a form bumblebee CorelDRAW/Corel DESIGNER VBA 4 04-10-2004 10:27


All times are GMT -5. The time now is 16:33.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com