Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP / maybe DBC] VB style MessageBox

Author
Message
Lucy
17
Years of Service
User Offline
Joined: 19th Apr 2007
Location: Roanoke, VA USA
Posted: 29th Aug 2007 15:59 Edited at: 6th Sep 2007 22:45
sorry for the double post. I forgot to mark the original with a proper subject and so it'll be deleted.

This should theoretically work in DBC as well as DBPro. I've only tested it in DBPro though.

To use this function is rather simple
myval = msgbox("Title", "Message", type)

Below is he code and a usage example. Also, attached is a usage example project.



Usage example:


We need elseifs so that a lot of block if/elses don't press so far to the right.

Nothing I say is intended to be rude. My autism means that I do not know what is rude and what isn't rude. I apologize if I seem rude. It is not my intention.

Attachments

Login to view attachments
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 30th Aug 2007 00:18
OK I don't really get what's going on or if it still looks anything like it's supposed to, but this works for DBC



Your signature has been erased by a mod because it was rubbish.
vorconan
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Wales
Posted: 30th Aug 2007 00:32
Thats brilliant Lucy, nice job.



calcyman
17
Years of Service
User Offline
Joined: 31st Aug 2007
Location: The Uncertainty Principle
Posted: 13th Nov 2007 17:51
Good, it even uses message boxes not covered by Xolotron's ION extension. The ION extension contains the message boxes with icons, using a similar DLL function.

Your signature has been erased by a hyper-intelligent pan-dimensional being (a mod)

Login to post a reply

Server time is: 2024-11-22 13:35:14
Your offset time is: 2024-11-22 13:35:14