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.
Latest 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?
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.
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 are
textfield_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?
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?