From 21df823716851bc86f19f3bf6ca76b68ddb629ef Mon Sep 17 00:00:00 2001 From: Shaun Roselt Date: Fri, 8 Sep 2023 10:10:40 +0200 Subject: [PATCH 1/2] Added a `caption` to the form of the StringGrid Sample --- samples/StringGrid/stringgrid.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/samples/StringGrid/stringgrid.py b/samples/StringGrid/stringgrid.py index cbadbaa..aa35968 100644 --- a/samples/StringGrid/stringgrid.py +++ b/samples/StringGrid/stringgrid.py @@ -4,6 +4,8 @@ class StringGridSample(Form): def __init__(self, owner): + self.caption = "String Grid Sample" + self.string_grid = StringGrid(self) self.currency_column1 = CurrencyColumn(self.string_grid) self.glyph_column1 = GlyphColumn(self.string_grid) @@ -185,4 +187,4 @@ def main(): if __name__ == "__main__": - main() \ No newline at end of file + main() From e9c7ccb32a17ba6c2de28a6b989b479809b6e7f1 Mon Sep 17 00:00:00 2001 From: Shaun Roselt Date: Fri, 8 Sep 2023 10:13:03 +0200 Subject: [PATCH 2/2] Added a screenshot for the StringGrid Sample --- samples/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/samples/README.md b/samples/README.md index 6bb78cc..998cc2b 100644 --- a/samples/README.md +++ b/samples/README.md @@ -1,6 +1,11 @@ +## StringGrid > stringgrid.py +![Python GUI App - StringGrid > stringgrid.py](https://github.com/shaunroselt/DelphiFMX4Python/assets/5418178/ceecb0ef-5cb9-4134-b751-650b708cd32f) + + ## PasswordGenerator.py ![Python GUI App - PasswordGenerator.py](https://github.com/shaunroselt/DelphiFMX4Python/assets/5418178/8ac2aa72-44f2-4cf3-9f1f-60929cf41c60) + ## ControlsDesktop > controlsdemo.py ![Python GUI App - ControlsDesktop > controlsdemo.py](https://github.com/shaunroselt/DelphiFMX4Python/assets/5418178/70348e6c-e9d0-4314-8204-d0a7fef2eb58)