Click here to Skip to main content
16,018,234 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: calling back a previous form.. Pin
Christian Graus20-Jun-05 17:54
protectorChristian Graus20-Jun-05 17:54 
GeneralRe: calling back a previous form.. Pin
icowa20-Jun-05 17:59
icowa20-Jun-05 17:59 
GeneralRe: calling back a previous form.. Pin
Christian Graus20-Jun-05 18:04
protectorChristian Graus20-Jun-05 18:04 
GeneralRe: calling back a previous form.. Pin
Anonymous20-Jun-05 18:35
Anonymous20-Jun-05 18:35 
GeneralRe: calling back a previous form.. Pin
Anonymous20-Jun-05 18:37
Anonymous20-Jun-05 18:37 
GeneralRe: calling back a previous form.. Pin
Christian Graus20-Jun-05 18:39
protectorChristian Graus20-Jun-05 18:39 
GeneralRe: calling back a previous form.. Pin
icowa20-Jun-05 18:48
icowa20-Jun-05 18:48 
GeneralRe: calling back a previous form.. Pin
Christian Graus20-Jun-05 18:53
protectorChristian Graus20-Jun-05 18:53 
No worries - glad to help. That's exactly what I thought your code must look like, and exactly what I was suggesting as a fix.

ShowDialog returns an enum called 'DialogResult', that's what you'd use if you wanted to do something based on what button a user clicked to close a child dialog, for example, you'd check if it was DialogResult.OK before doing any processing, the other option being that they pressed cancel and you wanted to do nothing.

It's not usual for a form to hide itself while a child form is visible - do you have a good reason to do this, in this case ? It's just not what the average user would expect, based on the behaviour of other applications.


Christian Graus - Microsoft MVP - C++
GeneralRe: calling back a previous form.. Pin
Dave Kreskowiak21-Jun-05 2:36
mveDave Kreskowiak21-Jun-05 2:36 
GeneralRe: calling back a previous form.. Pin
lespaul3620-Jun-05 18:53
lespaul3620-Jun-05 18:53 
GeneralRe: calling back a previous form.. Pin
Christian Graus20-Jun-05 19:00
protectorChristian Graus20-Jun-05 19:00 
GeneralRe: calling back a previous form.. Pin
icowa20-Jun-05 19:14
icowa20-Jun-05 19:14 
GeneralRe: calling back a previous form.. Pin
icowa20-Jun-05 19:18
icowa20-Jun-05 19:18 
GeneralRe: calling back a previous form.. Pin
Christian Graus20-Jun-05 19:18
protectorChristian Graus20-Jun-05 19:18 
GeneralRe: calling back a previous form.. Pin
icowa20-Jun-05 19:21
icowa20-Jun-05 19:21 
GeneralRe: calling back a previous form.. Pin
Christian Graus20-Jun-05 19:23
protectorChristian Graus20-Jun-05 19:23 
GeneralRe: calling back a previous form.. Pin
icowa20-Jun-05 19:24
icowa20-Jun-05 19:24 
GeneralRe: calling back a previous form.. Pin
lespaul3621-Jun-05 11:24
lespaul3621-Jun-05 11:24 
GeneralColumn Color Change Pin
lespaul3620-Jun-05 9:31
lespaul3620-Jun-05 9:31 
GeneralRe: Column Color Change Pin
lespaul361-Aug-05 11:38
lespaul361-Aug-05 11:38 
GeneralSearch Record Pin
ADY00720-Jun-05 8:45
ADY00720-Jun-05 8:45 
GeneralRe: Search Record Pin
Christian Graus20-Jun-05 14:52
protectorChristian Graus20-Jun-05 14:52 
GeneralRe: Search Record Pin
Het210921-Jun-05 2:02
Het210921-Jun-05 2:02 
GeneralString Manipulation: Insert a character (or two...) Pin
Brad Fackrell20-Jun-05 7:59
Brad Fackrell20-Jun-05 7:59 
GeneralRe: String Manipulation: Insert a character (or two...) Pin
Dave Kreskowiak20-Jun-05 9:24
mveDave Kreskowiak20-Jun-05 9:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.