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

PRESTASHOP 1.6 Add a category to a product programmatically

In my module clients can add products to the shop, it will pass by a separate database. When an admin check the products and validate one, i change the information to a prestashop product. So i have this code : $object = new…
1
vote
1 answer

How to create Rails project programmatically?

I'm using Rails 4.0.0. I am aware of the commands rails new ... used to create a Rails project via terminal. Are there methods to do this programmatically? I want to avoid having code invoke a pop-up terminal as not all users may have…
ma77c
  • 1,052
  • 14
  • 31
1
vote
1 answer

iOS: Getting height of views with programatically added constraints as only indicator

Hello there fellow iOS programmers. While creating an app I've ran into a problem I can't seem to find an answer to. Let's lay it out: I'm creating a UIViewController with a UIScrollView as it's only child. Inside this view I have a UIView, and…
Jacob R
  • 1,243
  • 1
  • 16
  • 23
1
vote
3 answers

How to access programmatically created timer controls?

In a WinForms (C#) application I have several custom controls created at run-time. These custom controls are called JobTimers and inherit/extend the standard control Timer. public class JobTimer : System.Windows.Forms.Timer { private int…
prgSRR
  • 169
  • 4
  • 11
1
vote
1 answer

Three textviews (side by side) below one textview(centrally positioned)- Android

This is my first question so pardon any convention I might have unknowingly overlooked. Now, I want to create a long table in which each element has centrally positioned textview and below it, three textviews side-by-side. I have tried TableLayout,…
braincrash
  • 57
  • 1
  • 3
1
vote
1 answer
1
vote
2 answers

Changing built in account to Local System programmatically in sql server

I want to programmatically change built in account to local system of SQL Server 2008 R2. It will be executed in stored procedure. I couldn't find any information.
1
vote
4 answers

Programmatically change a Frame position

I've created programmatically a View, an UIImageView and a Button. The problem is that i need to update their position if the device switches from Portrait to Landscape, how can I do it? This should be the code that checks if the Device is in…
LS_
  • 6,763
  • 9
  • 52
  • 88
1
vote
1 answer

translatesAutoresizingMaskIntoConstraints doesn't work

I create a UIButton programmatically and add it to a view like this : self.button = [[UIButton alloc] initWithFrame:CGRectMake(20, 20, 100, 30)]; [self.button setTitle:@"Test"…
namanhams
  • 546
  • 3
  • 10
1
vote
1 answer

Making a Logback Audit Logger Wrapper

I'm working on writing a class that works as a wrapper for a Logback Logger. Specifically it is to facilitate Audit logging. It should be an independent library that people should be able to import and use. The problem I've having has to do with the…
1
vote
3 answers

Create view programmatically with style

i have a problem with my application. Basically what it does, is when i click a button, it creates 3 fields (2 editText and 1 spinner) on a scrollView. The thing works well, the only problem that im having, is related with the style, the activity…
1
vote
2 answers

Detecting which button pressed

I want to be able to detect which button is pressed. I wonder if there is some UIButton class method which can will be called automatically when a button is pressed, which allows me to find out the text or tag of the button pressed and pass that on…
1
vote
2 answers

How to Add Dynamic row view in Scrollview in android?

I want to dynamic add row in linear layout but i create xml and i run the application crash . my xml and sourcecode below. My Xml Code::
crickpatel0024
  • 1,999
  • 6
  • 30
  • 47
1
vote
2 answers

How to make a custom UIButton with a unique image and selector for each from an array?

I have several UIButtons created from an NSMutableArray. I'm trying to customize each UIButton with a unique image. On the following line I'm not sure of the syntax to use to set an image for each button from the image array respectively: [btn…
hanumanDev
  • 6,592
  • 11
  • 82
  • 146
1
vote
4 answers

Is it possible to add done button inside the keyboard in iphone?

Currently i am working in iPhone application, Using UITextField to enter phone number, user enter the phone number, then how to hide the keyboard? because no return button here, Is it possible to add done button inside the keyboard, please help…
SampathKumar
  • 2,525
  • 8
  • 47
  • 82