All Questions
Tagged with python firemonkey
28 questions
0
votes
0
answers
67
views
Integration testing FMX app, page_source doesn't contain app controls
I'm exploring the idea of creating integrations tests for my FMX app. Ideally I'd be able to execute these tests for multiple platforms (Windows, Android, iOS, macOS), but for now I'm just trying to ...
0
votes
1
answer
74
views
How to draw or create a Horizontal Divider in a Python FMX GUI App?
How do I create a Horizontal Divider Line as can be seen in the screenshot above the buttons:
How can this be accomplished in an FMX GUI App for Python?
0
votes
1
answer
98
views
How do I set an active tab for TabControl in a Python FMX GUI App?
I've made a Form with a TabControl and Four TabItem tabs on the TabControl. By default, the first tab is always the active tab:
self.TabControl1 = TabControl(self)
self.TabControl1.Parent = self
self....
0
votes
1
answer
58
views
How do I create a tabbed control in a Python FMX GUI App?
I'm making a Python FMX GUI App and I basically want three tabs on it like this:
I tried doing this:
self.TabControl1 = TabControl(self)
self.TabControl1.Parent = self
self.TabControl1.Align = "...
0
votes
2
answers
60
views
How do I change the cursor of a control in a Python FMX GUI App?
I've created an FMX GUI App and I have several components on the form. I'd like to change the default Cursor for them, but I'm not sure how.
I've tried doing the following code to change the Cursor on ...
0
votes
1
answer
85
views
How do I make an Edit that only accepts numbers in a Python FMX GUI App?
I have a Python FMX GUI App with an Editcontrol that I want to only accept integer values with. In the past, I've done this kind of validation by overloading the KeyPress event and just removing ...
-1
votes
1
answer
48
views
How to make a ReadOnly Edit in a Python FMX GUI App
I made an Edit on a Form using the DelphiFMX Python Library, but how do I make an Edit that is read-only?
The user should be able to read text in the Edit, but not be able to enter their own text.
...
0
votes
1
answer
35
views
How to add a border to a label in a Python FMX GUI App?
I've made a simple Hello World! app in the DelphiFMX GUI Library for Python. "Hello World!" is shown on a Label on the Form as can be seen below with my code and screenshot:
from delphifmx ...
-2
votes
1
answer
84
views
What is the absolute simplest way to make a Python FMX GUI App? [closed]
I've got the following Python code to make the FMX GUI Form, but I'm trying to make the code shorter if possible. What is the least amount of code that is required to make only a Form and show it. ...
0
votes
1
answer
35
views
How do I get a list of all components on a Form in a Python FMX GUI App
I have a DelphiFMX GUI App with a couple of components created on a Form:
self.imgDirt = Image(self)
self.btnLoad = Button(self)
self.btnSave = Button(self)
self.memDirt = Memo(self)
self.lblTitle = ...
0
votes
1
answer
407
views
How to add a right-click context menu to your controls in a Python FMX GUI App?
I've made a Form with an Image using the DelphiFMX GUI Library for Python, but what I want now is a right-click context menu on the image. When I right-click on the image, then it should bring up a ...
0
votes
1
answer
38
views
How to close a Python FMX GUI App with a button click?
Is there a built-in function for closing the app via code?
How would I close the app via code instead of clicking on the closing button in the title bar?
I'm using DelphiFMX GUI Library for Python
0
votes
1
answer
59
views
How to set min/max dimensions of a Form in a Python FMX GUI App?
I've made a Form using the DelphiFMX GUI Library for Python and it's working perfectly fine, but I want to set a minimum and maximum size for the Form to make sure the window can't resize below or ...
0
votes
1
answer
79
views
How to add placeholder text to Edit in a Python FMX GUI App?
I have made a Form with an Edit component using the DelphiFMX GUI Library for Python and I'm trying to add a placeholder text to the Edit component, but I'm not sure how. I've tried doing self.myEdit....
1
vote
2
answers
238
views
How to get Mouse Cursor Position on Form in a Python FMX GUI App?
I've built a simple Form using the DelphiFMX GUI Library for Python. The Form has a MouseMove event attached to it.
What I basically want is the X and Y coordinates of the mouse on the Form when you ...