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 put an image in a progress bar programmatically (WPF)

I'm completely new to WPF and I need some help putting an image in my progress bar (programmatically). I found this (and it works):
soulblazer
  • 1,178
  • 7
  • 20
  • 30
0
votes
1 answer

How to update the textview dynamically created textview in childlayout?

LinearLayout lay1 = (LinearLayout) findViewById(R.id.lay1); for(int i=0;i
0
votes
1 answer

Programmatically Position excel ListBox

I need to dynamically create and delete 1 - N number of listboxes on a worksheet. Because the page will be changing I can't know in advance where to place the control so a statement like ... Left:=10, Top:=10, Width:=106.8, Height:=154.6 won't…
willlow1044
  • 111
  • 2
  • 12
0
votes
1 answer

Load an existing field in a custom module

In drupal 8 (or 7?), is it possible to load programmatically an existing field ? I mean : from the drupal administration, I create a new custom content type with some fields. This fields have an unique machine name. I want create a form from a…
spacecodeur
  • 2,206
  • 7
  • 35
  • 71
0
votes
1 answer

Cretae date picker for day only in Calender view programmatically

I have tried the DatePickerDialog, but there I was given options to select day, month and year. DatePickerDialog dialog= new DatePickerDialog(this, dateSetListener, 2015, 11, 1); dialog.show(); private DatePickerDialog.OnDateSetListener…
OnePunchMan
  • 720
  • 15
  • 33
0
votes
1 answer

How to create module programmatically to show all manufacturer in front end?

As i am new in Magneto i don't know how to create a module but now I start creating module in 1.9 I created hello world and then created a Index controller where i got list of all manufacturer. But how can I show this list in my theme layout like…
Ritesh
  • 81
  • 12
0
votes
1 answer

TFS Opening the Resolve Conflicts window programmatically

I'm using a VS extension that has the option of merging changesets. This extension opens the 'Resolve conflicts' window if conflicts are detect, allowing me to choose 'Merge automatically' (disabled), 'Merge in merge tool', 'Take source, 'Take…
0
votes
1 answer

How do I access a textview or progressbar in relative layout programatically when multiple?

I am creating multiple relative layouts in an activity, programmatically. Each is identical and has a textview as well as a ProgressBar spinner. I want to programmatically change them when needed but not sure how to access the appropriate one. …
0
votes
1 answer

Looking for examples of programmatic generation of geometries in xml3d

There are various examples here in the specification but I could not find an end-to-end example on how to start e.g. with a numerical dataset representing an object surface, construct the meshes on the fly and display in a browser.
0
votes
0 answers

Programmatically added composite component action listener not fired

i would like to add a composite component programmatically and add a action listener for a primefaces commandbutton over a interface attribute. Problem: The listener method will never be executed. My composite component with the delcard listener…
0
votes
0 answers

How to set the width of TableRow on Andorid (programmatically)

i have table with 3 columns. I need set first and third column to fixed size (like 150px). But second column must fill all the remaining space I use this code, but it's not work. TableRow tableRow = new TableRow(this); …
0
votes
1 answer

Changing UITableViewCell's width constraint's constant value for each instance

I am trying to create a chat application where in I have made a custom UITableViewCell using only code. So it is like a bubble with Name, message and time labels inside the bubble in the same order. The name label should be half of the total…
0
votes
1 answer

Autolayout programmatically and UIImageView

I am trying to layout some views in code. At runtime I need to check how many deals we have and then layout the code appropriately. I have a UILabel and a UIImageView. I create the objects as follows: UILabel *numberOfDealsLabel = [UILabel…
0
votes
0 answers

Woocommerce Programmatically Set Price Showing as $0.00 in Cart

So basically what I have done is programmatically changed the price such that if a level 1 customer comes in, it automatically pulls the level 1 price from the custom field put in and then trims the dollar sign. Once this is done it changes the…
0
votes
1 answer

Change width to a IBOutlet (UIImageView)

I was doing some experiments with Xcode an a little question comes to my mind: that is how I could change size of an UIImage created by storyboard. below the code I used: @IBOutlet var label: UILabel! @IBOutlet var img: UIImageView!//x=0, y=0,…
Fabio Cenni
  • 841
  • 3
  • 16
  • 30