{"id":14070728,"url":"https://github.com/AcctPgm/FMsgBox","last_synced_at":"2025-07-30T08:31:56.716Z","repository":{"id":225097513,"uuid":"262864628","full_name":"AcctPgm/FMsgBox","owner":"AcctPgm","description":"VBA message box with formatting for the message text","archived":false,"fork":false,"pushed_at":"2020-05-15T03:52:44.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-30T00:26:49.968Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"VBA","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AcctPgm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-10T19:55:02.000Z","updated_at":"2023-01-03T23:28:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"aebef33f-2b99-4b00-a24c-b82166d6ef96","html_url":"https://github.com/AcctPgm/FMsgBox","commit_stats":null,"previous_names":["acctpgm/fmsgbox"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcctPgm%2FFMsgBox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcctPgm%2FFMsgBox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcctPgm%2FFMsgBox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AcctPgm%2FFMsgBox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AcctPgm","download_url":"https://codeload.github.com/AcctPgm/FMsgBox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228110765,"owners_count":17871227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-13T07:08:03.773Z","updated_at":"2024-12-04T12:32:07.114Z","avatar_url":"https://github.com/AcctPgm.png","language":"VBA","readme":"# FMsgBox\nA VBA class module __clsFMsgBox__ and userform __frmFMsgBox__ that can act as a replacement\nfor the standard MsgBox, but that allows some formatting of the message text using tags.\n## Usage:  \na) This will show a message with 'done' in bold and red text, with an OK button.\n````\n    Dim FMsgBox as clsFMsgBox\n    Set FMsgBox = new clsFMsgBox\n    FMsgBox \"Congratulatins, you're \u003cb\u003e\u003cred\u003edone\u003c/red\u003e\u003c/b\u003e!\"\n````\n\nb) This will show a bulletted list, and Yes and No buttons with No as the default\n````\n    Dim FMsgBox as clsFMsgBox\n    Dim Response as vbMsgBoxResult\n    set FMsgBox = new clsFMsgBox\n    With FMsgBox\n        .FormTitle = \"Status\"\n        .FormButtons = vbYesNo + vbDefaultButton2\n        .Msg = \"Meetings are set for:\" \u0026 _\n              \"\u003cul\u003eMonday\u003c/ul\u003e\" \u0026 _\n              \"\u003cul\u003eWednesday\u003c/ul\u003e\" \u0026 _\n              \"\u003cul\u003eFriday\u003c/ul\u003e\" \u0026 _\n              \"\u003cbr\u003eDo you want to accept the invitation?\"\n        Response = .Dsply\n    End With\n````\n\n## Format tags:\nApply formatting to the message (prompt) text by embedding tags in the text. Some tags\nare similar to HTML, but this isn't intended to be a full HTML interpreter so they\ngenerally don't follow.\n\nMost tags are paired as \u003cstart\u003e\u003c/stop\u003e, with any text between receiving the format.\n### Colours:\nThe exact RGB values for the colours may be set through FMsgBox properties\n````\n\u003cblue\u003e\u003c/blue\u003e\n\u003cred\u003e\u003c/red\u003e\n\u003cgreen\u003e\u003c/green\u003e\n\u003corange\u003e\u003c/orange\u003e\n\u003cpurple\u003e\u003c/purple\u003e\n````\nThe default text colour is black. It may be set through FMsgBox properties\n### Formats:\n````\n\u003cb\u003e\u003c/b\u003e                     Bold\n\u003cu\u003e\u003c/u\u003e                     Underline\n\u003ci\u003e\u003c/i\u003e                     Italic\n\u003chigh\u003e\u003c/high\u003e               Add a background highlight colour to the text\n\t\t\t\t\t\t\tBy default the highlight is yellow but may be set\n\t\t\t\t\t\t\tthrough FMsgBox properties\n````\n### Line break:\n````\n\u003cbr\u003e                        Start a new line\n                            vbLf (chr$(10)), vbCr (13), vbCrLf (13+10), and\n                            vbNewLine (13+10) are all treated as a \u003cbr\u003e\n````\n### Tabs:\n````\n\u003ctab\u003e                       Advance to the next tab stop position\n                            If the position isn't defined, text will be at the next\n                            default tab position based on the text size.\n\u003ctabset\u003e                    Save the current position as a tab stop. This allows\n                            taxt to be left-aligned as the position without\n                            worrying about the width of preceeding text in the line\n\u003ctabunset\u003e                  Remove the defined stop, reverting to default positiong\n````\n### Indents and Lists:\n````\n \u003cindent\u003e\u003c/indent\u003e           Indent text by the width of four space charactersa\n                             The size of the indent, in space characters, may be\n                             set through FMsgBox properties\n \u003cli\u003e\u003c/li\u003e                   Numbered list item.\n                             The number increments after each entry\n \u003cul\u003e\u003c/ul\u003e                   Bullet list item.\n                             The bullet character may be set through FMsgBox properties\n````\n","funding_links":[],"categories":["VBA"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAcctPgm%2FFMsgBox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAcctPgm%2FFMsgBox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAcctPgm%2FFMsgBox/lists"}