I'm investigating how easy it is to use workflows for data entry purposes. If you need multiple dropdown boxes, the only way to do so is to have multiple 'Select from list' entries. I wonder if it is possible to combine multiple Select from Lists so that the user can see all the lists at once instead of make a choice from one list, then the next one is presented and so on.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Posts made by PetervdKamp
-
Combine multiple Select from List
-
RE: Difficulty enabling location services for Editorial in iOS 8.4
I can also confirm this behavior, iPod Touch, iOS8.4, with Bluetooth GPS unit. With Pythonista it works OK, but not in Editorial.
-
Setting button size using frame as parameter has no effect
I have a scrollview to which I add textfields and a button dynamically. For the button I use the following code:
insert_button = ui.Button(frame = (x, y, 120, 40), name = 'insertrecord', title = 'Add record')
Running the code, the button has the wrong size. Changing the width and height values of the frame has no effect, even if I change them into unrealistic values like 600, 200.
However, when I change my code into:
insert_button = ui.Button(name = 'insertrecord', title = 'Add record')
insert_button.frame = (x, y, 120, 40)then everything works fine.
Is this a bug or do I miss something?
Peter
-
RE: Setting button size using frame as parameter has no effect
Ok, that's clear. Are there more widgets to which this apply? As they all inherits from ui.View I thought that I could use frame the way I did first.
Peter
-
RE: How to set focus to textfield (2)
Thanks JonB, your solution did the trick. It didn't come to my mind to call it on the TextField object, because I was convinced that it should be called from the delegate. Kind of tunnel vision…..
Thanks again. -
How to set focus to textfield (2)
How to set focus to a textfield was subject of an earlier forum discussion. The solution that was given is to call
textfield.begin_editing()
(as present in the delegate). This method is not implemented in the current version of Pythonista. Instead there aretextfield_did_begin_editing
andtextfield_should_begin_editing
. I used both methods to give focus to a textfield, without result. So, is it still possible to give focus to a textfield? If yes, what do I wrong? -
RE: Difference between section and row TableView
OK, thanks, this makes things more clear to me. Yes, I've created a custom data source with the necessary methods, however
tableview_number_of_sections
does not return 1 and that's what I need. -
Difference between section and row TableView
I'm trying to understand the difference between a section and a row in a TableView. When a create a datasource with e.g. 3 items and query the tableview_number_of_sections the answer is three. When I query the tableview_number_of_rows, then the answer is one, so one row in each section. My expectation however was: one section, 3 rows. So, can someone explain the difference between section and row and how they can be used within a TableView?
Thanks,
Peter