A short while ago Jim gave a link on Bitbucket to a web page (http://buttonoptimizer.com/#) where you could generate custom buttons and get them as jpeg files for use in your forms. I thought it might be nice to actually build custom buttons directly within Panorama X. That being said, here is my rendition of a Pan X custom button generator. http://www.unseensoft.com/CustomButtonGenerator.zip
The custom button generated is comprised of three objects. The main object actually serves as the button with title and is an Image Display Object which is surrounded by a hollow Rounded Rectangle which acts as the border. The final object is another (but filled) Rounded Rectangle object underneath the other two that is used to create the shadow if requested.
• Change the button height and width in real time • Change the title name, font, font size and color • Adjust the title offset to center vertically in button • Set the button color and choose solid or gradient • Ability to include a FontAwesome or Emoji icon in title • Multi-line titles can be created by adjusting the button width • Select a rounded or square border or no border at all • Change the border color and stroke size • Can include a fully adjustable button shadow • Stock procedure code to flash button on button release • Ability to edit and add your own additional code to procedure • Ability to check procedure for syntax errors • When generating your new button you can select the destination form • Generated button is created on that form and selected in graphics mode • Generated buttons are assigned random names to avoid duplicates
Create all kinds of custom buttons to spruce up your forms. As noted above you can control almost every aspect of your creation to suit your taste and your needs. Most of the controls operate in real time so you can see the adjustments as they are being made. The three objects comprising the button will be created on your chosen form and be selected as your form is automatically brought forward into graphics mode. At that point you can move the three selected objects in unison to their final position on your form. I do not recommend grouping these objects as they will go wonky when clicked. The border object will also be sent backward in the object order for some reason. Too bad since that would be the ideal way to keep them all together.
Icons can be chosen from the FontAwesome or Emoji popup menu buttons or from the Font Awesome Icons option in the Help menu or the Emojis & Symbols option in the Edit menu. With the Font Awesome Icons window you can select the icon you want and then highlight and copy it from the Icon pane and paste it into the title text box. Using the Emojis & Symbols dialog you choose the icon you want and double click it to enter it into the active title entry box. Note that with the emoji option you can enter a return after the emoji and it will place the icon directly above the title text (this trick does not work with FontAwesome icons).
Here is the Custom Button Generator transferring a custom button to a form in another open database:
The Custom Button Generator is free and can be downloaded at: http://www.unseensoft.com/CustomButtonGenerator.zip