Topmost Form
-
How can I make a form ALWAYS topmost regardless if another form within the project has been set to topmost? Thanks in advance. P
try adding to your database at your forum-msgs table another field called "Type", you should probably use numbers for this. when you call for your messages at your page, try putting first the ones with type = 1, and later get the others. this is a prioraty for your messages, then you can arrange them.
-
try adding to your database at your forum-msgs table another field called "Type", you should probably use numbers for this. when you call for your messages at your page, try putting first the ones with type = 1, and later get the others. this is a prioraty for your messages, then you can arrange them.
Ummm....And this has what to do with making a form TopMost??? :confused: RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Ummm....And this has what to do with making a form TopMost??? :confused: RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
hmmm... escuse me for being new here and not knowing **** about anything... but now i get what he sais... sorry :-O
-
well... i think that the best solution is that when you show it, you use the command form.showdialog() insted of form.show, this way it won't enable it to go to the last one... that's the best option that i could think of, i don't think that you can do topmost with some other and not enable it to switch forms... unless... you can do an event "On leave", and then do a focus command on the form, that way if you leave, it will get focused on the form and wouldn't be able to switch... i think that that would work. no moer options for me... good-luck, NaNg
-
hmmm... escuse me for being new here and not knowing **** about anything... but now i get what he sais... sorry :-O
Hey, no offense. We just found it really odd that the OP kind of asked a question about, say, washing a dog, and you gave him instructions on aging cheese. :confused::confused::confused::confused: We thought you posted a reply to a question, but clicked on the wrong
Reply
link. That's how far off topic you were! RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome -
How can I make a form ALWAYS topmost regardless if another form within the project has been set to topmost? Thanks in advance. P
Well, off the top of my head, you have a problem. Your app can only have one TopMost form. The one that gets set to TopMost LAST stays there. Ther previous ones get knocked down the z-order. It looks like you're going to have to manage your TopMost property a bit more carefully, and sparingly. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
well... i think that the best solution is that when you show it, you use the command form.showdialog() insted of form.show, this way it won't enable it to go to the last one... that's the best option that i could think of, i don't think that you can do topmost with some other and not enable it to switch forms... unless... you can do an event "On leave", and then do a focus command on the form, that way if you leave, it will get focused on the form and wouldn't be able to switch... i think that that would work. no moer options for me... good-luck, NaNg