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
0
votes
1 answer

How to: wpf datagrid totally programmatical, including binding to observablecollection

I have to perform the entire thing in code, and am at loss after spending two says in StackOverflow and dear uncle google. I have a class TestData:InotifyPropertyChanged which includes a string "Name", another string "Specifics" and an bool array…
0
votes
1 answer

Stored Procedures and asp.net programmability; variable or SQL

Trying to display a users Lastname, Firstname --- Website And I need to insert a comma and space after Lastname to a GridView. I am trying to add a CASE statement in SQL and having trouble figuring it out. Perhaps I need to use @parameter (scalar…
0
votes
1 answer

Setting popover segue programmatically using identifier from storyboard

I have a slightly unique situation concerning popovers. I just finished adding a third navigation item (UIBarButtonItem), which I had to create programmatically, since the storyboard will only allow for two navigation items. This new button…
0
votes
2 answers

Change device name programmatically in android

I need to change my phone device name not the bluetooth name. I need to change the one which we get by doing this, android.os.Build.MODEL; Current Output: H30-U10
Ali Farhan
  • 11
  • 1
  • 4
0
votes
3 answers

programmatically Design a View in objective - C

My project is design a View with numerous label, image, textField without storyboard or Nib. Do I need manually alloc and add every single thing to the view? I think this is very overkill but I have no idea how to do it any other way.…
Jzoker
  • 1
  • 2
0
votes
1 answer

programmatically generate different static UITableviews

I've just joined StackOverflow and i'm struggling with a programming requirement with a iPhone app I'm developing in swift. I have a tableview list of different calculators and i would like to segue to another UITableView when a item is clicked to…
Ultronn
  • 532
  • 1
  • 5
  • 19
0
votes
1 answer

Center of text doesn't work in table after click

I can't understand what I'm doing wrong with my table which is made programmatically. My button is responsible for showing result in my cell. It works fine (correctly centered) the first time I click it. But when I click it again, the result moves…
0
votes
2 answers

My button not appears to correct position when viewController is refreshed

I am creating a simple UIButton programmatically with this frame size UIButton *pickmeButton = [[UIButton alloc] initWithFrame:CGRectMake(0, self.view.bounds.size.height - 100, self.view.bounds.size.width, 60)]; it display at perfect place where i…
MQ.
  • 365
  • 6
  • 28
0
votes
0 answers

How can I generate an SVG version of an Android layout?

I want to generate the SVG image of Layout. Is there any way to generate it in android pragmatically? If yes then how?
NighterZ
  • 57
  • 10
0
votes
1 answer

Android: How to change the background of another activity programmatically?

I am trying to change the background of another activity by passing in the photo they select from their phones photo gallery to the layout. However I keep getting an error of : Caused by: java.lang.NullPointerException at…
mr nooby noob
  • 1,860
  • 5
  • 33
  • 56
0
votes
1 answer

iOS Google maps dynamically update/remove programmatically created markers

I am stuck with some lack of xcode / iOS programming knowledge. I have created a track in google maps for iOS, and programmatically created markers along this track. What I would like to do is update these markers with actual information in the…
martin010
  • 407
  • 1
  • 5
  • 14
0
votes
1 answer

adding MapBox programmatically

I'm attempting to add a map programmatically, as a fragment. Unfortunately, I haven't had much success. I am also attempting to add markers from a GeoJSTON file, which is stored locally. The following is my main activity: public class MainActivity…
nunop
  • 2,036
  • 2
  • 20
  • 36
0
votes
0 answers

Android : setText on TextView which programmatically generated

so I want to have a X number of TextView which is programmatically created and added to its parrent layout, and set each textView with different text depends on its id. I already manage to created and added X number of TextView into its parrent…
0
votes
1 answer

Dojo programmatic Button shorter than declarative Button?

I'm running with Dojo1.9.1 and noticed that on a page where I have fixed Buttons alongside programmatically generated Buttons, the programmatic Buttons are shorter. I've reproduced the issue here on jsfiddle …
okorng
  • 149
  • 1
  • 18
0
votes
2 answers

Exclude from recent apps list for Android 4.4.2 only

I would like to exclude my app from the recent apps list (long press home, multitasking button, etc) BUT only for Android 4.4.1 and 4.4.2. The reason being is that on these Android versions, services can't restart themselves and my service is killed…