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
votes
2 answers

Setting the view programmatically

I am trying to set my project without using storyboards in xcode and with objective c. My appDelegate: .h #import #import "ViewController.h" @interface AppDelegate : UIResponder @property (strong,…
Paul
  • 1,277
  • 5
  • 28
  • 56
-1
votes
1 answer

How to add a UIImageView of specific size programmatically in objective-c. I also have a xib file for the same class but i donot want to use it

How to add a UIImageView of specific size programmatically in objective-c. I also have a xib file for the same class but i donot want to use it I have written following code in viewDidLoad method. - (void)viewDidLoad { [super viewDidLoad]; …
-1
votes
1 answer

How to Generate the View pragmatically to display the newly added view is displayed in first and previously added view displayed finally in android.?

I have one Button. If i click the button, the view has added pro grammatically.So the view has created. But I want some solution with some order. Once If i click the button,the view has added accordingly. But i want to display the newly added view…
-1
votes
1 answer

autolayout - figuring out which constraints supersede which

I'm messing around with a really simple app to learn how to use AVFoundation (only been coding at all for about 14 weeks). Included is a screenshot to help visualize my problem - my vertical constraints work just fine, and my horizontal constraints…
-1
votes
1 answer

Creating segue from programmatically created table view

I am new on iOS development, after completed some basic tutorials and beginner level books, i looked the examples of iOS programming. After that i found this. https://github.com/uacaps/PageMenu I downloaded examples, but i have a problem. I am using…
javasch
  • 1
  • 2
-1
votes
3 answers

Adding a few TextViews on RelativeLayout

I'm trying to programmatically add many TextView to a RelativeLayout but I am unable to do that when TextView reach the end of the display right next TextView inflate in a new line. RelativeLayout:
-1
votes
1 answer

NSLayoutConstraints error

I like to layout constraints in code.. but for some reason my latest swift project is throwing errors my way.. my constraint code is this. let views = ["optionsView":optionsView, "cameraView":cameraView, "imageView":imageView] …
DanMoore
  • 621
  • 1
  • 8
  • 14
-2
votes
1 answer

Make textbox multiline programmatically

I am creating my textbox within the runtime like this: TextBox control = new TextBox(); control.Name = "txt" + "somename"; I searached on the internet and found that there should be a Multiline-Property in Textbox, but sadly…
Joo
  • 41
  • 5
-2
votes
2 answers

Why does browser ignore margins on programmed elements?

I would like to set up an HTML page programmatically using JavaScript but I am running into a styling issue with margins. Here's a minimal example: window.onload = function() { var div0 = document.getElementById('box2'); div0.style.border…
Graham
  • 107
  • 2
  • 8
-2
votes
2 answers

I cannot get UITableViewController to display any data

I've been at this for almost two days. I cannot get it to display anything. I am going to go step by step because I have no idea what the problem is. I start with an empty Main.storyboard. I drag a Table View Controller to the Main.storyboard. I…
-2
votes
4 answers

android programatically add customized button to a layout

I want to programatically add buttons in android, the xml file for the button would…
Boldijar Paul
  • 5,405
  • 9
  • 46
  • 94
-3
votes
1 answer

Programmatically Extracting Sprites

I'd like to recreate one of my favorite NES (Nintendo Entertainment System) games using Pygame. Is there a way that I can programmatically extract sprites from say an NES emulator that I can then use in my project as bitmaps? This is a lesser known…
terratunaz
  • 614
  • 3
  • 9
  • 19
-3
votes
3 answers

Can't hide programmatically created UIButton?

LoginController attempts a simple login try - if its successful, it calls setEmail in leftcontroller. All I need to do when setEmail gets called is to hide the btnLogin and show the buttonUser and nothing I try is working. The NSLogs get called and…
lsiunsuex
  • 480
  • 6
  • 18
-4
votes
2 answers

Android Layout programmatically

layout\layout_main.xml
Amit Yadav
  • 32,664
  • 6
  • 42
  • 57
1 2 3
29
30