Questions tagged [programmatically-created]

Any object in an application created using a computer program rather than created manually using something in the userspace.

General Definition

Any object in an application created using a computer program rather than created manually using something in the userspace.

GUI Elements

In general, elements are declared in inside their accompanying tags in / files or in any other derivatives ( , , , , , and many others).

Programmatically created are those elements that are coded in contexts that need to be compiled to take effect at . They could be created at by a click of a as an example, where they would be coded inside a click listener for that .

438 questions
1
vote
1 answer

get position of spinner that was created programmatically

The user enters a number in an EditText, the app then programmatically creates that many spinners. I am having problems getting the positions of those spinners to save them when the user clicks the "save" button at the bottom of my UI. When I try to…
deerkiller11
  • 165
  • 1
  • 12
1
vote
1 answer

Programmatically added button wont work

So this is what i have. I have created a button and set it to an action but every time i click the button it crashes the program. Why wont my button work? Thanks in advance. UIButton *currentGamesButton = [UIButton…
nfoggia
  • 513
  • 1
  • 8
  • 28
0
votes
2 answers

UIScrollViews and Dynamically Creating Pages

I want to be able to dynamically populate UIScrollView. Like how it is done for row views in UITableView. I have a class that takes in some parameters and creates the respective view when it scrolls. Currently I have 8 views. These 8 views have…
CodeGeek123
  • 4,341
  • 8
  • 50
  • 79
0
votes
1 answer

how to add a tab Bar to a Default view and communicate with other views using navigation controller

It might be simple but not able to find exact solution for this.i am using xcode 4.2. I want to use Tab bar in one of the view in my application. i went through many tutorials all tutorials are related to navigation based application and other view…
crazy2431
  • 801
  • 2
  • 19
  • 36
0
votes
0 answers

Design elements in xml and java the result is not equal

I am trying to transfer an xml design to a design programmatically in java. But the code in java does not create the same result for me as in xml. How can I make it exactly the same? xml:
0
votes
0 answers

picker was blocked due to lack of user activation when programmatically trying to open File Load dialog

I am working on a Firefox Addon that needs to read a text file. However, I am getting the error " picker was blocked due to lack of user activation.", which I understand is because I am doing it programmatically. This is how I set the FileReader in…
ehtio
  • 179
  • 3
  • 11
0
votes
3 answers

how to add textfield and button programmatically?

I have a tableView and I want to apply search facility on tableView. For that I require textField and search Button but I don't know how to create these programmatically. so plz tell me how to create these two tools. thanx.
iPhone
  • 4,092
  • 3
  • 34
  • 58
0
votes
0 answers

input field's phone mask ignored when using jquery virtual keyboard

do phone masks not work for programmatic input, or will it not work with the below code, or am i just not implementing any of it correctly? code below is jquery keyboard beneath input field in a form. works, characters typed with the virtual…
0
votes
0 answers

In Android 10, can we pair two Android devices and perform Bluetooth operations programmatically?

I want to create an application that can perform Bluetooth operations without relying on third-party libraries.  I tried enable/disable, discoverable, and am now expecting that app to pair with other devices and perform file transfers…
0
votes
1 answer

Programmatically creating views for Android layout. On back button all EditText controls get the same value

I have a view that I'm creating multiple child views to create a dynamic form. Some will act like a dropdown and some are EditText controls for data entry. However, when the user enters some data, then goes to the next fragment and hits the back…
btorkelson
  • 89
  • 2
  • 10
0
votes
2 answers

Set state for dynamically generated component in React

I'm reusing a couple of external components to create my custom Combobox in strapi app. Values are received from server so I need to add options dynamically. Currently there is the following code: import React, { useState, useEffect } from…
Evgeny
  • 159
  • 1
  • 10
0
votes
1 answer

Generating ActiveX Command Buttons and assigning code to them externally in VBA

I'm working on a task where it needs to generate ActiveX Command Buttons dynamically and assign certain code to them automatically. Each time I close the Worksheet, the command button needs to be deleted (it is completed), but code for that button…
0
votes
0 answers

Title in button shrinks Swift

I have a button but when I add it to my view the text shrinks... I have no idea what is going on I think I've tried everything. Please help! Thanks!! This is how I'm creating my button private lazy var nextLessonButton: UIButton = { let button…
0
votes
2 answers

Perform Segue is not working when i am using programmatic UI

I am creating an app for my personal project using programmaticUI and storyboard for the UI part, but i found an issue when i tried to performSegue from my "SecondViewController" to my "ThirdViewController" , i added the "identifier" in my segue…
0
votes
1 answer

macOS statusBarApp without Storyboard create and close settingsWindow causing EXC_BAD_ACCESS

I have a MacOS cocoa statusBarApp without any Storyboard with main.swift file. The statusBarIcon shows up a Menu which presents a custom view with a button, which should open a settingsWindow - which it does. If I close the settingsWindow and reopen…