GMSGBOX


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on October 15, 2013 at 13:30:03: Uploaded files: 2

Having fought with the limitations of MSGBOX, I decided to write my own program. Tada!!! GMSGBOX.

GMSGBOX is a Comet16 OBJ. Makes for some limitations. But, it runs in both Comet16 and 32.

The dialog will display in one of three sizes depending on the width of the PC's display settings.

You can program the following.

1) Number of buttons (1-5)
2) Default button (1-5)
3) Enable Enter Key (Y)
4) Enable Escape Key (Y)
5) 5 - 12 character button captions
6) Message line spacing - single, double & "line, line, blank line"
7) 10 - 90 character message lines

GMSGBOX returns the number of the button clicked (1-5).

If the Enter key is enabled, (#3) and Enter is pressed, then the default button number is returned.

If the Escape key is enabled (#4) and Escape is pressed, then a null button number is returned.

See the screen shot for how the "line, line, blank line" spacing looks. I thought this went well with 5 buttons.

I tried to "center" the buttons. They display from left to right in 5-3-1-2-4 order. The 1, 3 & 5 button options look balanced. 2 and 4 not so balanced.

TMSGBOX.IBS is included as a demo.

Use Qtilities, option 32, to install the programs and DLL. It should be in a DIR that's always available. The DLL must be in QDIR.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]