I am not sure what happened but It seems I have changed the font my data grid's are using and I am not able to get the font to match what the form is using. It appears there are no properties on the datagridview to change the font. How am I able to change the font my datagridview's use? My form uses seguo ui and my datagrid's use consolas.
Thanks,
John
font changed for data gridview and it is not following the form's font
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- jsira2003@yahoo.com
- Posts: 117
- Last visit: Tue Jul 11, 2023 6:18 am
Re: font changed for data gridview and it is not following the form's font
The DataGridView should inherit the font style of the form by default, unless you changes the RowsDefaultCellStyle property or set the grid's Font property in your script.
https://info.sapien.com/index.php/guis/gui-controls/ambient-properties
https://info.sapien.com/index.php/guis/gui-controls/ambient-properties
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.