Open GeorgeMcGinn opened 2 years ago
Further update:
I changed the CANCEL button manually to make the background of the button the same color as the form background, but it seems that it is being ignored.
Replace the CANCEL button code with the code below to duplicate:
__UI_RegisterResult = 0
SetCaption __UI_NewID, "&CANCEL"
Control(__UI_NewID).ForeColor = _RGB32(0, 0, 0)
Control(__UI_NewID).BackColor = _RGB32(64, 66, 69)
Control(__UI_NewID).HasBorder = False
Control(__UI_NewID).CanHaveFocus = True
Below is the .frm code to duplicate this issue.
I will load this .frm file into InForm, and it displays all the colors correctly. The buttons are a bluish background with black letters.
When I save this file or rename it, the colors stay the same except for the buttons. They take on the off-white color, and the code I put in for the ForeColor control disappear.
I have to manually add the
Control(__UI_NewID).ForeColor = _RGB32(0, 0, 0)
back into the .frm file every time I change and re-save the form.Also, I found that I cannot change the BackColor of the Buttons inside of InForm. When I go to each button and change it's value, whether I use the slider or type in the value (and hit return after each R,G,B value) the color on the form in InForm does not change.
To duplicate issue:
Here is the .frm file (I named it leagueStandings.frm)